SoftEtherVPN / SoftEtherVPN

Cross-platform multi-protocol VPN software. Pull requests are welcome. The stable version is available at https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.
Apache License 2.0
11.35k stars 2.56k forks source link

cluster doesn't work #1951

Open alphayxc opened 5 months ago

alphayxc commented 5 months ago

Hello, When I connect to my cluster controller it successfully sends my connection to one of my cluster member servers. My issue is that it still says that I am still on my home network rather than routing my traffic through the vpn.

When I log in, I can get the LAN ip assigned by the dhcp server, such as 192.168.30.10. At this time, ping192.168.30.1 can be connected, but this machine cannot access the Internet through the network of the server

The promiscuous mode of eth0 on the two servers is enabled

The controller and the second vps can be connected and identified normally,I can see the both server have been connected on control pannel. How to set up, should I enable secureNAT function? Should the virtual DHCP server function be enabled? Does the local bridge need to be set up? After the cluster mode is enabled, the local bridge is automatically offline, and the virtual hub can only be in dynamic mode and cannot be changed click on the "View the running status of secureNAT" button We'll find that [The kernel-mode NAT function is not active] and [Raw IP mode NAT function is not active] What's the correct setting if I want to use the function of clustering?

In addition, the role of the cluster function is redundancy and disaster prevention, or that the bandwidth of multiple servers can be superimposed, for example, my home broadband is 1000mbps, but the server is only 30mbps, can the cluster composed of two servers be superimposed to 60mbps?

officialh1 commented 4 months ago

Hello, when connected, what does your routing table look like on the client side? If I recall, DHCP needs to be third party in cluster mode.

It's likely the gateway is not set correctly and with a proper metric. If you want to send all traffic through the VPN tunnel you need a default gateway set with a low enough metric. Split tunneling requires classless static routes set up in DHCP.