Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-21-2002, 08:20 PM   #1
LQ Newbie
Registered: Apr 2002
Posts: 1

Rep: Reputation: 0
Unhappy How do I open ports?

I am totally, completely and utterly clueless when it comes to Linux. I can turn on the computer. I just want that stated before I start off.

Currently, my husband and I have a Linux box/firewall set up. A friend who is not completely clueless set it up for us. Unfortunately, my husband likes to play online games and multiplayer games online. He can't because of the firewall. (Our friend had personal/family issues and is indefinitely unavailable).

My question: How do I open the ports that his game "read me" file tells us need to be open to play the game(s) multiplayer online? We are running Mandrake Linux, but I unfortunately don't know which version, only that is a version 7 or 8. It has something called "tiny firewall" but that was useless because it only asked questions and it didn't fix the problem.

Please, if anyone has the patience to explain this to me (the way you would explain it to a three-year-old would be most helpful), then it will be greatly appreciated! I'm very good at following exact step by step directions (I'm actually not computer illiterate, just Linux challenged)

Thanks in advance!
Old 04-22-2002, 08:28 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Are you playing the games on the linux/firewall computer. I assume not. If not then you will need to do more then just open the ports. You will have to forward the ports to computer which you are playing the games on.
You might want to find out what you are running. Because it can make a difference on the way you forward the ports. I assume he probably set up a simple firewall script using either ipchains or iptables. If it's a 2.4 kernel then most likely iptables and a 2.2 kernel most likey ipchains. The command 'uname -r' should tell you which kernel you are running.
It's normal for distributions to create a version file in the /etc directory which should at least tell you which version of Mandrake you have installed.
Well after you find out whether you are using iptables or ipchains then you can start making rules to forward the ports. The ip-masquerading howto explains this very nicely. In particular the following section:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 03:03 AM
open ports on linksys, i have ssh open but thats it PlatinumRik Linux - Security 1 07-07-2005 11:38 AM
Open ports! WWMPCDD Linux - Networking 6 10-28-2004 10:29 PM
How to open ports? kaboom Linux - Networking 1 01-05-2004 06:23 PM
open ports nakkaya Linux - General 2 02-05-2003 04:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration