Posts for: #Openvpn

Disabling IPv6 on Ubuntu 19.04 when connecting to VPN

Disabling IPv6 on Ubuntu 19.04 when connecting to VPN

I recently noticed that when I connect to VPN from Pop_OS (based on Ubuntu 19.10), the communication continues on the regular adapter via IPv6 in addition to the VPN interface.

This is obviously not ideal, because if we’re using the VPN for privacy, this leaks our IP address and we can be traced back without any effort. The best solution would be to completely disable IPv6 address assignment at the kernel level (by editing GRUB), but I generally use it for other purposes, so I only want to disable it when I’m connected to the VPN.

[Read more]

Installing OpenVPN server on Ubuntu server

Installing OpenVPN server on Ubuntu server

I searched the internet a lot before a friend recommended this script, with which you can easily set up your own secure OpenVPN server.

What you’ll need:

  • PuTTY or any other SSH client capable of establishing a connection
  • A server/VPS running Ubuntu 18.04 or 19.04
  • For VPS: enabled TUN/TAP modules
  • Minimal command-line knowledge

 

First, you need to download the script, which you can do by running the following command:


curl -O https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh && chmod +x openvpn-install.sh

Run the script with root privileges:

[Read more]