If you're using Linux, disconnect from SSH and then copy the created files nordvpnauth.txt and downloadeded.
EDGEROUTER X VPN PASSWORD
Ssh will be asked to enter the password of your EdgeRouter.Ħ. PApL8PytggYKeQmRhl499+6jLxcZ2IegLfqq41dzIjwHwTMplg+1pKIOVojpWA=Ĥ. VPhBHVQ9LHBAdM8qFI2kRK0IynOmAZhexlP/aT/kpEsEPyaZQlnBn3An1CRz8h0S WDBM1mJChneHt59Nh8Gah74+TM1jBsw4fhJPvoc7Atcg740JErb904mZfkIEmojC NdcOe15BincrGA8avQ1cWXsfIKEjbrnEuEk9b5jel6NfHtPKoHc9mDpRdNPISeVa +RiNLeiENhk0oTC+UVdSc+n2nJOzkCK0vYu0Ads4JGIB7g8IB3z2t9ICmsWrgnhd K0t5u4YRXzEVCfXAC3ocplNdtCA72wjFJcSbfif4BSC8bDACTXtnPC7nD0VndZLp PyS5V14stGtw+fA0DJp5ZJV4eqJ5LqxMlYvEZ/qKTEdoCeaXv2QEmN6dVqjDoTAo K6a10rlsbK/eg//GHoJxDdXDOokLUSnxt7gk3QKpX6eCdh67p0PuWm/7WUJQxH2SĭxsT9vB/iZriTIEe/ILoOQF0Aqp7AgNCcLcLAmbxXQkXYCCSB35Vp06u+eTWjG0/ NQesFRtXY2ZCjs50Jm73B2LViL9qlREmI6vE5IC8IsRBJSV4ce1WYxyXro5rmVg/ SIb3DQEBDQUAA4ICAQC9fUL2sZPxIN2mD32VeNySTgZlCEdVmlq471o/bDMP4B8g LWae/Q4vAgMBAAGjHTAbMAwGA1UdEwQFMAMBAf8wCwYDVR0PBAQDAgEGMA0GCSqG MyzXCCn+JnWFDYPfDKHvpff/kLDobtPBf+Lbch5wQy9quY27xaj0XwLyjOltpiST WEjmUVRgCDd6Ne3eFRNS73gdv/C3l5boYySeu4exkEYVxVRn8DhCxs0MnkMHWFK6 Qt/+AR3YCY/RusWVBJB/qNS94EtNtj8iaebCQW1jHAhvGmFILVR9lzD0EzWKHkvy HPdvRTWCMJkeB4yBHyhxUmTRgJHm6YR3D6hcFAc9cQcTEl/I60tMdz33G6m0O42s MP+QgM54kezgziJUaZcOM2zF3lvrwMvXDMfNeIoJABv9ljw969xQ8czQCU5lMVmAģ7ltv5Ec9U5hZuwk/9QO1Z+d/r6Jx0mlurS8gnCAKJgwa3kyZw6e4FZ8mYL4vpRR SkEDsm6YoWDnn/IIzGOYnFJRzQH5jTz3j1QBvRIuQuBuvUkfhx1FEwhwZigrcxXu XMoDkXdCGBodvKJyU6lcfEVF6/UxHcbBguZK9UtRHS9eJYm3rpL/5huQMCppX7kUĮQ8dpCwd3iKITqwd1ZudDqsWaU0vqzC2H55IyaZ/5/TnCk31Q1UP6BksbbuRcwOV KfQIS1gql0aejsKsEnmY0Kaon8uZCTXPsRH1gQNgg5D2gixdd1mJUvV3dE3y9FJr HvcNAQEBBQADggIPADCCAgoCggIBAMkr/BYhyo0F2upsIMXwC6QvkZps3NN2/eQF MDEwMTAwMDAwMFoXDTM1MTIzMTIzNTk1OVowOTELMAkGA1UEBhMCUEE圎DAOBgNVīAoTB05vcmRWUE4xGDAWBgNVBAMTD05vcmRWUE4gUm9vdCBDQTCCAiIwDQYJKoZI MA4GA1UEChMHTm9yZFZQTjEYMBYGA1UEAxMPTm9yZFZQTiBSb290IENBMB4XDTE2 MIIFCjCCAvKgAwIBAgIBATANBgkqhkiG9w0BAQ0FADA5MQswCQYDVQQGEwJQQTEQ Your configured file should look like this: Change this line:Īuth-user-pass /config/openvpn/nordvpnauth.txt After downloading the server configuration, please open it, for example, 1194.ovpn, and modify it.
EDGEROUTER X VPN DOWNLOAD
Then download a server configuration file, and it will have all the information needed for this guide.ģ. In the server picker, click on the Show available protocols highlight. Go to our recommended server utility here. Copy the credentials using the buttons on the right.Ģ. You can find your NordVPN service credentials at the Nord Account. Open it and type in your NordVPN service username in the first line and NordVPN service password in the second line: Create a new file on your computer and call it nordvpnauth.txt.
EDGEROUTER X VPN HOW TO
Here are the instructions on how to set up an OpenVPN connection to NordVPN servers on EdgeRouter via SSH:ġ.
EDGEROUTER X VPN UPDATE
Instructions on how to update the router firmware can be found on the official Ubiquiti website here. If you are using an older version of the firmware, please update it before following this guide. Set system task-scheduler task init-vpn interval 5mħ.EdgeRouter routers with EdgeOS firmware version 2.0.9 and later support long passwords and can be used to establish a connection to our servers using the OpenVPN protocol. Set system task-scheduler task init-vpn executable path /config/scripts/cron-init-vpn.sh Configure cron to use the script configure Set the executive bit for that script chmod u+x /config/scripts/cron-init-vpn.shĦ. Create a script vi /config/scripts/cron-init-vpn.sh #!/bin/bashĥ. If you are facing the same problem which I did today here is the solution/workaround:ģ. For example if you have on the remote site surveilance cameras system which has to connect to the main site it is not possible to initiate a VPN connection from the main site. Normally this is a good idea to bring up the connection but sometimes there is connection starting from the remote site.
To establish a site-to-site VPN connection the remote site has to initiate a connection to the main subnet.