Allow ip to ip binding



  • Hi
    I dont know how to explain this.. but i know there is a technical term of this …

    i have 5 static IP.
    and I have 5 virtual server behind this pfsense.
    Now i want to allow those 5 ips to map  to those 5 server

    so 1.1.1.1 will map to vps1
       2.2.2.2 will map to vps2
       ....
       .....
       5.5.5.5 will map to vps5

    example.. when i buy a vps server from a hosting company, i can access that server by ip, same thing. but here those server is behind the pfsense

    how can i do that ???

    thanks for your help.




  • Hello,

    @fosiul:

    Hi
    I dont know how to explain this.. but i know there is a technical term of this …

    i have 5 static IP.

    btw. really? not having /x ranges is somewhat strange  ;)

    @fosiul:

    and I have 5 virtual server behind this pfsense.
    Now i want to allow those 5 ips to map  to those 5 server

    so 1.1.1.1 will map to vps1
        2.2.2.2 will map to vps2
        ….
        .....
        5.5.5.5 will map to vps5

    example.. when i buy a vps server from a hosting company, i can access that server by ip, same thing. but here those server is behind the pfsense

    how can i do that ???

    Guess you've two options

    • 1:1 Nat

    • Routing

    Depending on your wan upllink, you're probably going to try 1:1 Nat first (http://doc.pfsense.org/index.php/1:1_NAT). Routing looks more elegant (in general), but requires exchanging routing-information with your isp (rip, ospf, bgp, etc.).

    Keep smiling
    yanosz


Log in to reply