--port-share on Windows Server

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
graufl
OpenVpn Newbie
Posts: 1
Joined: Fri Sep 10, 2010 3:53 pm

--port-share on Windows Server

Post by graufl » Fri Sep 10, 2010 3:56 pm

I tried to setup a port sharing by specifying the following parameter in the config file
port-share <hostname> 443

Which resulted in the following log line
Options error: Unrecognized option or missing parameter(s) in server.ovpn:306: port-share (2.1.3)

Tried it with the version 2.1.3 under Windows 2000 downloaded today (10th Sept 2010)

Is this feature not supported for windows hosts?

Thanks
Horst

User avatar
krzee
Forum Team
Posts: 729
Joined: Fri Aug 29, 2008 5:42 pm

Re: --port-share on Windows Server

Post by krzee » Mon Sep 13, 2010 4:34 am

from the man page:

--port-share host port
When run in TCP server mode, share the OpenVPN port with another application, such as an HTTPS server. If OpenVPN senses a connection to its port which is using a non-OpenVPN protocol, it will proxy the connection to the server at host:port. Currently only designed to work with HTTP/HTTPS, though it would be theoretically possible to extend to other protocols such as ssh.
Not implemented on Windows.

Post Reply