Mikroitk-PPTP-Server

از ویکی پارس پویش
(تفاوت بین نسخه‌ها)
پرش به: ناوبری, جستجو
سطر ۵: سطر ۵:
 
</div>
 
</div>
 
<div dir=ltr lang=en>
 
<div dir=ltr lang=en>
  /interface pptp-server server set enabled=yes max-mtu=1488 max-mru=1488 authentication=chap,mschap1,mschap2,pap keepalive-timeout=10 default-profile=default
+
  /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>
 
<div dir=rtl lang=fa>
 
<div dir=rtl lang=fa>
حال Radius Server  را تعریف می نماییم
+
حال تنظیمات مربوط به  Radius Server  را انجام می دهیم
 
</div>
 
</div>
/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 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
  
 
   
 
   

نسخهٔ ‏۴ اکتبر ۲۰۱۲، ساعت ۲۲:۳۸

Mikrotik Configure

با دستورات فوق سرویس مورد نظر فعال می گردد:

/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 را انجام می دهیم

/radius add address="172.16.16.1" accounting-port=1813 authentication-port=1812 secret="IBSng@!"  service=ppp timeout=3s
/ppp aaa set use-radius=yes accounting=yes interim-update=60
/radius incoming set accept=yes
/radius incoming set port=1700




  1. IBSng Configure

Seting>>Ras List>>Add new Ras



ابزارهای شخصی

گویش‌ها
فضاهای نام
عملکردها
گشتن
جعبه‌ابزار