Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I reset iptables?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Fri May 31, 2002 7:36 pm    Post subject: How do I reset iptables? Reply with quote

What I mean is, if I have a script loaded for iptables I do I stop the script or reset iptables?
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Fri May 31, 2002 11:02 pm    Post subject: Re: How do I reset iptables? Reply with quote

FINITE wrote:
What I mean is, if I have a script loaded for iptables I do I stop the script or reset iptables?


Code:
IPTABLES -F


man iptables for more information.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Fri May 31, 2002 11:08 pm    Post subject: Reply with quote

I do that but when I run iptables -L it still shows "things" happening and after runnign iptables -F I cannot browse the net at all accept for pages stored in cache. Any ideas? I will read the man page too.
Back to top
View user's profile Send private message
mb
Guru
Guru


Joined: 25 Apr 2002
Posts: 355
Location: Hessen | .de

PostPosted: Sun Jun 02, 2002 2:15 pm    Post subject: Reply with quote

do you mean:

Code:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
....



these are the default chains (INPUT,OUTPUT,FORWARD) and policy settings.... some NAT stuff can only flushed if you call

Code:

iptables -t nat -F POSTROUTING


#mb
Back to top
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Mon Jun 03, 2002 2:04 am    Post subject: Reply with quote

Hey thanks. That is exactly what I am talking about. Will try when I get home.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum