Fedora linux forum

Форум русской поддержки ОС Fedora linux

https://evrostom27.ru сколько стоит поставить брекеты цена. 

#1 2008-07-05 20:47:21

watto
New member
Зарегистрирован: 2008-07-05
Сообщений: 2

Настройка VPN в Fedora

Итак, настраиваю VPN через ethernet интернет:

[root@fedo ~]# cat /etc/ppp/peers/szvpn
updetach
remotename szvpn
linkname szvpn
ipparam szvpn
pty "pptp vpn.host.com --nolaunchpppd --loglevel 2"
name watto
usepeerdns
nodefaultroute
noauth
file /etc/ppp/options.pptp

[root@fedo ~]# cat /etc/ppp/options.pptp | grep -v \#
lock
noauth
refuse-eap
refuse-chap
refuse-mschap
nobsdcomp
nodeflate
[root@fedo ~]#

[root@fedo ~]# cat /etc/sysconfig/network-scripts/ifcfg-szvpn
ONBOOT=no
USERCTL=yes
TYPE=Modem
PEERDNS=yes
DEVICE=ppp0
PROVIDER=szvpn
DEFROUTE=no
[root@fedo ~]#

Делаю ifup szvpn, вот что в логах:

Jul  5 20:38:17 fedo ifup-ppp: pppd started for szvpn on  at
Jul  5 20:38:17 fedo pppd[7994]: pppd 2.4.4 started by root, uid 0
Jul  5 20:38:17 fedo pppd[7994]: Using interface ppp0
Jul  5 20:38:17 fedo pppd[7994]: Connect: ppp0 <--> /dev/pts/5
Jul  5 20:38:17 fedo pptp[8005]: anon log[main:pptp.c:276]: The synchronous pptp option is NOT activated
Jul  5 20:38:17 fedo pptp[8012]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jul  5 20:38:17 fedo pptp[8012]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
Jul  5 20:38:17 fedo pptp[8012]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
Jul  5 20:38:18 fedo nm-system-settings:    ifcfg-fedora: parsing /etc/sysconfig/network-scripts/ifcfg-szvpn ...
Jul  5 20:38:18 fedo nm-system-settings:    ifcfg-fedora:     error: Unknown connection type 'Modem'
Jul  5 20:38:18 fedo pptp[8012]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jul  5 20:38:18 fedo pptp[8012]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
Jul  5 20:38:18 fedo pptp[8012]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 14416).
Jul  5 20:38:18 fedo pptp[8005]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 0
Jul  5 20:38:18 fedo pptp[8005]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 1
Jul  5 20:38:18 fedo pptp[8005]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 2
Jul  5 20:38:18 fedo pptp[8012]: anon log[ctrlp_disp:pptp_ctrl.c:911]: Received Call Clear Request.
Jul  5 20:38:49 fedo pptp[8012]: anon log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Jul  5 20:38:49 fedo pptp[8012]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
Jul  5 20:38:49 fedo pptp[8012]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jul  5 20:38:49 fedo pptp[8012]: anon log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Jul  5 20:38:49 fedo pptp[8012]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Jul  5 20:38:49 fedo pppd[7994]: Modem hangup
Jul  5 20:38:49 fedo pppd[7994]: Connection terminated.
Jul  5 20:38:49 fedo pppd[7994]: Exit.

ВПН-сервер MS VPN Server. Моя ОС — Fedora 9.

PS: Использовать всякого рода тыкалки мышкой типа kvpnc советовать не надо, хочу разобраться, как оно работает.

Неактивен