Mikroitk-PPTP-Server
از ویکی پارس پویش
(تفاوت بین نسخهها)
سطر ۱۱: | سطر ۱۱: | ||
</div> | </div> | ||
'''#Radius Server Configuration:''' | '''#Radius Server Configuration:''' | ||
− | /radius add address="172.16.16.1" accounting-port=1813 authentication-port=1812 secret="IBSng@!" service=ppp timeout=3s | + | /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