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

    2 'Lines', one server

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 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.
    • M
      MatthiasS
      last edited by

      Hi!

      I have two external DSL-Lines (pppoe), and therefor 2 external IPs.

      In my internal network, I have one webserver, port 80.

      Now, I would like to forward both IPs with port 80 to that webserver. Is that possible?
      Will pfSense recognize from which line the request is originating and automaticaly send the request back through that line (gateway)?

      Thanks
      Matthias

      PS. I am using 2.x

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

        Yes, it works fine. Incoming traffic hits rules that have "reply-to" on them so the router knows the path the packets took in, so they go back out the proper way.

        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
        • M
          MatthiasS
          last edited by

          okay, thank you for that info…

          I just found out, that my plan wont work :-(
          My two pppoe lines have the same gateway...

          Sooo...I have to put an extra pfSense instance between my 'original' pfSense and one of the pppoe modems.

          How can I forward all the Incomming Traffic from this 'in-between' pfSense to my primary one?
          (I don't want to have to do every forwarding on two places...)

          My public IPs can change (dynamic), so 1:1 NAT won't work?

          Is there any other way?

          Thanks
          Matthias

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