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

    Configuration question

    Scheduled Pinned Locked Moved DHCP and DNS
    9 Posts 3 Posters 3.7k 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.
    • C
      covex
      last edited by

      Hi! I'm not sure where to post this question but DHCP/DNS looks like the right place.
      Here is my setup:

      server1
      192.168.1.11|–---
                                |
                                |-------------[pfSence]–--[internet]–----[clients]
      server2                |
      192.168.1.12|–---

      I'd like to have an "virtual" IP address, for example, 192.168.1.10 where clients can connect via ssh and be directed to either server1 or server 2 depending on which server is up now.
      Is it possible at all?

      1 Reply Last reply Reply Quote 0
      • dotdashD
        dotdash
        last edited by

        You should be able to do this by using a VIP and configuring the inbound load-balancer.

        1 Reply Last reply Reply Quote 0
        • C
          covex
          last edited by

          Thanks! I've never used VIP but will look it up.

          will it work over ipsec?

          server1
          192.168.1.11|–---
                                   |
                                   |-------------[pfSence]–--[IPSec VPN]–----[clients]
          server2                |
          192.168.1.12|–---

          Could anybody point me to the VIP's guide or how-to? I can see only bits and peaces here and there  :-\

          1 Reply Last reply Reply Quote 0
          • dotdashD
            dotdash
            last edited by

            Firewall, virtual IPs. I'd use a CARP VIP for this. You also might want to check out the recently added HAProxy package. I would think you could setup the LB to run over the tunnel, but I haven't tried to configure it that way.

            1 Reply Last reply Reply Quote 0
            • C
              covex
              last edited by

              No, I know where to find it in pfSense but is there a How-To or something I can read? or maybe a pfSense book?  ;D
              I found this article http://www.digitalphotomac.com/PFsense/VirtualIP/ and it explains a lot but not everything. He's talking here about setting all 16 WAN IPs as virtual ones but what goes to the WAN interface settings then, for example?
              Don't gang on me please as I said I've never used this before.  :)

              1 Reply Last reply Reply Quote 0
              • dotdashD
                dotdash
                last edited by

                The WAN has an actual IP. The Virtual IPs are just additional IPs the firewall can use for NAT or whatever.

                1 Reply Last reply Reply Quote 0
                • C
                  covex
                  last edited by

                  What is the difference between doing VIPs and port forwarding? Is it more secure or may be faster?

                  1 Reply Last reply Reply Quote 0
                  • dotdashD
                    dotdash
                    last edited by

                    VIPs just give you more IPs to work with than using the WAN address. If you have several web servers you need to have available on port 80, for example.

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      @covex:

                      […]or maybe a pfSense book?  ;D

                      It's coming. Should be available for ordering within the next week or two. :)

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

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