Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
computing:vpnserver [2020/03/23 01:11] – oemb1905 | computing:vpnserver [2020/04/08 17:09] – oemb1905 |
---|
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> |
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]] |
| |
-- -- -- -- -- | -- -- -- -- -- |