Tag Archives: pptp

install PPTP VPN on Gentoo server

First, Install the necessary components

Note: PPP should be supported by Linux Kernel. If your Kernel doesn’t support PPP, you need to re-compile it.

Modify /etc/ppp/options.pptpd

unmark below section and use google DNS

create username, password for VPN access, modify /etc/ppp/chap-secrets

Then modify system settings for IP forward.

Unmark below sections:

Then add ip forward rules, modify /etc/sysctl.conf and add

Save and execute

Add iptable rules

Start iptable and pptp

Start the service when system start