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 :scratch: but not what I was looking for... :cry:
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 :cry: :study: |
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 J_K9 P.S Welcom to LQ!! ;) |
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??? |
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 |
All times are GMT -5. The time now is 01:46 AM. |