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

    Openvpn Intermittent routing issues with some clients

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 498 Views
    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.
    • G
      gnordli
      last edited by

      Hi.

      Not really sure where to look here.

      I am running pfsense 2.5.0.

      I have a few clients running Windows 10 and the latest 2.5.1 version of the Openvpn client. For some reason they lose the ability to route packets. Everything looks fine in the connection log and the routing table on Windows looks OK. I am doing a network sniff on the firewall and I am not seeing anything come out of the pipe.

      I know there are some cipher issues, but I would assume that would be consistent -- either it works or it doesn't.

      Re-installing the openvpn client sometimes fixes the issue, sometimes a reboot fixes it and sometimes nothing fixes it. Then the next day it magically starts working again.

      While other clients their VPN connection is a rock and just works.

      Any thoughts on where to look?
      thanks,
      Geoff

      N 1 Reply Last reply Reply Quote 0
      • N
        nunu @gnordli
        last edited by nunu

        @gnordli For me it helped to write the LAN routes (in your case it is the wireless interface) to the OpenVPN. The attribute in the config was--route network/IP [netmask] [gateway] [metric] . See man openvpn (try some search engine to look it up from the web, then search text "--route"). Write it as route <network/mask> <gateway> in the text box under Advanced configuration in Custom options.

        The OpenVPN sets the routing tables. Maby the Wireless does the same if the interface goes up or down.

        G 1 Reply Last reply Reply Quote 0
        • G
          gnordli @nunu
          last edited by

          @nunu thanks for helping me on this.

          When I look at the routing table on windows (route print), I see the route, it looks like it is setup properly

          I wonder if this is a ipv4/6 issue.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.