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

    Load Balancing with internal IP'S

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 4 Posters 2.1k 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.
    • S
      sai ravi
      last edited by

      Hi
            I am trying to configure a load balancer for web servers which are behind PFSense firewall.

      Server 1 - 10.100.13.23
      Server 2 - 10.100.13.24

      Load Balancer IP - 10.100.13.45

      I configured a separate pool for the servers 1 and 2.Also created a virtual server IP 10.100.13.45 in load balancer tab in pfsense. When i try from the browser http://10.100.13.45 i am not getting any response.

      We have configured server 1 and server 2 with an external load balancer IP already.The same is working fine when we try from Internet.

      I don't know whether i am missing any critical configuration while trying to achieve the load balancing with internal IP.

      Any help is much appreciated.

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

        Just to be sure I understand your point…

        Are explaining that your intend to load balance access to 2 servers connected to 10.100.10.0/24 (I suppose) network, relying on load balancer connected to same network and, if I guess correctly, from clients directly connected to this same network?

        Assuming I'm correct, what do you mean when stating:

        I am trying to configure a load balancer for web servers which are behind PFSense firewall.

        What does "behind" mean here?

        Or my understanding is wrong then could you please rephrase what your set-up is.

        Jah Olela Wembo: Les mots se muent en maux quand ils indisposent, agressent ou blessent.

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          Read this: https://forum.pfsense.org/index.php?topic=49615.msg263286#msg263286

          1 Reply Last reply Reply Quote 0
          • S
            sai ravi
            last edited by

            Hi Chris
                          We have 2 servers. 10.100.13.23 and 10.100.13.24. We need to have a load balancing IP for the mentioned servers.

            TASK 1:

            Server 1 - 10.100.13.23
            Server 2 - 10.100.13.24

            Load Balancer IP - 158.xx.xx.xx (Public IP)

            We created a load balancer with Public IP and it's working fine.This is for our external users who are accessing it from internet.

            TASK 2:

            We have open VPN connection created in pfsense.Once users are connected to VPN they will be assigned an IP address from subnet 192.168.101.x/24. Now they require a load balancer (Private IP) to access it internally after connecting to VPN.

            So i tried to create

            Load Balancer IP - 10.100.13.45 for the servers

            Server 1 - 10.100.13.23
            Server 2 - 10.100.13.24

            Now after connecting to VPN and when i try access http://10.100.13.45 its showing page cannot be displayed.

            Complete Access is available from 192.168.101.x/24 to 10.100.13.xx/24.So guess there wont be any access restriction issue.

            Still we are unable to find the hindrance which prevents us to access the servers with IP 10.100.13.45.

            Let me know if you require further information.

            1 Reply Last reply Reply Quote 0
            • K
              kelvin.koh
              last edited by

              Loadbalancer ip 10.100.13.45
              server 1 10.100.13.23
              server 2 10.100.13.24

              Go to outbond NAT

              Source 10.100.13.0
              destination 10.100.13.0

              translation address 10.100.13.45

              i tested it work

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