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

    Policy routing being ignored?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 1 Posters 804 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.
    • N Offline
      narcissius
      last edited by

      Hello forum,

      I'm having some trouble with Sixxs and OpenVPN.

      I have a working tunnel to Sixxs ipv6 broker.
      I have a working VPN tunnel to Mullvad.

      I have a policy routing on my LAN interface that says IPv6* from LAN NET to any destination, gateway SIXXS.

      traceroute6 ipv6.google.com from client = OK. Everything is fine.

      ping from external host to my client, I can see the packets coming in and reaching client (tcpdump), I see client sending response. Response arrives at LAN interface and it then shipped over OpenVPN (Mullvad), despite the policy routing telling it use SIXXS as gateway.

      How can I fix this?

      1 Reply Last reply Reply Quote 0
      • N Offline
        narcissius
        last edited by

        I was able to fix this myself.

        Pretty much what was happening was that my OpenVPN broker was pushing ipv6 routes, amongst other a ::/2 default route. For some reason the policy rules didn't intercept the packets and the default route was being used. To remedy this, I added to my OpenVPN client configuration "route-nopull" to the advanced configuration. As such no routes are added for neither ipv4 or ipv6 and everything is working the way I want it to.

        Big thanks to everyone at #pfsense @ Freenode for attempts at helping and showing patience with my constant nagging.

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