User Tools

Site Tools


computing:vpnserver

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
computing:vpnserver [2020/03/23 01:11] oemb1905computing:vpnserver [2020/04/08 17:09] oemb1905
Line 33: Line 33:
   ssh root@192.168.1.1   ssh root@192.168.1.1
   opkg update   opkg update
-  opkg install zip openvpn-easy-rsa openvpn-openssl nano wget nmap tcpdump curl luci-ssl+  opkg install gzip openvpn-easy-rsa openvpn-openssl nano wget nmap tcpdump curl luci-ssl
   opkg list-upgradable   opkg list-upgradable
   opkg upgrade <package>   opkg upgrade <package>
Line 163: Line 163:
   sudo openvpn connect-to-vpn.ovpn   sudo openvpn connect-to-vpn.ovpn
      
-Since you did not suppress standard output, you should get the following the message, "Initialization Sequence Completed," to indicate a successful connection.  Your vpn-server is now complete, and you can repeat the steps for building client keys stated above for other workstations/users.+Since you did not suppress standard output, you should get the following the message, "Initialization Sequence Completed," to indicate a successful connection.  Your vpn-server is now complete, and you can repeat the steps for building client keys stated above for other workstations/users.  Also, if you need to automate the setup, you can use something like these scripts, which I tweaked a lot, from OpenWrt's wiki: 
 + 
 +  * [[https://repo.haacksnetworking.com/oemb1905/haackingclub/-/blob/master/vpnstuff/vpn-server-script.sh|vpn-server-scripts.sh]] 
 +  * [[https://repo.haacksnetworking.com/oemb1905/haackingclub/-/blob/master/vpnstuff/vpn-client-script.sh|vp-client-scripts.sh]]
  
 -- -- -- -- --  -- -- -- -- --