softether and IPv6 routing

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
vpn_admin
Posts: 4
Joined: Tue Aug 29, 2023 9:53 pm

softether and IPv6 routing

Post by vpn_admin » Tue Aug 29, 2023 9:59 pm

I have softether setup and IPv4 traffic is working perfectly. IPv6 traffic is not routing correctly. When my clients connect to softether they are getting a IPv4 and IPv6 address from my local network via DHCP. If I ping -4 server4.test.com I get the correct IPv4 address and the server responds. If I ping -6 server4.test.com, the server resolves to the correct IPv6 address but it tries to go out over the internet instead of down the tunnel. The clients connect to the softether server via a IPv4 address. I worked around the problem by disabling IPv6 on the clients but that is not a long term solution. What am I doing wrong?

solo
Posts: 1517
Joined: Sun Feb 14, 2021 10:31 am

Re: softether and IPv6 routing

Post by solo » Wed Aug 30, 2023 6:48 am


vpn_admin
Posts: 4
Joined: Tue Aug 29, 2023 9:53 pm

Re: softether and IPv6 routing

Post by vpn_admin » Wed Aug 30, 2023 4:16 pm

Thank you for the link. I am assuming I have to update my server to the DE edition. I have a RedHat 8.8 Enterprise Linux server that I trying to update. I am trying to follow the directions at:
https://github.com/SoftEtherVPN/SoftEth ... LD_UNIX.md

When I run:

Code: Select all

sudo apt -y install cmake gcc g++ make pkgconf libncurses5-dev libssl-dev libsodium-dev libreadline-dev zlib1g-dev
I get an error that says Error: Unable to find a match: libsodium-devel
I removed libsodium-devel from the command line and the rest of the modules installed.

Next I am trying to download the source code using:

Code: Select all

git clone https://github.com/SoftEtherVPN/SoftEtherVPN.git
it prompts for a username and password
so I Ctrl-C out of that and do wget https://github.com/SoftEtherVPN/SoftEth ... master.zip

Code: Select all

unzip master.zip
cd SoftEtherVPN-master

./configure

CMake Error at /usrshare/cmake/Modules/FindPkgConfig.cmake:843 (message):
None of the required 'libsodium' found
Call Stack (most recent call first):
CMake Error at src/Mayaqua/CMakeLists.txt:99 (add_subdirectory):
The source directory
/root/SoftEtherVPN-master/src/Mayaqua/3rdparty/cpu_features
does not contain a CMakeLists.txt file
CMake Error at src/Mayaqua/CMakeLists.txt:100 (set_property):
set_property could not find TARGET cpu_features.  Perhaps it has not yet been created.
CMake Error at src/CMakeLists.txt:154 (add_subdirectory):
The source directory
/root/SoftEtherVPN-master/src/labhamcore
does not contain a CMakeLists.txt file.
What am I doing wrong?

solo
Posts: 1517
Joined: Sun Feb 14, 2021 10:31 am

Re: softether and IPv6 routing

Post by solo » Wed Aug 30, 2023 10:48 pm

vpn_admin wrote:
Tue Aug 29, 2023 9:59 pm
When my clients connect to softether they are getting a IPv4 and IPv6 address from my local network via DHCP.
...
The clients connect to the softether server via a IPv4 address.
Windows DE clients do IPv6 Route Management.

comparison-with-stable-edition https://github.com/SoftEtherVPN/SoftEth ... le-edition

vpn_admin
Posts: 4
Joined: Tue Aug 29, 2023 9:53 pm

Re: softether and IPv6 routing

Post by vpn_admin » Thu Aug 31, 2023 4:24 pm

The DE is working. What are the chances of the IPv6 route management being integrated into the next release?

Post Reply