Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
vpn_client [2020/07/28 23:42]
lbrpdx [Tips and tricks]
vpn_client [2020/07/29 00:17] (current)
lbrpdx
Line 20: Line 20:
   * Select the VPN server you want to connect to, and find the associated openVPN configuration file. For example here, I want to connect to a VPN hosted in France, and will select the configuration file ''/userdata/openvpn/ovpn_udp/fr661.nordvpn.com.udp.ovpn''. Edit this file, find the line that states ''auth-user-pass'' and append your authentication credentials file path to it:   * Select the VPN server you want to connect to, and find the associated openVPN configuration file. For example here, I want to connect to a VPN hosted in France, and will select the configuration file ''/userdata/openvpn/ovpn_udp/fr661.nordvpn.com.udp.ovpn''. Edit this file, find the line that states ''auth-user-pass'' and append your authentication credentials file path to it:
  
-  auth-user-pass /userdata/system/ovpn/auth.txt+  auth-user-pass /userdata/system/openvpn/auth.txt
  
   * Save the file... and now your VPN configuration is done! To connect to the VPN, just launch the command line:   * Save the file... and now your VPN configuration is done! To connect to the VPN, just launch the command line:
  
-  openvpn /userdata/system/openvpm/ovpn_udp/fr661.nordvpn.com.udp.ovpn+  openvpn /userdata/system/openvpn/ovpn_udp/fr661.nordvpn.com.udp.ovpn
  
 ====Tips and tricks==== ====Tips and tricks====
  
   * You can verify that you are correctly connected to the VPN by checking your public IP address before and after ''openvpn'' is started by using the command ''curl ifconfig.me''   * You can verify that you are correctly connected to the VPN by checking your public IP address before and after ''openvpn'' is started by using the command ''curl ifconfig.me''
-  * If you want to start up your VPN connection every time Batocera boots, you can add the command ''openvpn /userdata/system/openvpm/ovpn_udp/fr661.nordvpn.com.udp.ovpn &'' to the local custom startup script ''/userdata/system/custom.sh'' -- this will be the very last process fired up in the boot sequence+  * If you want to start up your VPN connection every time Batocera boots, you can add the command ''openvpn /userdata/system/openvpn/ovpn_udp/fr661.nordvpn.com.udp.ovpn &'' to the local custom startup script ''/userdata/system/custom.sh'' -- this will be the very last process fired up in the boot sequence
  
  
  
  
  • vpn_client.txt
  • Last modified: 7 days ago
  • by lbrpdx