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

    OpenVPN Client not using defined interfaces

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 560 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.
    • L
      l4k3k3m4n
      last edited by

      Hello,

      I have problems with pfsense as VPN client. (this is for site-to-site VPN)
      I have multiple WAN connections. I define which WAN to use in the configuration of the VPN client page.

      The connection is always going through the default gateway. Never the one I configured.
      When I switch default gateway, the outgoing connection switches as well.

      Another obsewrvation:

      When I have a static route to the OpenVPN target server through a LAN interface, the client will use this route instead of the configured WAN interface.

      So somehow the OpenVPN client always uses kernel routing table, never the interface it is bound to.

      Am I doing something wrong? I guess this is not the expected behaviour.

      Thanks.

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