Humm, vpn1 and vpn2 are just subnets on the "road" zone which is the tun+ adaptor. They are not defined anywhere. Can I create 2 road zones and somehow tie them to the subnets rather than the adaptor?
Thanks, Pete -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Eastep Sent: Friday, June 20, 2008 10:50 AM To: Shorewall Users Subject: Re: [Shorewall-users] OpenVPN redirect-gateway not working Pete wrote: > Thanks! that worked. > > One last question if I may. I have the following subnets: > 10.10.10.0 dmz > 10.10.20.0 corp > 10.10.21.0 vpn1 > 10.10.22.0 vpn2 > > I need a rule that prevents the vpn2 subnet from accessing the other 3 That's not a rule -- that is three policies: vpn2 dmz REJECT info vpn2 corp REJECT info vpn2 vpn1 REJECT info > subnets except the DNS server on 10.10.10.111 and the ability to go out the > gateway to the internet. And that is a policy and a rule: vpn2 net ACCEPT and DNS/ACCEPT vpn2 dmz:10.10.10.111 You might be able to reduce the four policies to two depending on if there are other zones: vpn2 net ACCEPT vpn2 all REJECT info in that order. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [EMAIL PROTECTED] PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
