Hello, I am running shorewall 1.2.8 with a 2.4.21 kernel. I only have 2 computers, a winxp client and a mandrake server/firewall/gateway with a ADSL connection. My shorewall configuration works fine except in one case : I would like to access the internet even if my client is off. I am using the masquerading founctionality : interface subnet ppp0 eth0 with eth0 my local network interface. When starting shorewall i get this : Masquraded subnets and hosts: error: unable to determine the routes through interface eth0 I have also read in the doc that : "In the latter instance, the interface must be configured and started before Shorewall is started as Shorewall will determine the subnet based on information obtained from the ''ip'' utility." So my problem is that when my client is off, my eth0 interface is down, indeed.... It is very annoying.... Is there a turnaround or something i missed to enable my server to connect to the internet with shorewall active (without using routestopped) ???? Thanks DD
Tom Eastep
2003-May-23 12:06 UTC
[Shorewall-users] Masquerading an interface which is down
On Fri, 23 May 2003, c_inconnu wrote:> with eth0 my local network interface. When starting shorewall i get this : > Masquraded subnets and hosts: > error: unable to determine the routes through interface eth0 >Change your /etc/shorewall/masq file entry from: ppp0 eth0 to ppp0 <your local network> For example, if your local network is 192.168.1.0/24, put this in /etc/shorewall/masq: ppp0 192.168.1.0/24 If you have ''detect'' in the third column of the entry for eth0 in /etc/shorewall/interfaces, you''ll want to change that to the actual broadcast address of your local network. -Tom -- Tom Eastep \ Shorewall - iptables made easy Shoreline, \ http://www.shorewall.net Washington USA \ teastep@shorewall.net