VPN client get wrong subnetwork mask

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Silvio Dourado
OpenVpn Newbie
Posts: 1
Joined: Thu May 13, 2021 7:54 pm

VPN client get wrong subnetwork mask

Post by Silvio Dourado » Thu May 13, 2021 8:16 pm

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 subnet mask when the mask is expected to be 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


dev tun

proto tcp-client


port 1194





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

Someone can help me to find the problem ?

User avatar
Forum Team
Posts: 9211
Joined: Fri Jun 03, 2016 1:17 pm

Re: VPN client get wrong subnetwork mask

Post by TinCanTech » Fri May 14, 2021 12:56 pm

The client subnet mask is never going to be /32 ..

Post Reply