VPN (Virtual Private Network): Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
===Referensi=== | ===Referensi=== | ||
https://www.wireguard.com/ | https://www.wireguard.com/ |
Revision as of 00:44, 31 January 2024
Referensi
https://www.wireguard.com/ https://trailofbits.github.io/algo/client-macos-wireguard.html
L2TP | Koneksi L2TP pada Armbian Linux
Install Network Manager (NM) dengan L2TP
Tambahkan repository
add-apt-repository ppa:nm-l2tp/network-manager-l2tp apt-get install network-manager-l2tp
Buat koneksi baru VPN L2TP dengan command berikut :
nmcli connection add connection.id [VPNConnectionName] con-name [VPNConnectionName] type VPN vpn-type l2tp ifname -- connection.autoconnect no ipv4.method auto vpn.data "gateway = [ipv4], ipsec-enabled = yes, ipsec-psk = 0s"$(base64 <<<'[PSK]' | rev | cut -c2- | rev)"=, mru = 1400, mtu = 1400, password-flags = 0, refuse-chap = yes, refuse-mschap = yes, refuse-pap = yes, require-mppe = yes, user = [user]" vpn.secrets password=[user-password]