Hey linux people!
I'm in the process of setting up a dedicated server, using fedora 4. Basically i'm running into some weird Iptable problems, and wondering in any Linux gurus could help, or point me in the right direction.
Ok heres the deal, setting up a BF2 server, and in order to connect I have to grant permision by setting up these rules in iptables:
That should cover all the bases. Yet I still can't connect to it, i've tried turning iptables off and bada bing! server comes up no probs in the browser. So its defo to do with iptables... but I've double checked and triple checked - those entries are all I could find.. so I doubt its them...
iptables -A bf2server -m udp -p udp -m multiport --dports 29900,29901,29902,29903,29904,16567,55125 -j ACCEPT
iptables -A bf2server -m tcp -p tcp -m multiport --dports 4711 -j ACCEPT
iptables -A bf2server -m udp -p udp --sport 29910 -s 188.8.131.52 -j ACCEPT
iptables -A bf2server -m udp -p udp --sport 29910 -s 184.108.40.206 -j ACCEPT
So whats worrying me is why is it when I type "service iptables status" its giving me a report like this:
Even though I have logged in under my bf2 user account and started the server, surley iptables should recognise this? And so show 1 reference? so I'm guessing it must have something to do with user account permisions or something? If anyone can help, it would much appreciated!!
Chain bf2server (0 references)
target prot opt source destination
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp multiport dports 29900,29901,29902,29903,29904,16567,55125
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp multiport dports 4711
ACCEPT udp -- 220.127.116.11 0.0.0.0/0 udp spt:29910
ACCEPT udp -- 18.104.22.168 0.0.0.0/0 udp spt:29910