This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking:router:mikrotik_vpn_pptp [2017/07/05 09:17] 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: |
http:// | http:// | ||
Line 10: | Line 10: | ||
===== Enable PPTP Server ===== | ===== Enable PPTP Server ===== | ||
+ | |||
+ | FIXME Needs updating for newer RouterOS, but still works. | ||
{{ : | {{ : | ||
Line 20: | Line 22: | ||
* Encrypted | * Encrypted | ||
- | ===== Create | + | ===== Create |
+ | |||
+ | **PPP -> Secrets** | ||
+ | |||
+ | * **Name** | ||
+ | * Username | ||
+ | * **Password** | ||
+ | * **Service** | ||
+ | * '' | ||
+ | * **Local Address** | ||
+ | * Same for all users | ||
+ | * Router' | ||
+ | * **Remote Address** | ||
+ | * Different for each user | ||
+ | * Outside of DHCP range | ||
+ | * **Profile** | ||
+ | * '' | ||
+ | |||
+ | ===== For Multiple Users ===== | ||
{{ : | {{ : | ||
Line 30: | Line 50: | ||
**PPP -> Profiles -> Default-Encryption** | **PPP -> Profiles -> Default-Encryption** | ||
- | |||
- | {{ : | ||
* Local Address (LAN address of router) | * Local Address (LAN address of router) | ||
* Same for all users | * Same for all users | ||
- | * Remote Address (PPTPpool) | + | * Remote Address (PPTPpool) |
* Pool you created | * Pool you created | ||
Line 41: | Line 59: | ||
* Specify profile (Default-Encryption) | * Specify profile (Default-Encryption) | ||
- | |||
- | |||
- | ===== Create Single Users ===== | ||
- | |||
- | **PPP -> Secrets** | ||
- | |||
- | * **Name** | ||
- | * Username | ||
- | * **Password** | ||
- | * **Service** | ||
- | * '' | ||
- | * **Local Address** | ||
- | * Same for all users | ||
- | * Router' | ||
- | * **Remote Address** | ||
- | * Different for each user | ||
- | * Outside of DHCP range | ||
- | * **Profile** | ||
- | * '' | ||
===== Proxy-ARP ===== | ===== Proxy-ARP ===== | ||
- | :!: Enable Proxy-ARP on the LAN interface for proper | + | :!: 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 | + | **Bridge -> YourLanBridge |
===== Firewall ===== | ===== Firewall ===== | ||
- | **PPTP** | + | {{ : |
+ | |||
+ | **PPTP** | ||
* 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 | ||
< | < | ||
- | /ip firewall filter add chain=input action=accept protocol=tcp dst-port=1723 comment=" | + | /ip firewall filter add chain=input action=accept protocol=tcp dst-port=1723 comment=" |
- | /ip firewall filter add port chain=input action=accept protocol=gre comment=" | + | /ip firewall filter add chain=input action=accept protocol=gre comment=" |
</ | </ | ||
+ | |||
+ | ===== Client Connection ===== | ||
+ | |||
+ | See also **[[networking: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ |