Your Ad Here Your Ad Here
Results 1 to 2 of 2

Thread: IPtables help

  1. #1
    Colt Seevers's Avatar P()()p!3 $CR/-\P3R$ BT Rep: +3
    Join Date
    Oct 2002
    Location
    Glasgow
    Posts
    1,764

    Unsure

    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:

    Code:
    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 207.38.8.27 -j ACCEPT
    iptables -A bf2server -m udp -p udp --sport 29910 -s 207.38.8.28 -j ACCEPT
    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...

    So whats worrying me is why is it when I type "service iptables status" its giving me a report like this:

    Code:
    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  --  207.38.8.27          0.0.0.0/0           udp spt:29910
    ACCEPT     udp  --  207.38.8.28          0.0.0.0/0           udp spt:29910
    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!!

    Cheers!

  2. Software & Hardware   -   #2
    Colt Seevers's Avatar P()()p!3 $CR/-\P3R$ BT Rep: +3
    Join Date
    Oct 2002
    Location
    Glasgow
    Posts
    1,764
    Incase anyone else has a similar problem, followed advice in this thread: http://forums.srcds.com/viewtopic/1054 seemed to fix it.

    Iptables is secure, but it's still crazy stuff though

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •