Pyrithe Hi, In general, I use OpenVPN simply, to make working poitn to point VPN. I have to make it working with a server and 5 clients. But clients have to connect by anywhere (by exemple, a hotel hotspot). So I want to use a common port like 443, if possible. I don't find how to make it work, I am loosing beetween all explains I found on several forums... If someone could help me, Thx a lot!!! 🙂
Traffic The very best place to start is the HOWTO Your setup is as simple as it can be other than .. you require to use --proto tcp-server and --proto tcp-client and --port 443. Other than that, everything else is as the sample configs will show you.
lexus45 Hello. You used these howtos: https://openvpn.net/index.php/open-source/documentation/howto.html#quick https://openvpn.net/index.php/open-source/documentation/miscellaneous/78-static-key-mini-howto.html Now you need a little bit more complicated configuration, not point-to-point: 1. Creating Certificate Authority and generating certificates and keys for one server and multiple clients: https://openvpn.net/index.php/open-source/documentation/howto.html#pki 2. Creating configuration files for server and clietns: https://openvpn.net/index.php/open-source/documentation/howto.html#config 3. If needed, use next links after recommended, from this page https://openvpn.net/index.php/open-source/documentation/howto.html (in case you need some extra routing or attaching specific ip addresses to concrete VPN clients). To change the listening port, you need to specify 'port 443'. Maybe you want to use 443/TCP, not default UDP, though it's not recommended.
Pyrithe Ok, thx for your answers. It worked very well!! Only one thing doesn't work : I tried a configuration on 443 port : OK But with UDP protocole. I want to make it work on 443 port, with TCP. When I change proto on both server/client, I have this error : TCP: connect to [AF_INET]XX.XXX.XX.XXX:443 failed, will try again in 5 seconds: The system tried to join a drive to a directory on a joined drive" Any idea? FYI, I have last stable OpenVPN version. Thx