LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   iptables settings (https://www.linuxquestions.org/questions/linux-software-2/iptables-settings-121707/)

Punker51 12-01-2003 03:13 PM

iptables settings
 
Hi

Im just installed mandrake 9 on my machine
Im a complete newbie

Everything works fine except for one thing.
I cant access the web nor ping anything even when im connected (with adsl-start)

I found that when i shutdown the service iptables, it works. I can surf on the net.

So my question is

how to set iptables to access the internet from the inside.

i tried thoise commands

iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT

it didnt change anything....
can anyone help me, please ?

thanx

Tinkster 12-01-2003 03:19 PM

I'd suggest going to http://freshmeat.net

Search for iptables and script

Download a few, and see how they work.

Or use something like Easy Firewall Generator .

You define your rules online interactively
and download a complete script :)



Cheers,
Tink

Punker51 12-01-2003 09:52 PM

thx for the info
it worked fine for me


All times are GMT -5. The time now is 06:18 PM.