On Thu, 17 Feb 2011 18:46:35 +0200, Guy Sapir sapirguy@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