<dumb modemon> Why doing it with iptables is pain to manage ? It's darn easy to do.
Take a little filey, write the iptables command and save the filey. Then execute the filey or put it in rc scripts or something. <dumb mode off> Now, seriosly, I know there can be many ways to achieve the same goal, but why is it so difficult to do it with iptables ? Alon. ----- Original Message ----- From: "Oded Arbel" <[EMAIL PROTECTED]> To: "David Harel" <[EMAIL PROTECTED]>; "Linux-IL mailing list" <[EMAIL PROTECTED]> Sent: Friday, September 05, 2003 1:01 AM Subject: Re: wingate equivalent in Linux. > On Thursday 04 September 2003 17:32, David Harel wrote: > > > The way CounterStrike uses a proxy machine require mapping of ports like: > > "New TCP Service, name it "Half-Life Auth Server". Accept connections on > > port 7002. Enable default mapping to half-life.east.won.net on port 7002 > > (or half-life.west.won.net on port 7002)" > > which, on MS windows machines is done using wingate. > > Is there an equivalent tool to setup such mapping on Linux? > > You can do it easily by using xinetd or some other software to listen on the > required ports on your linux machine and redirect them to the windows > machine. while its possible to do this in the firewall (iptables/ipchains) I > wouldn't recommend it as its a pain to manage. > > Another options is to use SOCKS - NEC has a free socks server you can install > on your linux gateway (if you don't have one already, your distro might have > one). from NEC's site you can also download a windows software that will > "socksify" existing application so that while it thinks its opening listening > ports it will actually as the SOCKS proxy to open listening ports for it. > this is actually the "Right Thing(tm)". > http://www.socks.permeo.com/Download/SocksCapDownload/index.asp > > the rest is handled with NAT as usual (you really need to setup NAT if you > haven't already). > -- > Oded > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]