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

    'Conditional' NAT

    Scheduled Pinned Locked Moved NAT
    9 Posts 3 Posters 3.4k 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.
    • B
      BenKenobe
      last edited by

      Is it possible to do any sort of conditional NAT traversal should a target LAN IP be unavailable for any reason.

      We run a web server in a virtual environment, I would like to set up a 'just in case' NAT to the 'host' box (i.e. the box on which the VM's run) to answer responses should the web server VM go down, to offer some sort of 'Sorry not available right now' page and fire an e-mail at the admin (me) to say the web server is down.

      (We run a Joomla CMS on Apache / MySQL under Fedora Core 16 so whether it is possible to run mirrored / load balanced web server with this configuration I have no idea, and no time to embark on the learning curve right now)

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        Services –> Loadbalancer
        Create a new pool of type server with behaviour failover. Add your main-server and your backup server.
        Save the pool and go to "virtual servers".
        Create a virtual server with your server-pool as destination.

        (You could also have only your main-server in the server pool and set the backup-server in the virtual server config as "Pool Down Server")

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • B
          BenKenobe
          last edited by

          Many thanks, I'll have a play with that …

          1 Reply Last reply Reply Quote 0
          • B
            BenKenobe
            last edited by

            Failed, I can't add or select anything in the monitor field so saving fails (using V2.0 RC3 from August 4th).

            Tried in Opera, Firefox 6 and IE9 …

            1 Reply Last reply Reply Quote 0
            • M
              Metu69salemi
              last edited by

              wow you've must desperate when used ie..

              can you provide any logs or screenshots of the problem?

              1 Reply Last reply Reply Quote 0
              • B
                BenKenobe
                last edited by

                IE - hell yeh desperate is the right word.

                Managed to resolve partly but now even normal NAT is broken, now considering a roll back, see my other thread http://forum.pfsense.org/index.php/topic,40618.0.html

                1 Reply Last reply Reply Quote 0
                • M
                  Metu69salemi
                  last edited by

                  Well i had no problems to create this pool and save it. I use```
                  2.0-RC3 (i386) built on Wed Aug 10 19:18:17 EDT 2011

                  Can you try to upgrade
                  1 Reply Last reply Reply Quote 0
                  • B
                    BenKenobe
                    last edited by

                    In the process of doing just that …  ;)

                    1 Reply Last reply Reply Quote 0
                    • M
                      Metu69salemi
                      last edited by

                      Let us know how it went.
                      going to spend some offline time(it's midnight over here)

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