Navigation

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

    Alter NAT and PortForwarding if a server is down.

    General pfSense Questions
    2
    3
    538
    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.
    • D
      ddemuro last edited by

      We've been tinkering around with pfsense to use it as our main router distribution and so far has been perfect for our needs, the only thing that I know it's not a limitation of pfsense, maybe a design flaw?… or maybe im skipping something big here.

      Our network would be WAN --> PFSENSE --> SERVER 1 / SERVER 2

      WAN (Dynamic IP address)

      PFSENSE IP: 192.168.5.80
      SERVER 1 IP: 192.168.5.21
      SERVER 2 IP: 192.168.5.22

      Any IP below the pfsense (<80) is outside the DHCP pool and its to be used for static ip's, anything above 80 is for DHCP pool.

      The thing is we have portforward and NAT for the SERVER 1, and we do the filtering in the pfSense box... do you guys have any idea on how could I make it so that if SERVER 1 goes down, I can change the NAT and portforwarding rules change to go to SERVER 2?

      My ideas where either use VPN so i'd do it to a VPN ip, and if one of the server's fall the other one will be able to connect with that ip and everything will work as expected or using alias with URL and have the table in another machine checking if any of the server falls, and changing that alias accordingly.

      Hope this more or less explains my scenario.

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

        Services > Load Balancer. That's exactly what it does.

        1 Reply Last reply Reply Quote 0
        • D
          ddemuro last edited by

          jimp

          Thank you for the straight forward reply… how did I miss that  ??? and i've been around pfsense for like 2 years now... I just never tried this... and been bumping my head against this for a while...

          I guess I kind of ignored it as I thought it was for multiple pfsense's?... actually I have no idea what happened in my head...

          Again, thanks for the reply!.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Products

          • Platform Overview
          • TNSR
          • pfSense
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy