VPN

How to Setup Your Own WireGuard VPN Server
How to Setup Your Own WireGuard VPN Server

This article will guide you to setting up your own WireGuard VPN server using Ubuntu 22.04 server on a cheap ~$6 VPS and use it as your internet gateway.

New Stage of Internet Censorship in Indonesia: DPI & TCP Reset Attack
New Stage of Internet Censorship in Indonesia: DPI & TCP Reset Attack

Unlike before that using DNS filtering, several upstreams have performed a TCP Reset Attack to block access to websites that are considered illegal. And why you (especially Indonesian) should care for this mess.

Set Up IKEv2 VPN Server and Clients
Set Up IKEv2 VPN Server and Clients

As a prerequisite to using this guide, and before continuing, you must make sure that you have successfully set up your own IPsec VPN server, and upgraded Libreswan to the latest version due to CVE-2019-10155. This for advanced users only. Other users please use IPsec/L2TP or IPsec/XAuth mode.

Configure IPsec/XAuth VPN Clients
Configure IPsec/XAuth VPN Clients

IPsec/XAuth mode is also called “Cisco IPsec”. This mode is generally faster than IPsec/L2TP with less overhead. IPsec/XAuth ("Cisco IPsec") is natively supported by Android, iOS, and MacOS. There is no additional software to install for them.

Configure IPsec/L2TP VPN Clients
Configure IPsec/L2TP VPN Clients

This is the next part after you successfully set up your own IPsec VPN server. Following these steps allow you to configure your Android, iOS, MacOS, and Linux machine using IPsec/L2TP VPN.

IPsec/L2TP is natively supported by Android, iOS, OS X, and Windows, so there is no additional software to install for them. Setup should only take a few minutes. For Linux users, additional L2TP network manager package needs to be installed.

IPsec (L2TP, XAuth, IKEv2) VPN Server Auto Setup
IPsec (L2TP, XAuth, IKEv2) VPN Server Auto Setup

A few years ago, I’ve found this gem which allow us to set up our own IPsec VPN server with L2TP, XAuth and IKEv2 on Ubuntu, Debian and CentOS distro.