General Service

از ویکی پارس پویش
(تفاوت بین نسخه‌ها)
پرش به: ناوبری, جستجو
(صفحه‌ای جدید حاوی 'جهت سهولت تنظیمات شبکه می توانید از این سرویس استفاده نمایید. [[Image:General_service.png...' ایجاد کرد)
 
 
(۱۶ ویرایش میانی توسط یک کاربر نشان داده نشده‌است)
سطر ۶: سطر ۶:
  
  
در ابتدا می بایستی تنظیمات اولیه را انجام دهید.منظور از تنظیمات اولیه تعریف آدرس شبکه سرور Ras ,IBSng و بانک ها می باشد.از منو فوق گزینه Configuration را انتخاب نمایید.
+
از منو فوق گزینه Configuration را انتخاب نمایید.
 +
 
  
 
[[Image:General_configuration.png|center|700px]]
 
[[Image:General_configuration.png|center|700px]]
 +
 +
 +
در ابتدا می بایستی تنظیمات اولیه را انجام دهیم.منظور از تنظیمات اولیه تعریف آدرس شبکه سرور Ras ,IBSng و بانک ها می باشد.
 +
  
 
<div dir="ltr">
 
<div dir="ltr">
 +
  '''[general]'''
 +
  ###################################################
 
   Docs:http://wiki2.parspooyesh.com/index.php/General
 
   Docs:http://wiki2.parspooyesh.com/index.php/General
 
   Set Lan ip,Ras ip,Bank ip
 
   Set Lan ip,Ras ip,Bank ip
 +
  ###################################################
 +
  IBS_Lan_IP="172.16.16.1";
 +
  ras1="172.16.16.11";
 +
  ras2="172.16.16.12";
 +
  Bank_ip1="81.91.159.169";
 +
  Bank_ip2="79.170.146.133";
 +
  Bank_ip3="212.80.25.14";
 
</div>
 
</div>
IBS_Lan_IP="172.16.16.1";
 
ras1="172.16.16.11";
 
ras2="172.16.16.12";
 
Bank_ip1="81.91.159.169";
 
Bank_ip2="79.170.146.133";
 
Bank_ip3="212.80.25.14";
 
  
در این سرویس ما می توانیم چندین Profile تعریف نماییم.
+
در این قسمت  می توانیم چندین Profile تعریف نماییم.هر پروفایل تنظیمات خاصی را انجام می دهد.  
  
+
<div dir="ltr">
 +
  '''[Failed user Profile]'''
 +
  ###############################################################
 +
  #Routing & Iptables Configure Failed Users
 +
  #Sample:fprofile1...n=('Ras name' 'pool1' 'pool2' 'pool3' ....)
 +
  ###############################################################
 +
  fprofile1=( 'ras1' '172.30.11.0/24' '172.31.11.0/24' '172.32.11.0/24')
 +
 
  
Failed user Profile:
+
'''[Failed user Profile with Tunnel]'''
 +
###############################################################
 +
#Routing & Iptables Configure Failed Users With Tunnel ipip
 +
#Sample:tfprofile1...n=('name tunnel' 'Local ip' 'Remote ip' 'tunnel ip' 'pool')
 +
###############################################################
 +
tfprofile1=('azadi' '1172.16.16.1' '172.16.16.11' '192.168.253.2' '172.31.11.0/24')
  
###############################################################
+
'''[User Profile]'''
#Routing & Iptables Configure Failed Users
+
###############################################################
#Sample:fprofile1...n=('Ras name' 'pool1' 'pool2' 'pool3' ....)
+
#Routing & Iptables Configure Users
###############################################################
+
#Sample:uprofile1...n=('y/n:nat pool' 'y/n:Return  Plan' 'y/n:Nat Ras ip' 'Ras name' 'pool1' 'pool2' 'pool3' ....)
fprofile1=( 'ras1' '172.30.11.0/24' '172.31.11.0/24' '172.32.11.0/24')
+
###############################################################
 +
uprofile1=( 'y' 'y' 'y' 'ras1' '172.20.11.0/24' '172.21.11.0/24')
  
 
  
استاندارد تعریف پروفابل Failed به شرح ذیل می باشد.
+
'''[Statis Route]'''
 +
###############################################################
 +
#Add Static Route
 +
#Sample:rprofile1...n=('gw' 'network' 'network' 'network' ....)
 +
###############################################################
 +
rprofile1=('192.168.11.1' '172.28.0.0/24')
  
fprofile1...n=('Ras name' 'pool1' 'pool2' 'pool3' ....)
+
'''[Static Command]'''
 +
###############################################################
 +
#Add Static Command
 +
#Sample:cprofile1...n=('command')
 +
###############################################################
 +
cprofile1=('iptables -t nat -nvL')
  
+
</div>
 
+
+
 
+
Failed user Profile with Tunnel:
+
 
+
+
 
+
###############################################################
+
#Routing & Iptables Configure Failed Users With Tunnel ipip
+
#Sample:tfprofile1...n=('name tunnel' 'Local ip' 'Remote ip' 'tunnel ip' 'pool')
+
###############################################################
+
tfprofile1=('azadi' '1172.16.16.1' '172.16.16.11' '192.168.253.2' '172.31.11.0/24')
+
 
+
استاندارد تعریف پروفابلTunnel برای  کاربران  Failed به شرح ذیل می باشد.
+
 
+
tfprofile1...n=('name tunnel' 'Local ip' 'Remote ip' 'tunnel ip' 'pool')
+
 
+
+
 
+
User Profile :
+
 
+
###############################################################
+
#Routing & Iptables Configure Users
+
#Sample:uprofile1...n=('y/n:nat pool' 'y/n:Return  Plan' 'Ras name' 'pool1' 'pool2' 'pool3' ....)
+
###############################################################
+
uprofile1=( 'n' 'y'  'ras1' '172.30.11.0/24' '172.31.11.0/24')
+
 
+
استاندارد تعریف پروفابل برای کاربران اینترنت به شرح ذیل می باشد.
+
 
+
uprofile1...n=('y/n:nat pool' 'y/n:Return  Plan' 'Ras name' 'pool1' 'pool2' 'pool3' ....)
+

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

جهت سهولت تنظیمات شبکه می توانید از این سرویس استفاده نمایید.


General service.png


از منو فوق گزینه Configuration را انتخاب نمایید.


General configuration.png


در ابتدا می بایستی تنظیمات اولیه را انجام دهیم.منظور از تنظیمات اولیه تعریف آدرس شبکه سرور Ras ,IBSng و بانک ها می باشد.


 [general]
 ###################################################
 Docs:http://wiki2.parspooyesh.com/index.php/General
 Set Lan ip,Ras ip,Bank ip
 ###################################################
 IBS_Lan_IP="172.16.16.1";
 ras1="172.16.16.11";
 ras2="172.16.16.12";
 Bank_ip1="81.91.159.169";
 Bank_ip2="79.170.146.133";
 Bank_ip3="212.80.25.14";

در این قسمت می توانیم چندین Profile تعریف نماییم.هر پروفایل تنظیمات خاصی را انجام می دهد.

 [Failed user Profile]
 ###############################################################
 #Routing & Iptables Configure Failed Users
 #Sample:fprofile1...n=('Ras name' 'pool1' 'pool2' 'pool3' ....)
 ###############################################################
 fprofile1=( 'ras1' '172.30.11.0/24' '172.31.11.0/24' '172.32.11.0/24')
 
[Failed user Profile with Tunnel]
###############################################################
#Routing & Iptables Configure Failed Users With Tunnel ipip
#Sample:tfprofile1...n=('name tunnel' 'Local ip' 'Remote ip' 'tunnel ip' 'pool')
###############################################################
tfprofile1=('azadi' '1172.16.16.1' '172.16.16.11' '192.168.253.2' '172.31.11.0/24')
[User Profile]
###############################################################
#Routing & Iptables Configure Users
#Sample:uprofile1...n=('y/n:nat pool' 'y/n:Return  Plan' 'y/n:Nat Ras ip' 'Ras name' 'pool1' 'pool2' 'pool3' ....)
###############################################################
uprofile1=( 'y' 'y' 'y' 'ras1' '172.20.11.0/24' '172.21.11.0/24')


[Statis Route]
###############################################################
#Add Static Route
#Sample:rprofile1...n=('gw' 'network' 'network' 'network' ....)
###############################################################
rprofile1=('192.168.11.1' '172.28.0.0/24')
[Static Command]
###############################################################
#Add Static Command
#Sample:cprofile1...n=('command')
###############################################################
cprofile1=('iptables -t nat -nvL')
ابزارهای شخصی

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