User Tools

Site Tools


computer:openvpn

Set up ''openvpn'' connection to lab network in ubuntu

  • Generate <name>.ovpn file (<name> stands for something meaningful you can decide) from the IPFire web interface and copy it to the computer you want to access the VPN network with.
  • Copy the file and the <host>.p12 file to /etc/openvpn and rename it to <name>.conf
  • Edit file <name>.conf
    • make sure that the remote line looks like
   remote emp-lab-gw2 1194
  • and change the line
    pkcs12 <host>.p12

to

    pkcs12 /etc/openvpn/<host>.p12
  • run sudo systemctl daemon-reload
  • the ovpn service can be controlled with

sudo service openvpn@<name> [start|stop|status]

computer/openvpn.txt · Last modified: 2022/01/14 18:44 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki