IPTables question...

  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

Okies, so I'm playing around with one of the Linux boxes, which is running an IPTables based firewall (basically it's a slightly modified KISS My Firewall - which is just an IP Tables shell script)..

I figured I'd try out the UT2K4 Demo server on the system so a few friends could play on it.

I completely flush iptables, and allow everything, get the server working, all is good.

Now, if I want more long-term use of this server, obviously I don't want to have my firewall down permanently. In order to make things well with the world I need to add certain ports access.

This is what I'm supposed to allow...
Code: [ Select ]
# UDP IN/OUT 7777 - UT Server
# UDP IN/OUT 7778 - UT Server (query port)
# UDP IN/OUT 7787 - GameSpy
# UDP IN/OUT 7788 - GameSpy
# UDP OUT 11777 - UT Master Server Game Stats
# TCP/UDP OUT 28902 - UT Master Server
# TCP IN xxxx - UT Web Admin port
  1. # UDP IN/OUT 7777 - UT Server
  2. # UDP IN/OUT 7778 - UT Server (query port)
  3. # UDP IN/OUT 7787 - GameSpy
  4. # UDP IN/OUT 7788 - GameSpy
  5. # UDP OUT 11777 - UT Master Server Game Stats
  6. # TCP/UDP OUT 28902 - UT Master Server
  7. # TCP IN xxxx - UT Web Admin port

But, I'm not entirely sure of the lines for the UDP ports. The TCP ports are no problem, I've got the TCP/28902 and TCP/Web Admin ports all working, but I can't get the UDP working no matter what I try.

Basically, everything's blocked from everywhere unless I specifically allow it.

What would be the iptables parameters to allow incoming & outgoing on those UDP ports? (Assume my IP address is 192.168.0.2 for this).
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

Ok, I managed to get it.. I just had some typo's on the UDP lines (once I'd gotten one, I copied+pasted it to the rest, and so the typo got copied too, lol).

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 70 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.