Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Two route added by openvpn

    OpenVPN
    2
    3
    1264
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nikos5687 last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        heper last edited by

        you probably have a problem with your openvpn server configuration …. otherwise the correct routes should be added automagically

        1 Reply Last reply Reply Quote 0
        • N
          nikos5687 last edited by

          Look at the server configuration

          1 Reply Last reply Reply Quote 0
          • First post
            Last post