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

    Forward connection to another external IP?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 3 Posters 1.5k 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
      dadaniel
      last edited by

      Is it possible to forward a connection to port 80 coming from WAN of the pfsense box to another server on the WAN interface?

      for example the domain of my pfsense box is pfsenseforever.com but I want to point visitors of this adress to website.com
      This should only apply to port 80 connections!

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

        No, not easily.

        You might be able to pull it off with some sort of bounce daemon, but nothing supported or built-in.

        pf can't "reflect" a connection back out the same interface it enters.

        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
        • GruensFroeschliG
          GruensFroeschli
          last edited by

          I worked around something like that:

          I did it by having an OpenVPN connection between the two locations.
          I then forwarded the traffic to an IP on the other side of the tunnel.
          For traffic leaving back the original way i enable AoN and NATed traffic into the tunnel.
          Like this all requests seem to the server as if they come from the pfSense on the other side of the tunnel.

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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