Two route added by openvpn
-
Hi,
I'm trying make a vpn between nomad client (under windows) and our company.
We have install pfsense on a vmware host.
Web have configuring openvpn on pfsense with the OpenVPN tap Bridging.
The clients can connect on the vpn but they can't ping the local network.When I type "route print" on connected client we have two routes added by openvpn :
Destination réseau Masque réseau Adr. passerelle Adr. interface Métrique 15.89.0.0 255.255.0.0 On-link 15.89.5.1 286 15.89.0.0 255.255.0.0 15.89.2.2 15.89.5.1 30
The first line is false. The second is ok.
When I type "route delete 15.89.0.0" then I type "route add 15.89.0.0 mask 255.255.0.0 15.89.2.2 IF 30" it work perfectly.How I can configure this automaticaly for all clients ?
Thanks
Best regards
Nicolas
-
you probably have a problem with your openvpn server configuration …. otherwise the correct routes should be added automagically
-
Look at the server configuration