hi everyone,
i am struggling with VPN Azure setting. for this test, i created VM in Azure cloud, and installed VPN server on it. i can connect to this server directly (with DDNS name, which points to server IP address), if i open related ports, but i cannot connect to it via VPN Azure option. if i use VPN Gate Public VPN Relay Servers, i can connect to the Japan servers only via UDP, i don't know why (probably my government blocks something). can this be the reason, and if yes, how to setup my own VPN server to work in UDP mode?
VPN Azure setup
-
solo
- Posts: 1839
- Joined: Sun Feb 14, 2021 10:31 am
Re: VPN Azure setup
Yes.
On your SoftEther Developer Edition server open a UDP port and then on a SE client set "PortUDP" to the same port http://www.vpnusers.com/viewtopic.php?t=69953#p104376
On your SoftEther Developer Edition server open a UDP port and then on a SE client set "PortUDP" to the same port http://www.vpnusers.com/viewtopic.php?t=69953#p104376
-
Ozarsif
- Posts: 2
- Joined: Tue Mar 17, 2026 11:23 am
Re: VPN Azure setup
Hello Solo,
thank you for your answer. ok, forget about vpnazure for a while.
how to setup SE on UDP?
i've set MS-SSTP setting to UDP 9400
i can see UDP endpoint present on port 9400
when i am trying to connect, i can see UDP traffic on port 9400 with Wireshark
thank you for your answer. ok, forget about vpnazure for a while.
how to setup SE on UDP?
i've set MS-SSTP setting to UDP 9400
i can see UDP endpoint present on port 9400
i can connect to my server via TCP (port 5555 for example), so i exported that configuration, and updated it to UDP usage:> Get-NetUDPEndpoint
LocalAddress LocalPort
------------ ---------
0.0.0.0 9400
Code: Select all
declare root
{
bool CheckServerCert false
uint64 CreateDateTime 0
uint64 LastConnectDateTime 0
bool StartupAccount false
uint64 UpdateDateTime 0
declare ClientAuth
{
uint AuthType 1
byte HashedPassword
string Username
}
declare ClientOption
{
string AccountName Personal$20VPN$20UDP
uint AdditionalConnectionInterval 1
uint ConnectionDisconnectSpan 0
string DeviceName VPN
bool DisableQoS false
bool HalfConnection false
bool HideNicInfoWindow false
bool HideStatusWindow false
string Hostname 20.150.144.16
string HubName
uint MaxConnection 1
bool NoRoutingTracking false
bool NoTls1 false
bool NoUdpAcceleration false
uint NumRetry 4294967295
uint Port 443
uint PortUDP 9400
string ProxyName $
byte ProxyPassword $
uint ProxyPort 0
uint ProxyType 0
string ProxyUsername $
bool RequireBridgeRoutingMode false
bool RequireMonitorMode false
uint RetryInterval 15
bool UseCompress false
bool UseEncrypt true
}
}
but connection fails.3336 1245.570972600 147.30.19.151 10.0.0.4 UDP 65 50946 → 9400 Len=23
2026-03-18 11:52:40.958 VPN Connection Setting "Personal VPN UDP": The connection has been either disconnected or it failed. Cause: Connection to the server failed. Check network connection and make sure that address and port number of destination server are correct. (code 1)
-
solo
- Posts: 1839
- Joined: Sun Feb 14, 2021 10:31 am
Re: VPN Azure setup
It's a developer feature - it may be experimental, incomplete or buggy.
Submit your report here https://github.com/SoftEtherVPN/SoftEtherVPN/issues
Submit your report here https://github.com/SoftEtherVPN/SoftEtherVPN/issues
