Hello.
I have a little problem getting Shorewall to start at boot. It gives the following error in shorewall-init.log:
Code:
23:29:41 Setting up Masquerading/SNAT...
ERROR: Unable to determine the routes through interface "eth0"
23:29:41 IP Forwarding Enabled
Terminated
My /etc/shorewall/masq looks like this:
Code:
###############################################################################
#INTERFACE SOURCE ADDRESS PROTO PORT(S) IPSEC MARK
wlan0 eth0
#LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE
(the interfaces are correct, internet from wireless -> wired network)
I have read that the error message says the interface is not brought up, but it should be. I do it manually in rc.local:
Code:
#!/bin/sh -e
#
# rc.local
#
ifup eth0
/etc/init.d/dhcp3-server restart
/etc/init.d/nfs-user-server start
/usr/sbin/hostapd /etc/hostapd/hostapd.conf
/sbin/shorewall start
exit 0
Does anyone have an idea about what's going on?
Distro: Xubuntu 8.10
Shorewall version 4.0.12-1