Sharing a Port with SoftEther and a Web Server

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
vlho
Posts: 1
Joined: Wed Apr 25, 2018 9:18 am

Sharing a Port with SoftEther and a Web Server

Post by vlho » Wed Apr 25, 2018 9:26 am

Hi all,

on OpenVPN Server I can share port that allows it to pass any non-OpenVPN traffic to another IP behind the firewall,
see here:
https://doc.pfsense.org/index.php/Shari ... Web_Server

Is it possible on SoftEther Server?
Thank you.

thisjun
Posts: 2817
Joined: Mon Feb 24, 2014 11:03 am

Re: Sharing a Port with SoftEther and a Web Server

Post by thisjun » Wed May 16, 2018 8:48 am

SoftEther VPN Server doesn't have such function.

qupfer
Posts: 202
Joined: Wed Jul 10, 2013 2:07 pm

Re: Sharing a Port with SoftEther and a Web Server

Post by qupfer » Wed May 16, 2018 1:21 pm

On a linux system, you can try protocol multiplexer like "sslh".
https://github.com/yrutschle/sslh

For example, I have the domain mydomain.de, and the subdomain vpn.mydomain.de (which is just a CNMAE for mydomain.de)
My sslh.cfg looks like:
---
# Default Arch configuration
# You can find more examples in /usr/share/doc/sslh

timeout: 2;

listen:
(
{ host: "10.10.10.10"; port: "443"; }
);

protocols:
(
{ name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; probe: "builtin"; }, #ssh
{ name: "openvpn"; host: "localhost"; port: "1194"; probe: "builtin"; }, #openvpn (not realy used)
{ name: "tls"; host: "localhost"; port: "25555"; sni_hostnames: [ "vpn.mydomain.de" ]; }, #softether redirect (SNI for detection)
{ name: "ssl"; host: "localhost"; port: "4443"; probe: "builtin"; }, #real SSL for nginx
);

# vim:set ts=4 sw=4 et:

Post Reply