1
edit
Changes
no edit summary
Note: If you are unable to connect to the VPN after following the above steps, it is possibly due to the firewall restricting access. To check if that is the case, turn off the firewall temporarily with <code>sudo systemctl stop firewalld</code> and attempt to the connect to the VPN. Turn the firewall back on afterwards with <code>sudo systemctl start firewalld</code>.
== Setting up VPN via command line ==
Add a new basic vpn using nmcli:
nmcli conn add con-name EHL type vpn vpn-type pptp
Edit ''/etc/NetworkManager/system-connections/EHL'' and add following lines:
[connection]
...
autoconnect=true
[vpn]
...
gateway=morocco.proximity.on.ca
user=[Your VPN Username]
password-flags=0
[vpn-secrets]
password=[Your VPN Password]
[ipv6]
method=auto
[ipv4]
method=auto
route1=172.16.172.0/24,172.16.172.254,0
ignore-auto-dns=true
ignore-auto-routes=true
never-default=true
Reload configuration file:
nmcli conn reload
Turn on the VPN connection:
nmcli conn up EHL
== Firewall Adjustment ==