I only know how to do this for a subnet.  I've tried (to no avail) to get
this to work from one net to another but it failed.

iptables -t nat -A PREROUTING -p udp --dport 27015 -i eth0 -j DNAT --to
x.x.x.x:27015

Where x.x.x.x is the IP address of a machine on your subnet.

-O-


From: Marcel Beringer <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: [hlds_linux] IP + port redirect
Date: Fri, 9 Feb 2007 19:13:49 +0100 (CET)


Hi all,

Due to the lack of 64 bit support from Valve I've decided to buy/build a
new server based on 32 bit hardware and a 32 bit OS.

Now I did manage to get the new colo in the same rack as the old server,
but offcourse I cannot share the IP on 2 machines :)

Is there any way to redirect the old IP + port to the new IP + port? I
tried using "redir" but that only forwards TCP and not UDP, and knowing
that HLDS uses TCP and UDP it didn't work...

Hope someone can help me out.

Thanks in advance.

Gr,

Marcel

--
http://www.youtube.com/watch?v=fxafl6-WQwo

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

_________________________________________________________________
Turn searches into helpful donations. Make your search count.
http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_donation&FORM=WLMTAG


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to