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

    Virtual server not working in LAN

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    loadbalancesamba445
    3 Posts 2 Posters 656 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.
    • ?
      A Former User
      last edited by

      Hi,

      I configured a Virtual server (192.168.100.250) on port 445 for two NAS shares replicating each other that are 192.168.100.251 and .252.

      I can see it from IPSec and mount it, but not from LAN.

      A machine (192.168.100.2) into the same LAN is returning no route to host. This is strange as it should be direct access to 192.168.100.250.

      telnet 192.168.100.250 445
      Trying 192.168.100.250...
      telnet: Unable to connect to remote host: No route to host

      Here screenshots of the config.

      Schermata 2020-06-18 alle 02.19.57.png Schermata 2020-06-18 alle 02.19.53.png Schermata 2020-06-18 alle 02.18.58.png Schermata 2020-06-18 alle 02.18.50.png

      Can you please help me fixing this issue?

      Thank you so much!

      Best,

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

        If the clients and server are on the same subnet, that won't work without extra outbound NAT rules to mask the source.

        As it is, the servers see the client address and reply directly, breaking the intended traffic flow.

        You are better off ditching the built-in load balancer and moving to HAProxy. The load balancer has been removed from 2.5.0.

        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
        • ?
          A Former User
          last edited by

          Hi All!

          I switched to the HAproxy package as suggested and it works like a charm with a 2 click configuration!

          Thank you all for the help!

          Bob

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