binx wrotealexev wrotebinx wrote
May You help me? I have same problem. My OpenVPN server is placed behind router. I have forwarded corresponding port. But client can not conect to server.
configuration On the server
If your OPenVPN is placed behind a router you need to open the necesary ports in the router configuration, your server may be listening at 1195 port but the incomming conections will go first to the router that needs to allow those conections and forward/nat to your OPenVPN server.
But how can I recognize ports that needs for new connections from clients? May be is there any options in client configuration or server configuration?
Your config says the server is listening on port 1194, but unless the server itself has an 1to1 ip adressing, your clients are going to conect to the public IP of the router asking for tat port.
Your router needs to know that when he receives an incoming conection to (for example) 65.40.50.4:1194 he must pass it (nated) to your OPenVPN server to the same port.
I do not have much experiencie configuring such things in Windows enviroments so i cannot tell you exactly how to do it 🙁 (IP tables FTW)