User Tools

Site Tools


networking:router:mikrotik_vpn_pptp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:router:mikrotik_vpn_pptp [2017/07/05 09:14]
gcooper
networking:router:mikrotik_vpn_pptp [2018/06/25 10:45] (current)
gcooper
Line 1: Line 1:
 ====== Mikrotik PPTP VPN ====== ====== Mikrotik PPTP VPN ======
  
-FIXME Needs verification and completion+See also **[[networking:router:mikrotik_vpn|Mikrotik VPN Notes]]**
  
 http://wiki.mikrotik.com/wiki/Manual:Interface/PPTP#Server_configuration http://wiki.mikrotik.com/wiki/Manual:Interface/PPTP#Server_configuration
Line 11: Line 11:
 ===== Enable PPTP Server ===== ===== Enable PPTP Server =====
  
-{{ :networking:router:mikrotik_vpn_pptp_1.png?250|Enable PPTP Server}}+FIXME Needs updating for newer RouterOS, but still works. 
 + 
 +{{ :networking:router:mikrotik_vpn_pptp_1.png?255|Enable PPTP Server}}
  
 **PPP -> Interface -> PPTP Server -> Enable** **PPP -> Interface -> PPTP Server -> Enable**
Line 20: Line 22:
     * Encrypted     * Encrypted
  
-===== Create IP Pool for Multiple Users ===== +===== Create Single User =====
- +
-{{ :networking:router:mikrotik_vpn_pptp_2.png?300|PPTP IP Address Pool}} +
- +
-**IP -> Pool -> Add** +
- +
-  * Name (PPTPpool) +
-  * Range of addresses (192.168.1.10-192.168.1.20) +
- +
-**PPP -> Profiles -> Default-Encryption** +
- +
-{{ :networking:router:mikrotik_vpn_pptp_3.png?300|Default-Encryption Profile}} +
- +
-  * Local Address (LAN address of router) +
-    * Same for all users +
-  * Remote Address (PPTPpool) +
-    * Pool you created +
- +
-**PPP -> PPTP Server -> Secrets** +
- +
-  * Specify profile (Default-Encryption) +
- +
- +
-===== Create Single Users =====+
  
 **PPP -> Secrets** **PPP -> Secrets**
Line 60: Line 39:
   * **Profile**   * **Profile**
     * ''default-encryption''     * ''default-encryption''
 +
 +===== For Multiple Users =====
 +
 +{{ :networking:router:mikrotik_vpn_pptp_2.png?255|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) {{ :networking:router:mikrotik_vpn_pptp_3.png?255|Default-Encryption Profile}}
 +    * Pool you created
 +
 +**PPP -> PPTP Server -> Secrets**
 +
 +  * Specify profile (Default-Encryption)
  
 ===== Proxy-ARP ===== ===== Proxy-ARP =====
  
-:!: Enable Proxy-ARP on the LAN interface for proper (layer 2 addressARP resolution.+:!: Enable Proxy-ARP on the **LAN interface** for proper layer-2 address ARP resolution.
  
 **Interfaces -> etherN -> General -> ARP -> Proxy-ARP** **Interfaces -> etherN -> General -> ARP -> Proxy-ARP**
  
-:!: If you use a LAN bridge, modify that.+:!: If you use a **LAN bridge**, modify that.
  
-**Bridge -> Dbl click LAN Bridge -> General -> ARP -> Proxy-ARP**+**Bridge -> YourLanBridge -> General -> ARP -> Proxy-ARP**
  
 ===== Firewall ===== ===== Firewall =====
  
-**PPTP** uses:+{{ :networking:router:mikrotik_vpn_pptp_4.png?750 |PPTP VPN Firewall Rules}} 
 + 
 +**PPTP** utilizes:
  
   * TCP port 1723   * TCP port 1723
Line 79: Line 80:
  
 Accept PPTP in Mikrotik: Accept PPTP in Mikrotik:
- 
-:!: Needs testing for added comment= and place-before= options 
  
 <file> <file>
-/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 chain=input action=accept protocol=tcp dst-port=1723 comment="PPTP VPN 1723" place-before=0 
-/ip firewall filter add port chain=input action=accept protocol=gre comment="PPTP VPN gre" place-before=0+/ip firewall filter add chain=input action=accept protocol=gre comment="PPTP VPN - GRE" place-before=0
 </file> </file>
 +
 +===== Client Connection =====
 +
 +See also **[[networking:windows:windows_vpn|Windows VPN Notes]]**
 +
 +{{ :networking:router:mikrotik_vpn_pptp_5.png?300 |Windows 8.1 PPTP Connection}}
 +
 +
networking/router/mikrotik_vpn_pptp.1499267682.txt.gz · Last modified: 2017/07/05 09:14 by gcooper