The configuration is applied after you pressed save. Set interfaces switch switch0 firewall in modify SOURCE_ROUTE Set firewall modify SOURCE_ROUTE rule 10 modify table 1 Set firewall modify SOURCE_ROUTE rule 10 source address 192.168.1.0/24 Set firewall modify SOURCE_ROUTE rule 10 description 'traffic from 192.168.1.0/24 to vtun0' Set protocols static table 1 interface-route 0.0.0.0/0 next-hop-interface vtun0 Set service nat rule 5000 type masquerade Set service nat rule 5000 outbound-interface vtun0 Set service nat rule 5000 description 'OpenVPN Clients' Set interfaces openvpn vtun0 description 'OpenVPN VPN tunnel' Set interfaces openvpn vtun0 config-file /config/auth/.ovpn # REPLACE .ovpn with the filename that you download! Log in with the username ubnt and the password of your EdgeRouter.Ĭonfigure #enters configuration mode on your EdgeRouter. Open Putty and connect to your EdgeRouter. Upload the username password file that we created in step 1 and the configuration file from step 4 to the new folder.Open the config folder – and create a new folder with the name auth. You will now see a lot more folder, including config. Click on the root folder icon to navigate to the root of the EdgeRouter. By default, you will be in the folder /home/ubnt. On the right side in WinSCP, you will see the file on your EdgeRouter. Open WinSCP and connect to your router: enter the IP address of the router (If you don’t know the Ip Address of your router you can check this article), and your username and password:Ĭlick on Login, you will get a security warning and a warning from the EdgeRouter itself. Now we need to upload the file to our router.– Add below the auth-user-pass line the following: route-nopull – Change auth-user-pass to auth-user-pass /config/auth/vpnauth.txt
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |