OPENVPN (da finire) - Giancky79/proxmox GitHub Wiki

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:

  1.  apt update -y && apt upgrade -y && reboot
    
  2.  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

⚠️ **GitHub.com Fallback** ⚠️