-
Notifications
You must be signed in to change notification settings - Fork 5
OPENVPN (da finire)
Giancky79 edited this page Jun 24, 2022
·
6 revisions
Info lxc:
-
Debian 11
-
Non privilegiato
Features da attivare:
-
Nessuno
Da shell proxmox aggiungere la seguente configurazione:
-
nano /etc/pve/lxc/<id-lxc>.conf
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net dev/net none bind,create=dir
Comandi per installazione:
-
apt update -y && apt upgrade -y && reboot
-
wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
configurazione
pct pull percorso percorso
scp root@ip-proxmox:/percorso/file /percorso/file
nano /etc/ssh/sshd_config
PermitRootLogin yes
systemctl restart ssh
nano /etc/openvpn/server/server.conf
push "dhcp-option DNS 10.8.0.1"
systemctl restart openvpn-server@server