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

    Is there a way to set the source address to gateway monitor?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 515 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.
    • gpradaG
      gprada
      last edited by

      Hello there!

      I have a SG-2100 box with three interfaces. An Internet, a MPLS and LAN connected. The network betwen SG-2100 and MPLS router are not routed to remote office, but LAN network yes. I need to monitor the status of MPLS pinging remote router, but only works if I set the source address with LAN IP.

      Is there a way to set the source address on gateway monitor?

      Thanks in advance

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

        @gprada
        Source address translation is done by outbound NAT rules on pfSense.

        Switch the outbound NAT into the hybrid mode, save and add a rule:
        interface: WAN
        protocol: ICMP
        source: This firewall
        destination: Network, enter the remote routers IP and /32 for mask
        translation address: interface address

        1 Reply Last reply Reply Quote 0
        • gpradaG
          gprada
          last edited by gprada

          Hi @viragomann
          Thanks for your reply, but traffic by MPLS are not Nated.

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

            But it could be and by doing that the other side will be able to reply.

            Your rule need only apply to the monitoring pings. So you probably want it on the MPLS interface.

            Steve

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