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

    Simple port forwarding - WAN&LAN on same subnet

    NAT
    2
    2
    2111
    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.
    • Z
      Zadet
      last edited by

      I am running out of port forwarding fields on my main router/gateway (10.0.1.1) and I would like to set up pfSense to act as an internal port forwarding device.
      pfSense running as VMware appliance, is set as follows:
      WAN: 10.0.1.90
      LAN: 10.0.1.91

      I would like to forward a group of ports ie. 50100-50200 on the main router to pfSense, which would then forward them to port 777 to internal IPs ranging from 10.0.1.100 to 10.0.1.200 (VMware boxes).

      I have tried several configurations (bridging, NAT, ports, transparent…), but none seems to work.

      Thanks for any suggestions.
      Filip

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        i've done what you're trying to do in the past.

        i suppose you've set up 2 virtual interfaces.

        1:
        virtualNIC1 –> bridge to PfsenseWAN
        virtualNIC2 -_> bridge to PfsenseLAN
        now you should bridge the virtualNIC1 to a real NIC.

        2:
        the pfsenseWAN should now be able to get a IP from your DHCP on your network.
        now you have to forward the ports to the IP of your PfsenseWAN IP

        3:
        you can set your virtualNIC2 to dhcp and activate on PfsenseLAN the DHCP server.
        your virtualNIC2 should now get an IP from your pfsense.
        at last you have to set up port forwarding rules.

        your virtualNIC2 will now be able to recieve traffic from the ports forwarded from the outside :)

        i hope i helped.
        good luck

        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