User Tools

Site Tools


networking:router:mikrotik_vpn_pptp

This is an old revision of the document!


Mikrotik PPTP VPN

Enable PPTP Server

Enable PPTP Server

PPP → Interface → PPTP Server → Enable

  • MTU (1460)
  • MRU (1460)
  • Authentication (MSCHAPv2)
    • Encrypted

Create IP Pool for Multiple Users

PPTP IP Address Pool

IP → Pool → Add

  • Name (PPTPpool)
  • Range of addresses (192.168.1.10-192.168.1.20)

PPP → Profiles → Default-Encryption

  • Local Address (LAN address of router)
    • Same for all users
  • Remote Address (PPTPpool) Default-Encryption Profile
    • Pool you created

PPP → PPTP Server → Secrets

  • Specify profile (Default-Encryption)

Create Single Users

PPP → Secrets

  • Name
    • Username
  • Password
  • Service
    • pptp
  • Local Address
    • Same for all users
    • Router's LAN address
  • Remote Address
    • Different for each user
    • Outside of DHCP range
  • Profile
    • default-encryption

Proxy-ARP

:!: Enable Proxy-ARP on the LAN interface for proper layer-2 address ARP resolution.

Interfaces → etherN → General → ARP → Proxy-ARP

:!: If you use a LAN bridge, modify that.

Bridge → YourLanBridge → General → ARP → Proxy-ARP

Firewall

PPTP uses:

  • TCP port 1723
  • GRE (protocol ID 47) for tunneling

Accept PPTP in Mikrotik:

:!: Needs testing for added comment= and place-before= options

/ip firewall filter add chain=input action=accept protocol=tcp dst-port=1723 comment="PPTP VPN port 1723" place-before=0
/ip firewall filter add port chain=input action=accept protocol=gre comment="PPTP VPN gre" place-before=0
networking/router/mikrotik_vpn_pptp.1499268233.txt.gz · Last modified: 2017/07/05 09:23 by gcooper