Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Networking
Reload this Page Total Linux Newb + Port Forwarding on IPTables
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Networking Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Reply
 
Thread Tools Display Modes
Old 1 Week Ago   #1 (permalink)
Promythyus
Just Joined!
 
Join Date: May 2008
Posts: 2
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,
Promythyus is offline   Reply With Quote
Old 1 Week Ago   #2 (permalink)
athlon_crazy
Linux Newbie
 
athlon_crazy's Avatar
 
Join Date: Sep 2007
Location: Malaysia
Posts: 119
iptables -A INPUT -p tcp --dport 18537 -j ACCEPT
iptables -A INPUT -p tcp --dport 3690 -j ACCEPT
__________________
www.no-x.org
athlon_crazy is offline   Reply With Quote
Old 1 Week Ago   #3 (permalink)
Promythyus
Just Joined!
 
Join Date: May 2008
Posts: 2
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,
Promythyus is offline   Reply With Quote
Old 2 Days Ago   #4 (permalink)
framp
Linux Newbie
 
framp's Avatar
 
Join Date: Jul 2006
Posts: 217
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
framp is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 04:09 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0