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

    Redirect outbound connections

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 1.7k 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.
    • D
      decibel83
      last edited by

      Hi.
      How I can redirect to 192.168.100.1 (an IP address in the LAN network) all connections made from the LAN network and directed to the WAN IP address on the 443 port?

      I tried to make a manual outbound NAT rule but it didn't work.

      Could you help me please?

      Thank you very much!
      Bye.

      1 Reply Last reply Reply Quote 0
      • D
        danswartz
        last edited by

        I don't think you can.  I seem to recall there is a restriction that you can't have pf operate on a packet that comes in interface X and then would go back out that same interface.  If you are trying to redirect LAN hosts trying to go to some web server behind pfsense, use split dns (e.g. hosts inside the LAN see a different IP address than outside ones.)  Alternatively, if 192.168.100.1 happens to be the same webserver you port-forward https to, then enable NAT reflection, but split dns is a better way.

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