Skip to content

Instantly share code, notes, and snippets.

@phantomic12
Last active September 19, 2022 21:19
Show Gist options
  • Select an option

  • Save phantomic12/27d3891ecccb22c0fdbc43f178edc651 to your computer and use it in GitHub Desktop.

Select an option

Save phantomic12/27d3891ecccb22c0fdbc43f178edc651 to your computer and use it in GitHub Desktop.
use ubuntu 20.04 or else libssl breaks, run as root
apt update
apt install cockpit firewalld wget ca-certificates net-tools gnupg -y
systemctl start cockpit
ufw allow 943/tcp
firewall-cmd --permanent --zone=public --add-port=943/tcp
wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add -
echo "deb http://as-repository.openvpn.net/as/debian focal main">/etc/apt/sources.list.d/openvpn-as-repo.list
apt update
apt install openvpn-as -y
passwd openvpn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment