In this post we will setup a PPTP VPN on Ubuntu 16.04
Disable IPv6 Networking:
Edit the grub config:
1
|
|
Make the following changes:
1 2 |
|
Update Grub and Reboot:
1 2 |
|
Updates and Install PPTP:
Update Repositories and install PPTPD:
1 2 |
|
Configure your Authentication
1
|
|
1 2 |
|
Configure Local and Remote IP, in this case I want 10.1.1.2 to 10.1.5.1-254
1
|
|
1 2 3 4 5 6 7 |
|
Enable IP Forwarding:
Edit the sysctl.conf and enable IP Forwarding:
1
|
|
Populate the following value:
1
|
|
Update the Changes:
1
|
|
Enable and Start PPTPD:
Enable the service on boot and start the service:
1 2 3 |
|
Connect to your VPN.