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

    Static Routers over IPSEC tunnel

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 3 Posters 744 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
      nabberuk
      last edited by nabberuk

      I have a IPSEC tunnel configured as follows.

      Site A (Sophos XG) 192.168.40.0/22 to Site B (pfsense) 10.1.1.0/22

      At site B i have a Zabbix installed install at 10.3.1.2 on a separate VLAN. I want this Zabbix instance to access the XG at Site A via SNMP.

      I have altered the firewall at the Sophos XG end (Site A) but i need to configure the pfsense with i presume a static route? or would it be as simple NAT port forward?
      I'm a little unsure on the next steps, can anyone offer any guidance?

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

        @nabberuk
        Is it a routed IPSec or a policy based?

        Assuming it's the latter, you can only do that with BINAT inside IPSec phase 2, or add an additional phase 2 for the Zabbix.

        N 1 Reply Last reply Reply Quote 0
        • N
          nabberuk @viragomann
          last edited by

          @viragomann

          Route based (i think), is there a way to tell from pfsense?

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

            @nabberuk
            Check the phase 2 mode.

            N 1 Reply Last reply Reply Quote 0
            • N
              nabberuk @viragomann
              last edited by

              @viragomann ah its Tunnel IPv4

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

                @nabberuk
                So that's an traditional policy based tunnel as I assumed.

                N 1 Reply Last reply Reply Quote 0
                • N
                  nabberuk @viragomann
                  last edited by

                  @viragomann So for the BINAT option i would add in the subnet of the Zabbix server?

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

                    @nabberuk
                    Exactly. Map it to any free IP within the local network.
                    Or add an additional phase 2. But this also needs to be done on the Sophos.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      That may or may not work depending on how the Sophos handles duplicate P2 connections. It will appear to overlap the existing P2 at the Sophos end.
                      If you have control of both ends of the tunnel just add a new P2 to cover 10.3.1.0/24 (?) to 192.168.40.0/22. Or something more specific if you like.

                      Steve

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