Visit Jeremy's Blog.
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 07-15-2005, 01:27 PM   #1
LQ Newbie
Registered: Jul 2005
Posts: 15

Rep: Reputation: 0
unblocking a port

I have a dedicated server with Fedora Core 3, Im getting no help from my server provider nor anyone around me, I have do a search on google and found little help but not what I was looking for...

I want to unblock a port 12220 on my server, Im having problems on just getting this question answered "how do i unblock a port" firewall is the default one in fedora core 3, i just want to know how to unblock a port, I dont want anyone to do it for me just to give me instructions because i want to learn
Old 07-15-2005, 01:41 PM   #2
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
You need to edit the file /etc/sysconfig/iptables-config. This is your iptables firewall configuration file, off which /etc/init.d/iptables reads from. Do "less /etc/sysconfig/iptables-config" in the terminal to read through it, and once you've found out what you need to edit (I would tell youexactly what, but my laptop currently has no battery as the charger is broken), then do the following:
$ su
# vi /etc/sysconfig/iptables-config
OR, if you prefer to do it via the GUI:
# gedit /etc/sysconfig/iptables-config
You can view the LQ Wiki for Iptables in Fedora here.


P.S Welcom to LQ!!
Old 07-15-2005, 04:30 PM   #3
LQ Newbie
Registered: Jul 2005
Posts: 15

Original Poster
Rep: Reputation: 0
J_K9 ty, to unblock a port i am just enter these commands?

/sbin/iptables -
-p tcp --destination-port 12200:12200
-j ACCEPT/sbin/iptables
-p udp --destination-port 12200:12200

like this???
Old 07-15-2005, 06:53 PM   #4
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30 tell you the truth, I'm not actually sure. Could you please post everything returned from the command "less /etc/sysconfig/iptables-config" in terminal? From there I may be able to help you, because I'm not sure if that long command you posted would work...



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
PLESK [Solution] Change port to 23 (telnet) instead of default port 8443 x5452 Linux - Software 6 05-10-2009 06:58 AM
Using serial port card(PCMCIA) with IPAQ running Linux, can't find ttyS0 port d2army Linux - Laptop and Netbook 0 11-12-2005 09:07 PM
Proxy server flodded by requests on port 53 & port 25 saurabh_sahni Linux - Security 5 04-26-2005 11:35 PM
Unblocking users in Kopete mikeyt_333 Linux - Software 6 09-09-2004 11:09 AM
--destination-ports port[,port[,port...]] KevinGuy Linux - Networking 1 03-16-2004 07:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:07 AM.

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
Open Source Consulting | Domain Registration