I can connect to my VPN-Server, but I can't ping/reach anything else

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Pengooin
OpenVpn Newbie
Posts: 1
Joined: Tue Oct 17, 2017 2:40 pm

I can connect to my VPN-Server, but I can't ping/reach anything else

Post by Pengooin » Tue Oct 17, 2017 3:02 pm

Hello, dear community.

I'm running VPN-Server on Ubuntu on a Virtual Machine. I can connect from outside to it, but I cannot ping or reach any other IP-address than the server itself. My guess is that the server doesn't route properly.

Serverconfig

dev tun
proto txp
port 443
status /var/log/openvpn-status.log
log /var/log/openvpn.log
verb 3
persist-tun
persist-key
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh4096.pem
#tls-auth /etc/openvpn/easy-rsa/keys/tlsauth.key 1
cipher AES-256-CBC
auth SHA512
keepalive 10 120
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-SHA256:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-128-CBC-SHA256:TLS-DHE-RSA-WITH-AES-256-CBC-SHA
server 10.199.10.0 255.255.255.0
tls-server
tls-version-min 1.2
auth-nocache
duplicate-cn
push "route 192.168.201.0 255.255.255.0"
push "redirect-gateway def1"
push "dhcp-option DNS 192.168.201.33"
push "dhcp-option DNS 192.168.201.19"
push "dhcp-option DOMAIN mydomain"
push "dhcp-option DNS 8.8.8.8"
push "block-outside-dns"


I can ping the 201-ipaddress of the VPN-Server, but nothing else.

I hope you can help me

Greetings


Post Reply