Multiple wan ip and port forwarding



  • I am new to pfsense

    my situation

    i have 1 vmware server with pfsense
    it will be directly connected to a wan connection with 5 public ipv4 adresses (and way to much ipv6)

    i have created a WAN interface with 1 ipv4 adresss
    at Firewall > virtual ip's i have add the other 4 ipv4 adresses

    when i go to Firewall > Nat > Portforwarding
    now i can sellect interface WAN but there is no option for one of the other ip's
    when i want to choose a destenation the virtual ip's are availible?

    what do i wrong?

    /edit
    since there is no answer i think my question isn't clear

    i have multiple ip adresses

    lets say 10.11.12.1 to 10.11.12.3

    i want to configer 3 difrent webservers
    server1 192.168.1.1
    server2 192.168.1.2
    server3 192.168.1.3

    now i want to forward:
    port 80 of 10.11.12.1 to 192.168.1.1
    port 80 of 10.11.12.2 to 192.168.1.2
    port 80 of 10.11.12.3 to 192.168.1.3



  • i think i have found it.

    the dest. addr in the portforward tab is not the local LAN address but it represent the local WAN address



  • @koos147:

    i think i have found it.

    the dest. addr in the portforward tab is not the local LAN address but it represent the local WAN address

    Yes, on Firewall: NAT: Port Forward: Edit GUI you are selecting traffic coming to a particular destination (usually a port(s) on a WAN(s)) - the destination that is the in original packet arriving from the internet. Then you fill in "Redirect target IP" and "Redirect target port" to send it on its way to where you really want it to go inside your network.


Log in to reply