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

    Port forwarding from http traffic lan to wan

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 1.6k 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.
    • X
      xanth
      last edited by

      Hi, need a little help…. I have a two internet connections, a DSL connection 203.x.x.x and any http traffic that is pointed to that address from the net is port forwarded to 192.168.3.120 (the pfsense lan) by the DSL router, I want to forward this to my other connection which has a web server on it (202.x.x.21)

      DSL  router  lan  -------------->  lan    PFSENSE BOX  wan    ------>  webserver
      203.x.x.x      192.168.3.100          192.168.3.120        202.x.x.25        202.x.x.21

      if I plug into the lan on the DSL router I can get out to the net ok via DSL
      if I plug into the lan on the PFSENSE box I can get out there ok as well
      The rules in the DSL router are pretty basic, and I'm 95% sure I've got those right, I had several attempts at configuring nat rules in PFSENSE, but to no avail.....

      Any ideas?

      I know that PFSENSE can do load balancing etc, but this is not practical in this situation, a package on the server wont work on 192.168.x.x ip's, it needs a real world ip, hence trying port forwarding.

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        I would drop the dsl router and build a dualwan pfSense. For the public IPs in the DMZ just use a bridged interface. That would make 4 interfaces in the pfSense then: WAN, WAN2, LAN, bridged DMZ.

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