Hi,
We are using a central OpenVPN server with many site to site tun OpenVPN servers, on the other end, we have RUT950 with .conf file we made, including shared key.
Once VPN is configured, computers behind the RUT950 do not have access to the internet anymore. They can be accessed through our VPN server, but they cannot connect to internet.
If we try to ping google.com for example, it will return google's DNS ( DNS server is RUT950 ) but will not be able to connect.
We have tried to push 0.0.0.0/1 and 128.0.0.0/1 with net_gateway, but it is not working neither.
Server config file are as follows :
cipher AES-256-CBC
local LOCALIP
port LOCALPORT
dev tun
ifconfig X.X.X.1 X.X.X.2
secret XXX.key
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
push "route 192.168.X.0 255.255.255.0"
push "route 192.168.Y.0 255.255.255.0"
push "route 172.Z.Z.0 255.255.255.0"
push "route 172.A.A.0 255.255.255.0"
route LOCALRUTLAN 255.255.255.0
log /var/log/openvpn-YYY.log
verb 3
Client config files are as follows :
cipher AES-256-CBC
remote VPNSRV VPNPORT
dev tun
ifconfig X.X.X.2 X.X.X.1
<secret>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
AAAAAAAAAAAAAAAAAAAAAAAAAA
-----END OpenVPN Static key V1-----
</secret>
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
route 192.168.X.0 255.255.255.0
route 172.Y.Y.0 255.255.255.0
route 192.Z.Z.0 255.255.255.0
route 172.Y.Y.0 255.255.255.0
route 0.0.0.0 128.0.0.0 net_gateway
route 128.0.0.0 128.0.0.0 net_gateway
route 147.135.181.80 255.255.255.255 net_gateway
verb 3