Hi

I have a small box where I want to do masquerading. I'm running Debian
Etch and Shorewall 3.2.6.

I've read and tried to follow
http://www.shorewall.net/Multiple_Zones.html#OneArmed

But it's not working, so I must have done something wrong.

Here's my zones, interfaces, hosts and masq files:

# cat zones
fw    firewall
wan   ipv4
loc:wan ipv4

# cat hosts
loc     eth1:10.168.1.0/24

# cat masq
eth1:!10.168.1.0/24     10.168.1.0/24

# cat interfaces 
wan   eth1 detect       -

I have a public IP address on eth1 and 10.168.1.1 on eth1:0.

After shorewall has started without any errors I don't see any
masquerading rules in the output of 'iptables -L -v -n', which I would
have expected. Why not?

-- 
Jacob


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to