Hi,
I have a basic network with Shorewall 4.08. It has one public interface, one
corp, one dmz and one tun+ for OpenVPN.
I masq the corp and dmz interfaces for internet access. The VPN users have
access to the internal machines but now I need to give them a full tunnel so
all traffic goes out through the VPN connection.
I setup the redirect-gateway option in OpenVPN and I see the client gets the
new routes/gateway. The problem is the VPN clients cant access the internet.
I suspect I just need to masq the tun+ interface but I want to make sure.
Here is the interface file
#ZONE INTERFACE BROADCAST OPTIONS
net eth0 detect routefilter,tcpflags,logmartians,nosmurfs
corp eth1 detect tcpflags,nosmurfs
dmz eth2 detect tcpflags,nosmurfs
road tun+
Here is the tunnels file
openvpnserver:tcp:1194 net 0.0.0.0/0
And the masq file
#INTERFACE SOURCE ADDRESS
PROTO PORT(S) IPSEC MARK
eth0 eth1
eth0 eth2
Should I change the masq file to
#INTERFACE SOURCE ADDRESS
PROTO PORT(S) IPSEC MARK
eth0 eth1
eth0 eth2
eth0 tun+
Thanks,
Pete
-------------------------------------------------------------------------
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