LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-02-2004, 07:20 PM   #1
psa
Member
 
Registered: Aug 2004
Posts: 83

Rep: Reputation: 15
firewall within fedora core 2


ok.. when i installed fedora core 2, i selected the firewall enabled, now i wanta add ports to the allowed thingie, how i do that? or how i disable or remove the firewall it self//
 
Old 09-02-2004, 07:34 PM   #2
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
iptables -F with flush the firewall rules.
or on Redhat products look for something like
redhat-config-security or firewall I cant remember which.

iptables -L lists the filter rules
iptables -t nat -L lists the NAT table
iptables -t mangle -L for the mangle table. (prob never use those)
 
Old 09-02-2004, 08:05 PM   #3
psa
Member
 
Registered: Aug 2004
Posts: 83

Original Poster
Rep: Reputation: 15
it said no commands found.
 
Old 09-03-2004, 10:13 AM   #4
mpdavig
Member
 
Registered: May 2004
Location: Boston, MA
Distribution: Fedora
Posts: 30

Rep: Reputation: 19
By default iptables is in /sbin not /bin which is not in your path by default.

I would recommend adding the line:
PATH="/sbin:/usr/sbin:$PATH"
to ~/.bashrc

/sbin/iptables -L lists the filter rules
/sbin/iptables -t nat -L lists the NAT table
/sbin/iptables -t mangle -L for the mangle table. (prob never use those)

If you want to shutoff iptables just run:
/sbin/service iptables stop

If you want to shutoff iptables from starting at boot up run:
/sbin/chkconfig iptables off
 
  


Reply



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
Help on IPTABLES on Fedora Core 4 Firewall jun_tuko Linux - Security 3 10-20-2005 02:43 PM
Firewall / Fedora Core xXNecrosXx Linux - Security 3 08-29-2005 09:52 PM
LimeWire and fedora core 4s firewall whishkah Fedora 1 06-30-2005 07:12 AM
Fedora Core 3 Firewall treebug Linux - Security 2 03-22-2005 10:43 PM
Setup firewall Fedora Core 2 satimis Linux - Security 2 07-30-2004 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12: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
Open Source Consulting | Domain Registration