Ubuntu VPN server setting (PPTP)

Ubuntu VPN server setting (PPTP)

Setting up server

  1. Download pptpd .
  2. Edit /etc/pptpd.conf .
  3. Edit /etc/ppp/pptpd-options .
  4. Register users. Edit /etc/ppp/chap-secrets . Add users in following syntax.
  5. Restart pptp service
  6. Allow IP forwarding. Edit /etc/sysctl.conf .
  7. Setup NAT
    1. For the Internet connectivity
    2. For connectivity between VPN clients (0ptional).

Setting up MAC client

See [this link].

Leave a Reply