[stunnel-users] openvpn with stunnel

Jean-Yves F. Barbier 12ukwn at gmail.com
Thu Feb 17 19:01:08 CET 2011


On Thu, 17 Feb 2011 18:46:35 +0200, Guy Sapir <sapirguy at gmail.com> wrote:

> Is it possible to use openvpn on port 80 or 443 using stunnel so the packets
> on openvpn will be wrapped as http or https pure packets.
> What should I do in the config file.

Neither, alone though.

OpenVPN uses UDP (you can set it up to use TCP, but its efficiency is not very
good.)
To achieve your goal, you'll also need http-tunnel (hopefully, if you're under
m$, it also exists.)

Procedure example for m$ RDP forwarding under HTTPS:
SVR:
accept  = 127.0.0.1:6666
connect = 3389
http-tunnel forwards 127.0.0.1:6666 to port 443
CLI:
accept  = 127.0.0.1:6666
connect = 127.0.0.1:7777
http-tunnel forwards ports 7777 to serverIP:443

-- 
Use in well-ventilated area.



More information about the stunnel-users mailing list