General Service
از ویکی پارس پویش
(تفاوت بین نسخهها)
| سطر ۴۸: | سطر ۴۸: | ||
############################################################### | ############################################################### | ||
uprofile1=( 'n' 'y' 'ras1' '172.30.11.0/24' '172.31.11.0/24') | uprofile1=( 'n' 'y' 'ras1' '172.30.11.0/24' '172.31.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') | ||
نسخهٔ ۷ نوامبر ۲۰۱۲، ساعت ۱۲:۱۹
جهت سهولت تنظیمات شبکه می توانید از این سرویس استفاده نمایید.
در ابتدا می بایستی تنظیمات اولیه را انجام دهیم.منظور از تنظیمات اولیه تعریف آدرس شبکه سرور Ras ,IBSng و بانک ها می باشد.از منو فوق گزینه Configuration را انتخاب نمایید.
[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' 'Ras name' 'pool1' 'pool2' 'pool3' ....)
###############################################################
uprofile1=( 'n' 'y' 'ras1' '172.30.11.0/24' '172.31.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')