I'm having problem using OpenVPN. The client obtains a connection to the server, but the subnet mask assignment is different from what is expected, the client obtains the 255.255.255.0 subnet mask when the mask is expected to be 255.255.255.255. In this case, that client can connect to the server, but it cannot communicate with the local network.
I noticed that the same client (same host too) has a similar problem when trying to connect to another VPN server that uses L2TP over IPsec.
The client file is:
Code: Select all
#Template client.ovpn
client
dev tun
proto tcp-client
remote 192.168.137.2
port 1194
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
ca ca.crt
cert client.crt
key client.key
verb 4
mute 10
cipher AES-256-CBC
auth SHA1
auth-user-pass secret
auth-nocache