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

    VPNIPsec - Routing traffic trough VPN

    Scheduled Pinned Locked Moved IPsec
    4 Posts 2 Posters 1.3k 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.
    • A
      AirT0n
      last edited by

      Hello,

      I created a VPNIpsec between 2 sites. 
      Network Site A : 192.168.0.0/24
      Network Site B : 192.168.100.0/24

      From A to B, ping is OK (with a route), but I don't know to do it in pfsense (to route traffic from 192.168.100.0 to 192.168.0.0 through my VPN).

      When I look in System / Routing, it is possible to add manual route but I can't specify which interface (VPN).

      Regards

      FV

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The "routes" for IPsec are defined by the Phase 2 entries.

        If you have a Phase 2 defined for 192.168.0.0/24 to 192.168.100.0/24, any traffic that hits the firewall will automatically take the tunnel.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • A
          AirT0n
          last edited by

          On my other site (with another firewall), I needed to manually add a route to allow traffic for 192.168.0.0 to 192.168.100.0.
          Without this route, it is not possible.
          No route to add in pfsense for the traffic from 192.168.100.0 to 192.168.0.0 ?

          Thx

          1 Reply Last reply Reply Quote 0
          • A
            AirT0n
            last edited by

            Problem solved (not in pfsense). route was OK in pfsense

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