Hi,
I have only port 443 available for vpn connection.
I found the following which allow me to use it with HAProxy but it requires to have Softether only run on localhost ( and not start listening on all interfaces & IP's )
https://314es.pl/https-openvpn-and-ssh- ... to-haproxy
Now , I found that post which says that we can configure the IP listening address in Softether config file , but I'm not really sure the patch was integrated in the official release ? ( I'm using v4.31-9727-beta )
https://github.com/SoftEtherVPN/SoftEtherVPN/pull/202
Thanks for your insights !
Force Softether to run only on localhost / listen on 1 IP
-
- Posts: 2
- Joined: Thu May 21, 2020 7:01 am
-
- Posts: 97
- Joined: Mon May 25, 2020 4:38 am
- Location: Quebec, Canada
Re: Force Softether to run only on localhost / listen on 1 IP
I have a similar setup.
Basically I have a HAProxy on a Pfsense box with a frontend (ssl/https) listening on port 443, and a backend listening to my softether's server ip on port 443.
If everything is on the same server, setup the HAProxy frontend to use 443 and make the backend listen to another port (let's say 5555) and make softether listen on 5555.
This way, the client will hit the HAProxy frontend on port 443 but will be forwarded inside your server to softether on port 5555.
Basically I have a HAProxy on a Pfsense box with a frontend (ssl/https) listening on port 443, and a backend listening to my softether's server ip on port 443.
If everything is on the same server, setup the HAProxy frontend to use 443 and make the backend listen to another port (let's say 5555) and make softether listen on 5555.
This way, the client will hit the HAProxy frontend on port 443 but will be forwarded inside your server to softether on port 5555.
-
- Posts: 2
- Joined: Thu May 21, 2020 7:01 am
Re: Force Softether to run only on localhost / listen on 1 IP
Thanks a lot,
the solution is pretty easy .
I did though to siable the port listening on 443...
All set then, Thanks a lot !
the solution is pretty easy .
I did though to siable the port listening on 443...
All set then, Thanks a lot !
-
- Posts: 97
- Joined: Mon May 25, 2020 4:38 am
- Location: Quebec, Canada
Re: Force Softether to run only on localhost / listen on 1 IP
Very glad I could help!