> 1) What should i do for setting up 2 LAN IP adress on a singe
> network card ?
> (192.168.0.254 & 192.168.13.254) and defining those 2 zones in
> whorewall ??

I think you need something like
auto <yourdevice>
iface <yourdevice> inet static
        address 192.168.0.254
        masklen 24
        up ip addr add 192.168.13.254/24 dev <yourdevice> label <yourlabel, e.g.
eth0:2>

Here's what I use for an external setup that is a little bit special:
it uses 1.2.3.4 as official external address, but the link to the Internet
goes out the same interface using 10.0.1.2 to gateway 10.0.1.1

auto eth0
iface eth0 inet static
        address 1.2.3.4
        masklen 32
        gateway 10.0.1.1
        up ip addr add 10.0.1.2/24 dev eth0 scope link label eth0:isp
        up ip route replace default via 10.0.1.1 dev eth0 src 1.2.3.4

As for adding that to whorewall, I don't know, I'm using fwbuilder ;-)

> 2) Where should i put script wich are started after boot is complete ?
I'd put it in /etc/init.d and then back up the etc.lrp package
put this line near the top of your script
RCDLINKS="2,S99 3,S99 4,S99 5,S99"

> 3) I'm looking for any hint for setting up dial on demand IPsec freeswan
>  connexion ?

No idea, but what for? You could open the freeswan connection statically
whenever your internet connection is open, e.g. by putting a start script in
/etc/ppp/ip-up.d

Regards
Alex



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to