[for devs]vpnserver.exe uses bind() API on 0.0.0.0?

This is idle-talk forum. Write your greeting here. Feel free to discuss here for anything.
Locked
oscar
Posts: 165
Joined: Tue Oct 21, 2025 1:34 am

[for devs]vpnserver.exe uses bind() API on 0.0.0.0?

Post by oscar » Thu Nov 19, 2026 12:39 pm

[for devs]vpnserver.exe uses bind() API on 0.0.0.0?

How to change or provide a dialog box to bind() to another NIC locally on windows os via windows api / dll?

Like vpnserver.exe -bind 10.239.1.1 ?

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

Re: [for devs]vpnserver.exe uses bind() API on 0.0.0.0?

Post by solo » Fri Nov 20, 2026 4:25 am

Code: Select all

	declare ServerConfiguration
	{
		...
		string ListenIP ::
		...

oscar
Posts: 165
Joined: Tue Oct 21, 2025 1:34 am

Re: [for devs]vpnserver.exe uses bind() API on 0.0.0.0?

Post by oscar » Fri Nov 20, 2026 4:46 am

solo wrote: ↑
Fri Nov 20, 2026 4:25 am

Code: Select all

	declare ServerConfiguration
	{
		...
		string ListenIP ::
		...
declare LocalBridgeList
{
bool EnableSoftEtherKernelModeDriver false <- take a note here
bool ShowAllInterfaces true
}
declare VirtualHUB
{
declare gcloud
{
...
declare Option
{
bool DisableIpRawModeSecureNAT true
bool DisableKernelModeSecureNAT true
bool DisableUserModeSecureNAT false
}
}
}
cd C:\Users\oscar\Desktop\ServerA , type nul > untrustedvpnserverausermode.bat
edit untrustedvpnserverausermode.bat with
cd C:\Users\oscar\Desktop\VPNServer
cd /d C:\Users\oscar\Desktop\VPNServer
sc delete SEVPNSERVER
runas /trustlevel:0x20000 "cmd.exe /k C:\Users\oscar\Desktop\VPNServer\VPNServer.exe /usermode_showtray"
cmd.exe /c netstat -a

Wait,
declare ServerConfiguration
{
...
string ListenIP ::
...
for SE5.0 ONLY,but in version 4.0 the string ListenIP deleted as soon as vpnserver.exe started?

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

Re: [for devs]vpnserver.exe uses bind() API on 0.0.0.0?

Post by solo » Fri Nov 20, 2026 4:51 am

yes

oscar
Posts: 165
Joined: Tue Oct 21, 2025 1:34 am

Re: [for devs]vpnserver.exe uses bind() API on 0.0.0.0?

Post by oscar » Fri Nov 20, 2026 5:28 am

solo wrote: ↑
Fri Nov 20, 2026 4:51 am
yes
https://github.com/SoftEtherVPN/SoftEtherVPN/pull/2331

it finally fully working on ALL androids thank you so much japanese devs,your soul never became cold in winter,as the word keep spreading directly via source code,people around the world reads and know what that means,thank you by the way again

oscar
Posts: 165
Joined: Tue Oct 21, 2025 1:34 am

Re: [for devs]vpnserver.exe uses bind() API on 0.0.0.0?

Post by oscar » Fri Nov 20, 2026 5:43 am

solo wrote: ↑
Fri Nov 20, 2026 4:51 am
yes
declare ServerConfiguration
{
...
string ListenIP ::
...

note: the 2 colons mean ipv6
can i

string ListenIP 10.1.1.1 [ipv4] here?

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

Re: [for devs]vpnserver.exe uses bind() API on 0.0.0.0?

Post by solo » Fri Nov 20, 2026 6:30 am

Yes but don't quote me anymore as I'm getting useless email notifications.

Your memory is so short... viewtopic.php?f=7&t=70058#p104668

oscar
Posts: 165
Joined: Tue Oct 21, 2025 1:34 am

Re: [for devs]vpnserver.exe uses bind() API on 0.0.0.0?

Post by oscar » Fri Nov 20, 2026 1:07 pm

https://github.com/SoftEtherVPN/SoftEth ... ssues/1309

Still,it ONLY changes
What ip address got traffic over vpnserver.exe
Not
vpnserver.exe will decide which 0.0.0.0/0 route for it's own outgoing traffic
https://github.com/SoftEtherVPN/SoftEth ... ssues/1559
QQ_2026-11-20_19-48-49.png
If it's a case matches B which is "decide which 0.0.0.0/0 route for it's own outgoing traffic vpnserver.exe" then it works

This is just a simple switch case in programming
You do not have the required permissions to view the files attached to this post.

oscar
Posts: 165
Joined: Tue Oct 21, 2025 1:34 am

Re: [for devs]vpnserver.exe uses bind() API on 0.0.0.0?

Post by oscar » Sun Nov 22, 2026 4:56 am

solo wrote: ↑
Fri Nov 20, 2026 4:25 am

Code: Select all

	declare ServerConfiguration
	{
		...
		string ListenIP ::
		...
does it even have a STRUCT string BindIP :: in network.c source code?

Please answer dev @Oscar_Inc with a
bool STRUCT string Bindip()
exists return value
Possible Answers:
A . bool STRUCT string Bindip() = TRUE
B . bool STRUCT string Bindip() = FALSE

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

Re: [for devs]vpnserver.exe uses bind() API on 0.0.0.0?

Post by solo » Sun Nov 22, 2026 6:09 am

I had asked you to stop quoting me.

Locked