Skip to content

Netsec VPN on Kali VM

reubenajohnston edited this page Feb 25, 2022 · 8 revisions

NS-Public vpn on Kali VM

  • To setup ns-public vpn, install openvpn using: $ sudo apt-get install openvpn
  • Next, edit /etc/network/interfaces and add these lines: allow-hotplug tap0 iface tap0 inet dhcp
  • Reload and restart networking using $ sudo systemctl daemon-reload && sudo systemctl restart networking
  • Start openvpn manually using: $ sudo openvpn --config YOUROVPNFILENAME.ovpn

You should now see a tap0 device and you should be able to ping nodes on ns-public (e.g., 172.16.0.10)

Clone this wiki locally