Open-SSTP-Client icon indicating copy to clipboard operation
Open-SSTP-Client copied to clipboard

No option to set static custom ip settigs

Open AMajor-C opened this issue 2 years ago • 3 comments

Please add a feature to set static ip settings

AMajor-C avatar Sep 13 '22 07:09 AMajor-C

You cannot specify IP addresses directly to use the SSTP connection

mfoolady avatar Oct 14 '22 09:10 mfoolady

You cannot specify IP addresses directly to use the SSTP connection

Really ? say it to built-in client for windows or Mikrotik's ROS

AMajor-C avatar Oct 14 '22 10:10 AMajor-C

Since 2016, the CA/Browser Forum made SSL certificates for private IP/reserved IP and local server name with a non-public domain name suffix invalid and asked certificate authorities to revoke any such SSL certificates. Because such reserved IP addresses and local server names (intranet) are not unique, they are easy to impersonate by attackers to commit man-in-the-middle attacks and get unauthorized access to the data. Hence, publicly trusted certificate authorities can no longer secure such IPs. You can get a self-signed SSL certificate for private IPs and intranet addresses, though.

mfoolady avatar Oct 14 '22 10:10 mfoolady

But I use Softether clients with Ip. Its configured only SSTP!

maziarkabir avatar Nov 01 '22 07:11 maziarkabir

Softether VPN protocol (ethernet over HTTPS) is different from MS-SSTP VPN

mfoolady avatar Nov 01 '22 08:11 mfoolady

I want this feature too, other clients support ip settings without a domain.

xumingxin7398 avatar Nov 18 '22 23:11 xumingxin7398

Which address will be assigned should be handled by a server side. And this kind of feature is not implemented in Windows-built-in client and SoftEther's.

kittoku avatar Nov 19 '22 01:11 kittoku

изображение изображение

Which address will be assigned should be handled by a server side. And this kind of feature is not implemented in Windows-built-in client and SoftEther's.

Srsly ? Then what is that ?

AMajor-C avatar Nov 23 '22 06:11 AMajor-C

My bad. I didn't see the lower layer.

But I am still hesitating to implement a feature like this. I think that an IP address should be assigned according to an user's ID (like MAC address in DHCP) and I don't want to add a feature for maintainability unless it's needed by significantly many users.

kittoku avatar Nov 23 '22 07:11 kittoku

My bad. I didn't see the lower layer.

But I am still hesitating to implement a feature like this. I think that an IP address should be assigned according to an user's ID (like MAC address in DHCP) and I don't want to add a feature for maintainability unless it's needed by significantly many users.

Sounds nice BUT softether's virtualnat doesnt support username-ip binding or mac-ip binding it is cause why i requested the feature.

AMajor-C avatar Nov 23 '22 07:11 AMajor-C

Please try osc-static.apk and use Static IPv4 Address preference.

kittoku avatar Nov 24 '22 10:11 kittoku

Please try osc-static.apk and use Static IPv4 Address preference.

I have tested and it works good thak you.

AMajor-C avatar Nov 24 '22 11:11 AMajor-C

BTW can you add option 33 and 252 accepting from server's dhcp ? 33 - pushes routes 252 - proxy settings

AMajor-C avatar Nov 24 '22 11:11 AMajor-C

This client doesn't have DHCP stack. So maybe I couldn't do that.

kittoku avatar Nov 24 '22 11:11 kittoku

This client doesn't have DHCP stack. So maybe I couldn't do that.

Oh got it. I see you also added http proxy option that's nice what do you think about socks?

AMajor-C avatar Nov 25 '22 18:11 AMajor-C

I won't implement it at least this time. I need knowledge, time and necessity.

Please notice we are getting off-topic.

kittoku avatar Nov 26 '22 02:11 kittoku