Openvpn client doesn't set server end of tunnel ip correctly

tried smaller subnet /28 netmask of 255.255.240.
exported client and made a few changes and now it’s working.

client
dev tun4
proto udp
remote xxx.xxx.xxx.xx 1194
pull-filter ignore "redirect-gateway"
script-security 3
keepalive 10 60
up ./routes/192.168.8.0
resolv-retry infinite
nobind
persist-key
persist-tun
auth SHA256 
cipher AES-256-GCM
comp-lzo adaptive
nice 0
mute 5
verb 3
<ca>
...

where up script file has
route add -net 192.168.8.0 netmask 255.255.255.0 gw 10.8.0.1

Of note with this setup and proper firewall on client’s router I can reach any machine on glinet router network and vice versa.

1 Like