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

    Routing Internet Traffic Through A Site-To-Site Tunnel

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 137 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.
    • F
      Farh
      last edited by

      Hi
      I routed my internet traffic through A Site-To-Site OpenVPN Tunnel with two pfsense box following this instruction:
      https://docs.netgate.com/pfsense/en/latest/recipes/openvpn-s2s-route-internet-traffic.html
      Everything is working fine except one thing. I use it for mail server and because PTR record of mail server set for remote IP i want internet get disconnected on LAN if tunnel is down but current behavior is internet route with just local public IP if tunnel is down a it's possibly make mail servers spam my emails or even rejected it.
      How can i change this behavior?
      Thanks

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @Farh
        last edited by

        @Farh
        You can route the mail server to the remote site with a policy routing rule at the top of the rule set and disable "skip rules, when gateway is down" in System Advanced Firewall settings.

        F 1 Reply Last reply Reply Quote 1
        • F
          Farh @viragomann
          last edited by

          @viragomann
          I think "skip rules, when gateway is down" in system/Advanced/Miscellaneous that you mentioned is the point that i didn't know.
          Thank you so much.

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