i'd like to start saying i'm not a linux network/firewall expert.
i use linux since 1 year ago.
i really need somebody to help me out with this.
it's turning me nuts.
i bought a soekris net4801 to make a firewall out of it.
my internet connection is an ADSL from KPN (netherlands).
i have 2 routers.
these 2 pieces of crap have an internal firewall.
after 2 days working on it, i was able to make both dhcp-spoof
now, it's not that i couldn't try on other machines, since i have 2 win
pc's, 2 linux boxes, 2 macs (os 10.3).
the only thing not working is the net4801 and m0n0wall
u're sure wondering what the issue is.
here i come.
when i have dhcp-spoof active, all the computers get everything from
the dhcp, except m0n0wall.
same when i use sip-spoof.
now, how can this be?
here's my configuration
thomson speedtouch with sip-spoof
eth ip address 10.0.0.138
external static ip 213.84.18.xxx
ISP dns1 184.108.40.206
ISP dns2 220.127.116.11
ISP gateway 18.104.22.168
everything works on computers if i set
the static ip to the external one
the subnet to 255.255.255.255
the gateway to 10.0.0.138
the DNS's to the ISP ones
that works seamlessly on Mac,PC
with the only need of this on Linux
route add 10.0.0.138 dev eth0
route add default gw 10.0.0.138
but no way to make it work on the m0n0wall.
instead if i put my m0n0wall box inside another router that works as a
firewall and gives every client DHCP data, the box gets everything and
but in this case its IP is 10.0.0.x and the same for DNS and gateway
to me it's just a problem of routing and rules.
only i don't know how to make route additions, maybe.
first i need to set the netmask to 32, so i have to make it in the
exec.php page because of the typo in the php that has 31 as the
so, what i type in the exec.php page is
ifconfig sis0 213.84.18.xxx netmask 255.255.255.255 broadcast
route add 10.0.0.138 213.84.18.xxx
route add default 10.0.0.138
anyway, everytime i reboot the machine, these routes get lost. why?
does anybody have any suggestion on how to make this work on my
do i need to set any special RULE for the WAN interface to see the
DNS's and the Gateway?
please, help me out
thanx a lot