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

    Allow ip to ip binding

    Scheduled Pinned Locked Moved NAT
    2 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.
    • F
      fosiul
      last edited by

      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.

      pfsense-ip.GIF
      pfsense-ip.GIF_thumb

      1 Reply Last reply Reply Quote 0
      • Y
        yanosz
        last edited by

        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

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