duminică, 19 decembrie 2021

Ubuntu 20.04 - A few things to do

1) Connect to VPN

In order for a VPN PPTP connection to work, you must do the following:

1) Edit /etc/ufw/before.rules

2) Add the following lines before segment # drop INVALID packets …
# gre
-A ufw-before-input -p 47 -j ACCEPT
-A ufw-before-output -p 47 -j ACCEPT

3) Save file

4) Restart ufw:
sudo ufw disable
sudo ufw enable

Now, a VPN client can be created from Network menu