| Прошу помощи в настройке VPN соединения. |
Сбт, 16 Январь 2010 19:18  |
Black Mirror  Сообщений: 1 Зарегистрирован: Январь 2010 Географическое положение: Европа, Украи... |
Новичок |
|
|
Всем добрый день! Дело в том, что я совсем недавно перешёл на Linux Mandriva и сам по себе не имею ни малейших понятий о vpn и его настройке в каком бы то ни было виде... провайдер даёт соединение vpn. Вот выданные им данные данные для настройки:
мой внешний IP - 172.17.62.164
мой_логин
мой_пароль
шлюз - 172.17.62.2
DNS Primary - 172.17.62.254
маска подсети - 255.255.255.0
domain uzbek.matrixhome.net
search uzbek.matrixhome.net
nameserver 172.17.62.254
Адрес туннеля = vpn62.matrixhome.net
Я попробовал настроить соединение через скрипт pptp-command след образом:
[root@localhost]# pptp-command
1.) start
2.) stop
3.) setup
4.) quit
What task would you like to do?: 3
1.) Manage CHAP secrets
2.) Manage PAP secrets
3.) List PPTP Tunnels
4.) Add a NEW PPTP Tunnel
5.) Delete a PPTP Tunnel
6.) Configure resolv.conf
7.) Select a default tunnel
8.) Quit
?: 1
1.) List CHAP secrets
2.) Add a New CHAP secret
3.) Delete a CHAP secret
4.) Quit
?: 2
Add a NEW CHAP secret.
NOTE: Any backslashes (\) must be doubled (\\).
Local Name:
This is the 'local' identifier for CHAP authentication.
NOTE: If the server is a Windows NT machine, the local name
should be your Windows NT username including domain.
For example:
domain\\username
Local Name: мой_логин
Remote Name:
This is the 'remote' identifier for CHAP authentication.
In most cases, this can be left as the default. It must be
set if you have multiple CHAP secrets with the same local name
and different passwords. Just press ENTER to keep the default.
Remote Name [PPTP]:
Password: мой_пароль
This is the password or CHAP secret for the account specified. The
password will not be echoed.
Password: мой_пароль
Adding secret мой_логин PPTP *****
1.) List CHAP secrets
2.) Add a New CHAP secret
3.) Delete a CHAP secret
4.) Quit
?: 4
1.) Manage CHAP secrets
2.) Manage PAP secrets
3.) List PPTP Tunnels
4.) Add a NEW PPTP Tunnel
5.) Delete a PPTP Tunnel
6.) Configure resolv.conf
7.) Select a default tunnel
8.) Quit
?: 4
Add a NEW PPTP Tunnel.
1.) Other
Which configuration would you like to use?: 1
Tunnel Name: vpn62.matrixhome.net
Server IP: 172.17.62.254
What route(s) would you like to add when the tunnel comes up?
This is usually a route to your internal network behind the PPTP server.
You can use TUNNEL_DEV and DEF_GW as in /etc/pptp.d/ config file
TUNNEL_DEV is replaced by the device of the tunnel interface.
DEF_GW is replaced by the existing default gateway.
The syntax to use is the same as the route(8) command.
Enter a blank line to stop.
route: add default gw 172.17.62.164
route: add -host 172.17.62.2/32 gw 172.17.62.254
route: add -host 0.0.0.0/0 gw 172.17.62.164
route:
Local Name and Remote Name should match a configured CHAP or PAP secret.
Local Name is probably your NT domain\username.
NOTE: Any backslashes (\) must be doubled (\\).
Local Name: мой_логин
Remote Name [PPTP]:
Adding vpn62.matrixhome.net - 172.17.62.254 - мой_логин - PPTP
Added tunnel vpn62.matrixhome.net
1.) Manage CHAP secrets
2.) Manage PAP secrets
3.) List PPTP Tunnels
4.) Add a NEW PPTP Tunnel
5.) Delete a PPTP Tunnel
6.) Configure resolv.conf
7.) Select a default tunnel
8.) Quit
?: 8
И получаю вот такой вывод
# pptp-command start vpn62.matrixhome.net
sh: /bin/ip: Нет такого файла или каталога
sh: /bin/ip: Нет такого файла или каталога
ERROR! Connection timed out.
В файле /etc/ppp/options.pptp - убрал всё, оставил только след(по рекомендации провайдера)
lock
noauth
nobsdcomp
nodeflate
nomppe
nomppc
debug
defaultroute
noipdefault
Ссразу скажу, что обращался к провайдеру, мне не смогли помочь в виду того, что провайдер в принципе молодой и там не знают моего дистрибутива...
Помогите пожалуйста, скажите, что делаю е так и что же нужно сделать чтобы интернет работал, а то максимум чего я добился это пинги впн сервера и поднятия локалки... а интернет так и не работает. Заранее спасибо всем отозвавшимся, если таковые найдутся конечно.
|
|
|
|