vpn
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| vpn [2015/12/27 13:04] – created fe80:f840:deb4:bbc3:6582:0245:a3a6:8124 | vpn [2017/10/21 08:51] (current) – fe80:a01f:f991:9991:a229:fec6:a8a5:1c99 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| mknod / | mknod / | ||
| chmod 600 / | chmod 600 / | ||
| + | | ||
| + | install ocserv 0.10.12: | ||
| + | |||
| + | < | ||
| + | wget ftp:// | ||
| + | tar xvf ocserv-0.10.12.tar.xz | ||
| + | apt-get install build-essential pkg-config libgnutls28-dev libreadline-dev libseccomp-dev libwrap0-dev libnl-nf-3-dev liblz4-dev | ||
| + | make && make install | ||
| + | apt-get install gnutls-bin | ||
| + | </ | ||
| + | |||
| + | ===== Anyconnect ===== | ||
| + | |||
| + | |||
| + | |||
| + | http:// | ||
| + | https:// | ||
| + | | ||
| + | | ||
| + | < | ||
| + | Description: | ||
| + | Release: | ||
| + | Release Date: | ||
| + | File Name: | ||
| + | Size: 7.55 MB (7917056 bytes) | ||
| + | MD5 Checksum: | ||
| + | SHA512 Checksum: | ||
| + | 44635f944c3326039f7572481832fb20fd2ea3adfd7397ac8a8451eee7a6624d982e46bdb13585a5dc544943b2db6155328c7a0f97a7487efa8705c5130f5b0b | ||
| + | |||
| + | Snapshot: https:// | ||
| + | Link: https:// | ||
| + | </ | ||
| + | |||
| + | ===== OpenVPN ===== | ||
| + | |||
| + | installation: | ||
| + | |||
| + | < | ||
| + | apt-get install openvpn easy-rsa | ||
| + | gunzip -c / | ||
| + | sed -i 's/^dh dh1024.pem/ | ||
| + | sed -i ' | ||
| + | push " | ||
| + | </ | ||
| + | |||
| + | server.conf directives: | ||
| + | |||
| + | < | ||
| + | loca | ||
| + | proto #can both udp and tcp | ||
| + | ca | ||
| + | cert | ||
| + | key | ||
| + | dh dh2048.pem | ||
| + | server | ||
| + | push " | ||
| + | push " | ||
| + | cipher | ||
| + | auth SHA256 | ||
| + | </ | ||
| + | |||
| + | cert: | ||
| + | |||
| + | < | ||
| + | make-cadir ~/ | ||
| + | export KEY_NAME=" | ||
| + | ./build-ca | ||
| + | ./ | ||
| + | ./build-dh | ||
| + | openvpn --genkey --secret keys/ta.key | ||
| + | ./build-key client1 | ||
| + | </ | ||
| + | |||
| + | firewall: | ||
| + | |||
| + | -A POSTROUTING -s 10.8.0.0/8 -o wlp11s0 -j MASQUERADE | ||
vpn.1451221472.txt.gz · Last modified: by fe80:f840:deb4:bbc3:6582:0245:a3a6:8124
