does anybody know what i have to do when i want to act as a game-server for
an internet session when my
network looks like this:
i'd like to play james bond nightfire (which uses port 26015)
how do i manage port-forwarding with iptables ???
i'm using suse 8.0 with iptables (scroll down)
linux-router
eth1 80.x.x.x/24 (internet)
eth0 10.10.1.254/8 (local)
workstation
10.10.1.1/8
my iptables:
===============================================================
# clear all tables
iptables -F
iptables -t nat -F
iptables -X
# apply my own settings...
iptables -A FORWARD -s 10.10.1.0/24 -j ACCEPT
iptables -A FORWARD -d 10.10.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 139 -i eth0 -j ACCEPT
iptables -A INPUT -p tcp --dport 26015 -j ACCEPT
iptables -A INPUT -p icmp -j ACCEPT
iptables -A INPUT -i eth1 -m state --state ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p tcp -j ACCEPT
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
===============================================================
any problems with my settings - any hints ??? hope so...
nice greetings from Austria (--> no kangaroos there ;)
Florian St.