https://wiki.mikrotik.com/index.php?title=PPTPServer&feed=atom&action=historyPPTPServer - Revision history2024-03-28T10:30:10ZRevision history for this page on the wikiMediaWiki 1.38.2https://wiki.mikrotik.com/index.php?title=PPTPServer&diff=5864&oldid=prevNormis at 09:40, 31 October 20072007-10-31T09:40:14Z<p></p>
<p><b>New page</b></p><div>A minimalistic HowTo for using a MT Router OS as PPTP-Server, based on 2.9.x. Use it on your own risk.<br />
<br />
I prefer bridge-groups as they are always up and one can add physical interfaces later. The '''arp=proxy-arp''' is important.<br />
<br />
'''N.B.'''<br />
8 Oct 2007: "''set gre disabled=no''" is not active on RouterOS 3.0rc5<br />
<br />
<pre><br />
/ interface ethernet <br />
set ether1 name="ether1"<br />
<br />
/ interface bridge <br />
add name="lan" arp=proxy-arp<br />
<br />
/ interface bridge port <br />
add interface=ether1 bridge=lan<br />
<br />
/ ip address <br />
add address=192.168.0.1/24 interface=lan<br />
<br />
/ ip dns <br />
allow-remote-requests=yes<br />
<br />
/ ip firewall service-port <br />
set gre disabled=no <br />
set pptp disabled=no <br />
<br />
/ ip pool <br />
add name="pptp" ranges=192.168.0.200-192.168.0.229 <br />
<br />
/ ppp profile <br />
add name="pptp-in" local-address=192.168.0.1 remote-address=pptp use-encryption=required only-one=yes change-tcp-mss=yes dns-server=192.168.0.1<br />
<br />
/ interface pptp-server server <br />
set enabled=yes max-mtu=1460 max-mru=1460 authentication=chap,mschap1,mschap2 default-profile=pptp-in <br />
<br />
/ ppp secret <br />
add name="user-1" service=pptp password="******" profile=pptp-in<br />
add name="user-2" service=pptp password="******" profile=pptp-in<br />
# ...<br />
</pre><br />
<br />
[[Category:VPN]]</div>Normis