SoftEther VPN Client Connection Successful but No IPv4 Address Assigned

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
vertikal
Posts: 2
Joined: Sat Mar 08, 2025 12:36 pm

SoftEther VPN Client Connection Successful but No IPv4 Address Assigned

Post by vertikal » Sat Mar 08, 2025 12:53 pm

Hello,

I'm facing an issue with my SoftEther VPN client connection. While I can successfully establish a connection to the VPN server, my VPN interface isn't receiving an IPv4 address assignment, which prevents me from setting up proper routing.

Current Setup:

OS: Linux (Fedora)
SoftEther VPN Client (using vpncmd)
Connection type: Standard connection with password authentication

What I've Done:

1. Created a VPN connection setting:

Code: Select all

AccountCreate myconnection /SERVER:[server-ip]:5555 /HUB:[hub-name] /USERNAME:[username] /NICNAME:vpn
AccountPasswordSet myconnection
2. Connected successfully:
AccountConnect myconnection
3. Connection status shows success:

Code: Select all

Session Status: Connection Completed (Session Established)
VoIP / QoS Function: Enabled
Number of TCP Connections: 2
Encryption: Enabled (Algorithm: TLS_AES_256_GCM_SHA384)
The Problem:
When checking the VPN interface, I only see an IPv6 link-local address with NO IPv4 address:

Code: Select all

ip addr show vpn_vpn
5: vpn_vpn: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether [MAC ADDRESS] brd ff:ff:ff:ff:ff:ff
    inet6 fe80::[REDACTED]/64 scope link proto kernel_ll 
       valid_lft forever preferred_lft forever
Despite the connection showing as established, without an IPv4 address, I cannot route traffic through this interface.

Important things: [/b Somehow during my very first time I managed to connect. Then I started to play with sylinks, aliases I moved the client from Downloads to /opt and now can't make it working again, even with totally fresh reinstallation etc. Also, on my another Windows PC this server and credentials works properly.

What I want to achieve? I want to watch Polish TV on a streaming portal Canal Plus in the country other than Poland.

Questions:

1. Why isn't my interface getting an IPv4 address when the VPN connection is successful?
2. Does the server need DHCP configured, or is there a client-side setting I'm missing?
3. Is there a specific command to request an IP from the VPN server?

I'm happy to share more data if needed. Any help would be greatly appreciated!


vertikal
Posts: 2
Joined: Sat Mar 08, 2025 12:36 pm

Re: SoftEther VPN Client Connection Successful but No IPv4 Address Assigned

Post by vertikal » Sat Mar 08, 2025 3:18 pm

Thanks Solo! Your suggestion worked perfectly. Following your exact instructions:

Code: Select all

sudo ip route add <VPN server IP address>/32 via 192.168.0.1
sudo ip route del default
sudo dhclient vpn_vpn
After some minor additional tweaking with DNS settings and IPv6 disabling, everything is working perfectly. My traffic is now properly routing through Poland as verified by location tests.

Post Reply