Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recommendation for iptables setup for a laptop
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
sebastian_bergmann
Retired Dev
Retired Dev


Joined: 29 Aug 2004
Posts: 22
Location: Siegburg, Germany

PostPosted: Tue Oct 19, 2004 5:57 pm    Post subject: Recommendation for iptables setup for a laptop Reply with quote

I am looking for recommendations on how to setup iptables for a laptop. The laptop has two NICs (ethernet, wlan) both of which may be used to connect to the Internet.
Back to top
View user's profile Send private message
sebastian_bergmann
Retired Dev
Retired Dev


Joined: 29 Aug 2004
Posts: 22
Location: Siegburg, Germany

PostPosted: Tue Oct 19, 2004 7:09 pm    Post subject: Re: Recommendation for iptables setup for a laptop Reply with quote

Quote:
I am looking for recommendations on how to setup iptables for a laptop.


For now I am using the following, comments welcome.

Code:
Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  localhost            anywhere
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh state NEW,ESTABLISHED

Chain FORWARD (policy DROP)
target     prot opt source               destination

Chain OUTPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             localhost
ACCEPT     all  --  anywhere             anywhere            state NEW,RELATED,ESTABLISHED
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