Mikroitk-PPTP-Server
از ویکی پارس پویش
(تفاوت بین نسخهها)
(۷ ویرایش میانی توسط یک کاربر نشان داده نشدهاست) | |||
سطر ۱: | سطر ۱: | ||
<div dir=ltr> | <div dir=ltr> | ||
− | |||
<div dir=rtl lang=fa> | <div dir=rtl lang=fa> | ||
− | |||
</div> | </div> | ||
− | + | <div dir=ltr lang=en> | |
− | /interface pptp-server server set enabled=yes | + | '''PPTP Server Configuration:''' |
− | + | /interface pptp-server server set enabled=yes authentication=chap,mschap1,mschap2,pap keepalive-timeout=10 default-profile=default | |
− | /ppp profile set 0 local-address=172.16.16.11 dns-server=172.16.16.1 change-tcp-mss=yes | + | /ppp profile set 0 local-address=172.16.16.11 dns-server=172.16.16.1 change-tcp-mss=yes |
− | + | /ip firewall mangle add chain=forward action=change-mss new-mss=1300 tcp-flags=syn protocol=tcp | |
− | /ip firewall mangle add chain=forward action=change-mss new-mss=1300 tcp-flags=syn protocol=tcp | + | </div> |
− | + | ||
<div dir=rtl lang=fa> | <div dir=rtl lang=fa> | ||
− | |||
</div> | </div> | ||
− | /radius add address="172.16.16.1" accounting-port=1813 authentication-port=1812 secret="IBSng@!" service=ppp timeout=3s | + | '''Radius Server Configuration:''' |
− | + | /radius add address="172.16.16.1" accounting-port=1813 authentication-port=1812 secret="IBSng@!" service=ppp,hotspot timeout=3s | |
− | /ppp aaa set use-radius=yes accounting=yes interim-update=60 | + | /ppp aaa set use-radius=yes accounting=yes interim-update=60 |
− | + | /radius incoming set accept=yes | |
− | /radius incoming set accept=yes | + | /radius incoming set port=1700 |
− | + | ||
− | /radius incoming set port=1700 | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> |
نسخهٔ کنونی تا ۵ اکتبر ۲۰۱۲، ساعت ۰۰:۵۱
PPTP Server Configuration: /interface pptp-server server set enabled=yes authentication=chap,mschap1,mschap2,pap keepalive-timeout=10 default-profile=default /ppp profile set 0 local-address=172.16.16.11 dns-server=172.16.16.1 change-tcp-mss=yes /ip firewall mangle add chain=forward action=change-mss new-mss=1300 tcp-flags=syn protocol=tcp
Radius Server Configuration: /radius add address="172.16.16.1" accounting-port=1813 authentication-port=1812 secret="IBSng@!" service=ppp,hotspot timeout=3s /ppp aaa set use-radius=yes accounting=yes interim-update=60 /radius incoming set accept=yes /radius incoming set port=1700