![]() Then hit Ctrl + o - you will be asked to write file - hit enter to save file - then Ctrl + x to close file and go back into shellĤ) create folder /etc/openvpn/torguard and add under it the ca.crt, ta.key from /downloads/ta.key and /downloads/ca.crt and create new file userpass.txt where in it put on first line your vpn username and second you vpn password.Ĭreate /etc/openvpn/torguard folder ( in ssh session into router - type - " mkdir /etc/openvpn/torguard " ( without parenthesis ) - in order to proceed - opkg install wget ( if you need to install wget ) Option ncp_ciphers 'AES-256-GCM:AES-128-GCM' Option tls_cipher 'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384' Option auth_user_pass '/etc/openvpn/torguard/userpass.txt' Option tls_auth '/etc/openvpn/torguard/ta.key 1' Sample of my /etc/config/openvpn config file - adjust yours as you see fit but stick with config from /tgconf.php?action=vpn-openvpnconfig as your basic guide -Ĭonfig openvpn 'TorGuard_AES256GCM_SHA256' SSH into router then type ( copy and paste ) -" nano /etc/config/openvpn " ( without parenthesis ) - erase all contents of file ( Ctrl + k ) and replace ( copy and paste ) with contents of config file you copied and downloaded earlier. ( if not already there / comes pre-installed in davidc502's builds ) Opkg install nano - if you need to install nano. To make this simpler - you can copy and paste the newly generated text file to a text file on your desktop and /or download config file to your desktop. Also installed on Lede stable.Ģ) Here you Generate OpenVpn config on /tgconf.php?action=vpn-openvpnconfig choosing openwrt.ģ) Login using ftp client like winscp to the router (openwrt) and the config file downloaded from the tool to be uploaded to box and renamed as /etc/config/openvpn These are necessary - Luci is GUI frontend for Openwrt - it comes pre-installed with davidc502's firmware. ( ssh command - opkg install openvpn-openssl luci-app-openvpn ) Then search for openvpn and install openvpn-openssl and luci-app-openvpn. ![]() Thank you, can you check if the steps below works ok for youġ) Then in Luci Gui go to System > Software, do update first ( ssh command opkg update ) This guide will work Guaranteed if you follow instructions step by step. I have added a few edits in order to make this more comprehensible and easier to implement. I also tested this with Lede stable firmware ( current version 17.01.4 ) found here - /downloads -Īnyway - here we go - this is Mike's detailed original answer to my inquiry concerning my request for assistance in setting up OpenVpn on OpenWrt /Lede. For full list of packages see Dave's configuration seed found here - /releases/ed - However, the guide tutorial here will work on any and every OpenWrt/ Lede firmware based router. I use davidc502 firmware which is described as Moderately Customized LEDE Development Builds found here - /releases/ and here - /snapshots/ - davidc502's forum found here - /viewtopic.php?id=64949&p=164b - Dave's builds are for Linksys WRT1900AC v1 Linksys WRT1900AC v2 Linksys WRT1900ACS Linksys WRT3200ACM Linksys WRT1200AC models ONLY !!! One of the many benefits of using Dave's custom firmware is that it comes with many pre-installed and configured software packages - including OpenVpn and Dnscrypt - I use both in conjunction on my router. In advance, I want to thank the excellent support team at TorGuard ( especially Mike & Andy ) for assisting me with getting my Lede/Openwrt VPN router up and running. OK - I decided to put this up on the TorGuard Forum as I could not find a tutorial anywhere with specific step by step instructions for getting Torguard OPENVPN working with OpenWrt/ Lede. LEDE TORGUARD OPENVPN TUTORIAL - ADD Https:// in front of links below ( links = BOLD TEXT )
0 Comments
Leave a Reply. |