Displaying 1 result from an estimated 1 matches for "my_inet_ip".
2004 Jul 16
1
Hosting Starcraft games
...lan4:192.168.4.4:6112 udp 6114
which will map incoming port 6114 to my local PC (ip=192.168.4.4)
using port 6112. However I do not know how to enter the following
command into Shorewall''s tables.
iptables -t nat -I POSTROUTING -p udp -s 192.168.4.4/32 --sport 6112 -j SNAT --to $MY_INET_IP:6114
Of course, $MY_INET_IP is my static ip address. This command
re-maps all output from my local PC on port 6112 to the firewall
port 6114. As I understand it, with this scheme I can have
multiple PC''s hosting Starcraft by using different port numbers.
My question is: How do I enter...