VPN (Virtual Private Network): Difference between revisions

From AbahDoku Wiki
No edit summary
No edit summary
Line 1: Line 1:
===Referensi===
https://www.wireguard.com/
https://trailofbits.github.io/algo/client-macos-wireguard.html
=L2TP | Koneksi L2TP pada Armbian Linux=
=L2TP | Koneksi L2TP pada Armbian Linux=
==Install Network Manager (NM) dengan L2TP==
==Install Network Manager (NM) dengan L2TP==

Revision as of 01:04, 6 February 2024

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]