From 70938c3b15fc9a736d9c17bf5ea0842e450a0b61 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Tue, 9 Apr 2024 18:45:48 +0300 Subject: [PATCH] dvbern forticlient setup + vscode --- linux/setup forticlient.sh | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/linux/setup forticlient.sh b/linux/setup forticlient.sh index 6e2b526..80fe0bb 100644 --- a/linux/setup forticlient.sh +++ b/linux/setup forticlient.sh @@ -1,6 +1,17 @@ #wget https://links.fortinet.com/forticlient/deb/vpnagent #wget https://filestore.fortinet.com/forticlient/forticlient_vpn_7.0.7.0246_amd64.deb apt update -sudo su -apt install openfortivpn -openfortivpn vpn.gateway.one:10443 -u 'Dobromir Popov' --trusted-cert bd26362cc802a27102fcdbf7e7e9328f3dede58aa44c125ede4aadb9e39da8c8 +apt install -y openfortivpn ppp +openfortivpn vpn.gateway.one:10443 -u 'dobromir.popov@gateway.one' --trusted-cert bd26362cc802a27102fcdbf7e7e9328f3dede58aa44c125ede4aadb9e39da8c8 + + +#ERROR: pppd: The kernel does not support PPP, for example, the PPP kernel driver is not included or cannot be loaded. +docker run --cap-add=NET_ADMIN your_image + privileged: true + cap_add: + - NET_ADMIN + +# useradd popov +# passwd popov +# usermod -aG sudo popov +code --no-sandbox --user-data-dir /home/popov/.config/Code \ No newline at end of file