Hey everyone,
Another n00b to server admin here. I followed these instructions to set up the server and client. I can connect and ping the VPN server, but I can't get online or other machines on the same VNET as my server. This is being run on the cloud, and I've already opened port 1194 via UDP into the server.
https://www.cyberciti.biz/faq/howto-setup-openvpn-server-on-ubuntu-linux-14-04-or-16-04-lts/
My server config is:
port 1194
proto udp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
and client config:
client
dev tun
proto udp
sndbuf 0
rcvbuf 0
[b]remote x.x.x.x 1194[/b]
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
setenv opt block-outside-dns
key-direction 1
verb 3
I've tried using masquerades and tweaking a bunch of settings. Nothing has worked as of yet.
Thanks in advance for any help!