Im trying to setup a game server on my SME7.0 and I read a few post here on the forum, did some searching in the FAQ´s and thoug up of this solution..
The game server I want to run requires both udp and tcp ports 7777 and 7778 to be open, so I do the following.
[root@sandy gtasamp]# iptables -A INPUT -j ACCEPT -p tcp --destination-port 7777 -i eth1
[root@sandy gtasamp]# iptables -A INPUT -j ACCEPT -p tcp --destination-port 7778 -i eth1
[root@sandy gtasamp]# iptables -A INPUT -j ACCEPT -p udp --destination-port 7777 -i eth1
[root@sandy gtasamp]# iptables -A INPUT -j ACCEPT -p udp --destination-port 7778 -i eth1
Then I check to see what ports my server is listning on, and 7777 7778 does not show, what am I doing wrong?
[root@sandy gtasamp]# netstat -ant | grep LISTEN
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:548 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:980 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 10.0.0.10:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.2:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:26 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:4700 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN