Firewall Question

Thilo Six T.Six at gmx.de
Tue Sep 19 17:39:39 UTC 2006


Tod Merley wrote the following on 19.09.2006 10:46:

<snip>

> Hi Mark Johanson!
> 
> Short answer: I believe so.
> 
> Long answer: man iptables
> 
> Enjoy!
> 
> Tod

maybe, maybe there is an other approach...

lets have a look at /etc/iftab.
There you can define the networkinterface names.
You should have there two line, one for you wired nic and one for your
wlan nic.

When editing this file to use the same interface name for both
> NIC's - Wireless at Home
>         Wired at Work

which implicit that you do _NOT_ use them at the same time you maybe
could use one for both e.g. eth0.

in this case /etc/network/interfaces also needs to be modified.

After that set up your firewall for that interface.

*Before doing that* make a backup of /etc/iftab and
/etc/network/interfaces!!!!

...and try if it works.
I haven´t tried it myself since i only have only one interface.

Let me know if you had success with that.

bye Thilo
-- 
i am on Ubuntu 2.6 KDE
- some friend of mine

gpg key: Ox4A411E09





More information about the ubuntu-users mailing list