Results 1 to 4 of 4
Hey All,
1st off, I am a TOTAL Linux newbie. I only know really simple things like loging in, using the internet, and opening files, etc. A Linux Idiot. I'm ...
- 05-09-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 3
Total Linux Newb + Port Forwarding on IPTables
Hey All,
1st off, I am a TOTAL Linux newbie. I only know really simple things like loging in, using the internet, and opening files, etc. A Linux Idiot. I'm not too bad on Windows & Mac mind you. Anyway, My Dad has set up a Linux Fedora Core 7 computer as a firewall, using IPTables to allocate IP addresses, etc. but the problem with this, is that certain ports, such as my bit-torrent port, svn port, certain gaming ports, aren't getting through the firewall and to my computer, and he is way to lazy to do it (been waiting about 8 months for him to open them). I have the router/modem configured correctly, i just need to know; How would I open port 18537 and 3690 (and for future reference, how to open any other port of my desire) on the Linux Box with IPTables? I know opening ports isn't exactly a smart thing to do cause it can let in viruses, etc, but I'm responsible enough to realise it's my fault. So, if someone could tell me exactly how to do this, in simple terms, i would be GREATLY, EXTREMELY Thankful.
Thanks Very Much,
- 05-09-2008 #2
iptables -A INPUT -p tcp --dport 18537 -j ACCEPT
iptables -A INPUT -p tcp --dport 3690 -j ACCEPT
- 05-09-2008 #3Just Joined!
- Join Date
- May 2008
- Posts
- 3
Thanks for your Reply. What do i do with this though? Paste it into the iptables file? execute it in the shell/kernal/terminal thing?
Thanks,
- 05-14-2008 #4
Exactly for this purpose I created a small script which opens/closes ports on a linux router because my kids also asked me to open some ports on my linux router for their games.
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." Linus Benedict Torvalds


Reply With Quote
