View previous topic :: View next topic |
Author |
Message |
sebastian_bergmann Retired Dev
Joined: 29 Aug 2004 Posts: 22 Location: Siegburg, Germany
|
Posted: Tue Oct 19, 2004 5:57 pm Post subject: Recommendation for iptables setup for a laptop |
|
|
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 |
|
|
sebastian_bergmann Retired Dev
Joined: 29 Aug 2004 Posts: 22 Location: Siegburg, Germany
|
Posted: Tue Oct 19, 2004 7:09 pm Post subject: Re: Recommendation for iptables setup for a laptop |
|
|
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 |
|
|
|
|
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
|
|