for example: /usr/sbin/openvpn -daemon ovpn-tun -status /run/openvpn/tun. Which should return the command line arguments passed to openvpn including the path to the config file. To find the config file of your running openvpn process, you can use the command ps fawux | grep openvpn ovpn and be placed in: C:\Program Files\OpenVPN\config\īut it can also be located any where else and specified when invoked from the command line like this: openvpn -config /home/user/nf On Windows the config should normally have the file ending. On Linux the config should normally have the file ending. Or when openvpn is directly invoked from the command line with the parameter -port: openvpn -port 1194 The openvpn server port is defined using the port directive either in a config file like this: port 1194 The configuration of openvpn-as is handled by a script: /usr/local/openvpn_as/bin/ovpn-init With OpenVPN Access Server, you will want to have incoming ports TCP 22 (optional - for maintenance purposes), TCP 443, TCP 943, TCP 945 (optional - for clustering purposes), and UDP 1194 open assuming default settings. You can find the port for example using grep: grep -rE "(: /" /usr/local/openvpn_as I doubt pfSense will change the default from the officially-assigned port any time soon. ![]() ![]() The openvpn-as port is logged in the file /usr/local/openvpn_as/init.log I run OpenVPN at 443 for my use as well, but the default will always be 1194 which is the officially-assigned-by-the-IANA OpenVPN port number (see IANA port list and Wikipedia port list ).
0 Comments
Leave a Reply. |