On a new server I did the following:
My server.conf
port 443
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
route 10.8.1.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 67.207.67.3"
push "dhcp-option DNS 67.207.67.2"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
client-config-dir ccd
client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote My IP 443
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
comp-lzo
setenv opt block-outside-dns
key-direction 1
route-nopull
verb 3
In the ccd/client I put: ifconfig-push 10.8.1.9 255.255.255.0
And I can see when the client is connected on the server but I am unable to ping/ssh it. So I cant even assing 10.8.1.0 Ips. hmm.
Client log:
https://pastebin.com/QXsMHzge
Server log:
https://pastebin.com/9fnUzb5n