Hello,
I have setup a few OpenVPN servers before and now I am having an issue with a new one. Using the latest OpenVPN in the Centos repos.
I have 1. disabled iptables on the server
2. Push def gateway and dns to client
Client can connect to vpn, can ping server, cannot ping anything else, nor by IP nor URL.
In the past when I have seen this, it was iptables, but I have it stopped for testing so I am not sure.
Can anyone suggest where to look? Below are client and server confs...
Server:
local xxx.xx.xx.xx #External IP
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
mute 20
Client config:
client
dev tun
proto udp
remote 192.71.245.65 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert admin.crt
key admin.key
comp-lzo
verb 3
mute 20