LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-06-2004, 04:09 AM   #1
Davoosie
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
HELP! Major iptables problem.


Ok, here is my dilema. I just installed YellowDog on a Mac I have and everythign went smoothly, except for when it came time to set the security settings. Somehow the X based firewall/security program does not work, later I found out it is due to bad programming.

So this means I have to set up my firewall using iptables, but I know NOTHING about iptables. In a nutshell I want to have no firewall on the linux system since another hardware and software firewall take care of that. Right now the settings are stuck on high and are not allowing ANY TCP or even DHCP traffic to get through my Eth0

How can I disable the firewall all together? or set it so it will allow all traffic through. I'm using DSL, if that makes a difference.

Thanks
 
Old 02-06-2004, 09:28 AM   #2
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Log in as root.
To flush all rules
iptables -F;
Make sure the default policy is ACCEPT;
iptables -P INPUT ACCEPT;
iptables -P OUTPUT ACCEPT;
iptables -P FORWARD ACCEPT;

I am not sure how Yellow Dog startup scripts work. So the following might not work.
To save the changes try running
/etc/init.d/iptables save;
Let me know how it goes.
 
Old 02-06-2004, 11:14 PM   #3
Davoosie
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, but how do I know if the default policy is set to ACCEPT? If its not, how do I chage it?

Thanks
 
Old 02-08-2004, 06:34 PM   #4
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Sorry I did not get back to you soon I have been on the road for the last two days.
You can check the default policies with command
iptables -L;
To change the defualt policy for the INPUT change us the command
iptables -P INPUT ACCEPT;
 
  


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
MAJOR gdesklets problem speedemonV12 SUSE / openSUSE 1 07-28-2005 01:46 AM
Major problem with IPtables abefroman Linux - Security 1 06-30-2005 10:26 PM
major email problem chadi Linux - General 2 12-16-2004 08:07 PM
Please Help Me!! Major Problem!! cbe_7093 Linux - Hardware 1 11-14-2003 03:45 PM
Major Problem! Ghettozn Linux - Newbie 7 07-22-2003 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:39 PM.

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