SoftEtherVPN icon indicating copy to clipboard operation
SoftEtherVPN copied to clipboard

[Feature request] Wildcard use in adminip.txt

Open akuropka opened this issue 2 years ago • 4 comments

I was also feeling a bit troubled that there's no chance for using a separate port dedicated for administration. References: https://github.com/SoftEtherVPN/SoftEtherVPN/issues/460, https://github.com/SoftEtherVPN/SoftEtherVPN/issues/467

However, I was coming across the usage of adminip.txt as outlined here: Restricting by IP Address of Remote Administration Connection Source IPs.

While a wildcard (*) is accepted to allow all IPs for one or all HUBs I am not able to allow certain subnets. E.g. it would be very helpful to use 192.168.178.0, 192.168.178.*, 192.168.178 or similar to allow certain subnets. It would be a hassle to add all IPs of a subnet.

akuropka avatar Aug 13 '22 10:08 akuropka

If we add such feature, subnet mask would be better than asterisk wildcard.

metalefty avatar Aug 16 '22 03:08 metalefty

Hi, sorry maybe not the correct place, but I want also use the adminip.txt, but where I must place it? in which path?

I have installed softether-vpnserver over apt (Ubuntu 22.04)

and I tried:

/usr/libexec/softether/vpnserver/

/usr/bin/

but no success.

Thank you in advance

gregor-hh avatar Aug 30 '22 17:08 gregor-hh

@gregor-hh If you built SoftEtherVPN with custom directories, the place is SE_DBDIR, the same location with lang.config file.

See also: https://github.com/SoftEtherVPN/SoftEtherVPN/blob/808f081e3a7cb7c06a423439a4f6a5ed571f4afb/src/BUILD_UNIX.md#specify-log-config-pid-directories

metalefty avatar Aug 31 '22 00:08 metalefty

@gregor-hh If you built SoftEtherVPN with custom directories, the place is SE_DBDIR, the same location with lang.config file.

See also: https://github.com/SoftEtherVPN/SoftEtherVPN/blob/808f081e3a7cb7c06a423439a4f6a5ed571f4afb/src/BUILD_UNIX.md#specify-log-config-pid-directories

@metalefty Thank You very much, that was the trick 👍 it works, awesome!

Regards

gregor-hh avatar Sep 01 '22 19:09 gregor-hh