LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-15-2005, 12:27 PM   #1
Solvaut
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, 12:41 PM   #2
J_K9
Member
 
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:
Code:
$ su
Password:
# 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.

J_K9

P.S Welcom to LQ!!
 
Old 07-15-2005, 03:30 PM   #3
Solvaut
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 -
I INPUT
-p tcp --destination-port 12200:12200
-j ACCEPT/sbin/iptables
-I INPUT
-p udp --destination-port 12200:12200
-j ACCEPT

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

Rep: Reputation: 30
Errr...to 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...

J_K9
 
  


Reply


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 05: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 08:07 PM
Proxy server flodded by requests on port 53 & port 25 saurabh_sahni Linux - Security 5 04-26-2005 10:35 PM
Unblocking users in Kopete mikeyt_333 Linux - Software 6 09-09-2004 10:09 AM
--destination-ports port[,port[,port...]] KevinGuy Linux - Networking 1 03-16-2004 06:06 PM


All times are GMT -5. The time now is 09:05 AM.

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