سلام
شما مراحل نصب رو از روي خود راهنمايي موجود در اي بي اس ان جي نصب كنيد حتما كار مي كنه در ضمن سرويس هم مي خواد حتما بياد نصب باشه
Printable View
سلام
شما مراحل نصب رو از روي خود راهنمايي موجود در اي بي اس ان جي نصب كنيد حتما كار مي كنه در ضمن سرويس هم مي خواد حتما بياد نصب باشه
دوستان براي نصب ibsng بهترين سيستم عامل چي هست؟منظورم راحت ترين براي نصب و بهترين براي كار كردن با ibs .
fedora يا debian يا centos؟
يا اصلا فرقي نميكنه؟
بنده فدورا و centos رو ترجیح میدم.
البته centos در اولویت قرار داره.
هیچ فرقی نداره.
سلام
خیلی خیلی ممنون از جناب gitex عزیز بابت راهنمایی های مفیدشون که زحمت کشیدند
بلاخره برنامه IBSng رو نصب کردم و اجرا شد
یوزر هم ساختم و کانکت شد
منتهی وقتی میخوام صفحه ای رو باز کنم هیچی باز نمیشه انگار کیلوبایتی ردو بدل نمیشه
مشکل از چی میتونه باشه؟
باز هم ممنون
IP Forward
سلام.
ip forward رو بررسی کنید. dns رو هم بررسی کنید. میتونه از عوامل مختلفی باشه که باید بررسی بشه.
اینجا رو ببینید:
[url=http://www.parspooyesh.com/wiki/index.php?title=Pppd_Ras_%28poptop%29]Pppd Ras (poptop) - Parspooyesh[/url]
سلام
تقریبا تمام تنظیمات مربوطه رو انجام دادم
وقتی میخواد کانکت بشه ارور 619 میده
و یک سوال داخل فایل [COLOR=black][FONT="]/[/FONT][/COLOR][COLOR=black][FONT="]e[/FONT][/COLOR][COLOR=black][FONT="]t[/FONT][/COLOR][COLOR=black][FONT="]c[/FONT][/COLOR][COLOR=black][FONT="]/[/FONT][/COLOR][COLOR=black][FONT="]r[/FONT][/COLOR][COLOR=black][FONT="]a[/FONT][/COLOR][COLOR=black][FONT="]d[/FONT][/COLOR][COLOR=black][FONT="]i[/FONT][/COLOR][COLOR=black][FONT="]u[/FONT][/COLOR][COLOR=black][FONT="]s[/FONT][/COLOR][COLOR=black][FONT="]c[/FONT][/COLOR][COLOR=black][FONT="]li[/FONT][/COLOR][COLOR=black][FONT="]e[/FONT][/COLOR][COLOR=black][FONT="]n[/FONT][/COLOR][COLOR=black][FONT="]t[/FONT][/COLOR][COLOR=black][FONT="]/[/FONT][/COLOR][COLOR=black][FONT="]s[/FONT][/COLOR][COLOR=black][FONT="]e[/FONT][/COLOR][COLOR=black][FONT="]r[/FONT][/COLOR][COLOR=black][FONT="]v[/FONT][/COLOR][COLOR=black][FONT="]e[/FONT][/COLOR][COLOR=black][FONT="]r[/FONT][/COLOR][COLOR=black][FONT="]s[/FONT][/COLOR]
که قرار هست یک ایپی و یک رمز بدیم که با برنامه IBSng ست کنیم گفته شده ای پی رو بزنید 127.0.0.1 ایا همین رو من باید وارد کنم یا ای پی VPS?
یک اموزش کامل پیدا کردم که قسمت هایی از نصب رو از روی اون پیش رفتم که براتون قرار میدم
تمام مراحل کار از ابتدا تا انتها مشخص شده است
این هم اموزشی که قول داده بودم خدمتون
[url=http://rapidshare.com/files/414806317/how_to_install_IBSng_pptpd.pdf]RapidShare: 1-CLICK Web hosting - Easy Filehosting[/url]
تمام توضیحات کامل داخلش هست
منتهی بعضی از ادرس هایی که برای نصب پکیج ها داده شده موجود نیست که باید خودتون پیدا کنید فقط مسیرش یک مقداری عوض شده
تمام تنظیمات ip forward و غیره همه داخلش توضیح داده شده قدم به قدم
ولی در انتها بنده خطای 619 میگیرم
تنظیمات فایل options.pptpd
[LEFT][CODE]
lock
debug
name pptpd
proxyarp
nobsdcomp
nodeflate
#+mschap
#-chap
#-pap
+mschap-v2
require-mppe-128
ms-dns 4.2.2.4
plugin radius.so
lcp-echo-interval 20
lcp-echo-failure 6
nologfd
#mtu 1496
#nomppe-lower-mtu
#connect-delay 5000
[/CODE][RIGHT]تنظیمات فایل pptpd.conf
[LEFT][CODE]
###############################################################################
# $Id: pptpd.conf,v 1.10 2006/09/04 23:30:57 quozl Exp $
#
# Sample Poptop configuration file /etc/pptpd.conf
#
# Changes are effective when pptpd is restarted.
###############################################################################
# TAG: ppp
# Path to the pppd program, default '/usr/sbin/pppd' on Linux
#
#ppp /usr/sbin/pppd
# TAG: option
# Specifies the location of the PPP options file.
# By default PPP looks in '/etc/ppp/options'
#
option /etc/ppp/options.pptpd
logwtmp
localip 192.168.0.1
remoteip 192.168.10.100-200
# TAG: debug
# Turns on (more) debugging to syslog
#
#debug
# TAG: stimeout
# Specifies timeout (in seconds) on starting ctrl connection
#
# stimeout 10
# TAG: noipparam
# Suppress the passing of the client's IP address to PPP, which is
# done by default otherwise.
#
#noipparam
# TAG: logwtmp
# Use wtmp(5) to record client connections and disconnections.
#
# TAG: bcrelay <if>
# Turns on broadcast relay to clients from interface <if>
#
#bcrelay eth1
# TAG: delegate
# Delegates the allocation of client IP addresses to pppd.
#
# Without this option, which is the default, pptpd manages the list of
# IP addresses for clients and passes the next free address to pppd.
# With this option, pptpd does not pass an address, and so pppd may use
# radius or chap-secrets to allocate an address.
#
#delegate
# TAG: connections
# Limits the number of client connections that may be accepted.
#
# If pptpd is allocating IP addresses (e.g. delegate is not
# used) then the number of connections is also limited by the
# remoteip option. The default is 100.
#connections 100
# TAG: localip
# TAG: remoteip
# Specifies the local and remote IP address ranges.
#
# These options are ignored if delegate option is set.
#
# Any addresses work as long as the local machine takes care of the
# routing. But if you want to use MS-Windows networking, you should
# use IP addresses out of the LAN address space and use the proxyarp
# option in the pppd options file, or run bcrelay.
#
# You can specify single IP addresses seperated by commas or you can
# specify ranges, or both. For example:
#
# 192.168.0.234,192.168.0.245-249,192.168.0.254
#
# IMPORTANT RESTRICTIONS:
#
# 1. No spaces are permitted between commas or within addresses.
#
# 2. If you give more IP addresses than the value of connections,
# it will start at the beginning of the list and go until it
# gets connections IPs. Others will be ignored.
#
# 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,
# you must type 234-238 if you mean this.
#
# 4. If you give a single localIP, that's ok - all local IPs will
# be set to the given one. You MUST still give at least one remote
# IP for each simultaneous client.
#
# (Recommended)
[/CODE][RIGHT]تنظیمات فایل radiusclient.conf
[LEFT][CODE]
auth_order radius,local
login_tries 4
login_timeout 60
nologin /etc/nologin
issue /etc/radiusclient/issue
authserver localhost:1812
acctserver localhost:1813
servers /etc/radiusclient/servers
dictionary /etc/radiusclient/dictionary
login_radius /usr/sbin/login.radius
seqfile /var/run/radius.seq
mapfile /etc/radiusclient/port-id-map
default_realm
radius_timeout 10
radius_retries 3
login_local /bin/login
[/CODE]
[RIGHT]بقیه تنظیمات فایل ها داخل اون آموزش پست بالا که گزاشتم کامل هست
[/RIGHT]
[/LEFT]
[/RIGHT]
[/LEFT]
[/RIGHT]
[/LEFT]
سلام
مشکل خطای 619 رو هم حل کردم داخل لوگ در این مسیر var/log/messages
نوشته بود که
Plugin /usr/lib/pptpd/pptpd-logwtmp.so is for pppd version 2.4.3, this is 2.4.4
باید دستور logwtmp رو در فایل /etc/pptpd.conf دیسبل میکردم که درست شد
منتهی الان خطای 691 میده و داخل IBSng هم لوگ ذخیره میشه و مینویسه کانکت هست
حالا باز با این ارور 691 چه کنیم؟
فایل option خالی کنید و فقط دستور lock وارد کنید.
[QUOTE=darklove;272617]فایل option خالی کنید و فقط دستور lock وارد کنید.[/QUOTE]
ممنون وصل شد منتها الان هر یوزری بزنم وصل میشه و اصلا کاری به پسوردش نداره و اینکه با اکانتینگ IBSng , و بدون اون هیچ فرقی نداره و هیچ بایتی هم سند و رسیو نمیشه
دوستان، من طبق آموزش PDF سرور لینوکس و IBSng رو نصب و کانفیگ کردم. این کار رو هم زمان و عینا در 4 تا سرور انجام دادم. پس از تنظیمات، یک Group و یک User برای تست ساختم. 2 تا از این سرور ها متصل می شدند و به خوبی هم کار می کردند (حداقل در تست اول). یکی دیگر کلا وصل نمی شد، آخری هم وصل میشد ولی Data Transfer اش به قدری کم بود که عملا هیچ صفحه ای را load نمی کرد (از پنل IBSng دیدم که Transfer کمی دارد در حد 150Byte).
دوستم گفت که توی تنظیمات فایل های مربوطه لینوکس می بایست چند جا بجای localhost و یا 127.0.0.1 این آموزش، IP واقعی سرور رو بزنم... من هم این کار رو کردم ولی این بار کلا وصل نشد، نه به پنل وب و نه از طریق VPN البته مطمئن باشید همه جا رو عوض کردم، هم فایل ها و هم توی وب پنل و قسمت RAS ... در نتیجه دوباره برگردوندم به حالت اول، این همون سروری بود که درست کار می کرد، ولی الآن شده مثل اون یکی و وصل میشه ولی load نمی کنه....
این تمام command ها و کارهایی است که من از اول تا آخر انجام دادم:
[CODE]
[LEFT]
yum install httpd
yum install postgresql-server
yum install postgresql-python
yum install php-gd
yum install php-mbstring
yum install php-pdo
yum install ppp
yum install kernel
yum install mod_python php httpd-manual system-config-httpd httpd webalizer mod_perl perl-DB-Pg mod_ssl postgresql-libs apr-util dovecot
wget http://garr.dl.sourceforge.net/sourceforge/ibs/IBSng-A1.24.tar.bz2
tar xjf IBSng-A1.24.tar.bz2 -C /usr/local
service postgresql restart
su postgres
createuser ibs (?? createuser ibs -s ?? => NO!)
createdb IBSng
createlang plpgsql IBSng
exit
vim /var/lib/pgsql/data/pg_hba.conf
### Push INSERT
### Add First => local IBSng ibs trust
### Push Esc => Push : + X => Push Enter
service postgresql restart
/usr/local/IBSng/scripts/setup.py
### Push these keys in order => 1 2 2 1
### Enter IBSng Administrator Password
### Push these keys in order => 1 2 5 1 3 1 2 b x
rpm -ivh http://acelnmp.googlecode.com/files/pptpd-1.3.4-1.rhel5.1.i386.rpm
rpm -ivh http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el5/en/i386/RPMS.dries/radiusclient-0.3.2-0.2.el5.rf.i386.rpm
cd /etc/radiusclient
wget http://www.webhostingtalk.ir/dl/Video/IBSng/dictionary.microsoft
rm -f /etc/pptpd.conf
cd /etc
wget http://www.webhostingtalk.ir/dl/Video/IBSng/pptpd.conf
rm -f /etc/ppp/options.pptpd
cd /etc/ppp
wget http://www.webhostingtalk.ir/dl/Video/IBSng/options.pptpd
rm -f /etc/sysctl.conf
cd /etc
wget http://www.webhostingtalk.ir/dl/Video/IBSng/sysctl.conf
rm -f /etc/radiusclient/radiusclient.conf
cd /etc/radiusclient
wget http://www.webhostingtalk.ir/dl/Video/IBSng/radiusclient.conf
rm -f /etc/radiusclient/dictionary
cd /etc/radiusclient
wget http://www.webhostingtalk.ir/dl/Video/IBSng/dictionary
rm -f /etc/ppp/ip-up
cd /etc/ppp
wget http://www.webhostingtalk.ir/dl/Video/IBSng/ip-up
vim /etc/radiusclient/servers
### Add End => 127.0.0.1 secretKey ==For Me==> 127.0.0.1 secure-cyber
sysctl -p
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A INPUT -i eth0 -p tcp --dport 1723 -j ACCEPT
iptables -A INPUT -i eth0 -p gre -j ACCEPT
iptables -A FORWARD -i ppp+ -o eth0 -j ACCEPT
iptables -A FORWARD -i eth0 -o ppp+ -j ACCEPT
chkconfig pptpd on
service pptpd restart
service postgresql restart
service IBSng restart
service httpd start
service httpd reload
--------------------------------------------
### Enter IBSng Admin Panel => http://xxx.xxx.xxx.xxx/IBSng/admin (default username: system)
### Go to RAS & Click on Add New RAS
### Enter Data => RAS IP: 127.0.0.1 , RAS Description: Desc. , Type: ppdp , Radius Secret: secretKey
### Go to Charge & Click on Add New Charge & Enter it's name, also choose internet as Charge Type
### Click on Add Internet Charge Rule
### Enter Data => Rule Start Time: 00:00:00 , Rule End Time: 23:59:59 , Charge Per Minute: 0 ,
Charge Per KiloByte: 0 , Bandwidth Limit: 0 , Max BW KBytes/Sec: 512
### Go to Group & Click on Add New Group
...
[/LEFT]
[/CODE]
ضمنا، برای اتصال L2TP/IPSec و نه xl2tpd چه کاری باید انجام داد؟ برای همین سرور لینوکس به همراه اکانتینگ IBSng... ؟ یک فیلمی از آقای Farshid دیده ام ولی xl2tpd بود و نه L2TP/IPSec واقعی و ایمن، ضمنا ربطی به IBSng نداشت... ممنون میشم اگر راهنمایی بفرمایید...
متشکرم
[URL="http://server.parspooyesh.com/"]http://server.parspooyesh.com[/URL]