VPN over SSH ..
Jan ' Kozo ' Vajda
jvajda na somi.sk
Středa Květen 16 11:41:06 CEST 2001
pokusam sa podla navudu z
http://www.linuxworld.cz/lw.nsf/page/DF383967407C7309C12569AB005F0031
rozchodit VPN over SSH
autorizacia cez ssh mi ide .. akurat pppd uz nenabehne ..
v logu mam taketo veci:
May 16 11:28:45 point kernel: divert: no divert_blk to free, ppp0 not ethernet
May 16 11:28:45 point kernel: divert: not allocating divert_blk for non-ethernet device ppp0
May 16 11:28:45 point pppd[6447]: Using interface ppp0
May 16 11:28:45 point pppd[6447]: Connect: ppp0 <--> /dev/pts/4
May 16 11:28:46 point pppd[6447]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5b67c3df> <pcomp> <accomp>]
May 16 11:28:46 point pppd[6447]: write: warning: Input/output error (5)
May 16 11:28:46 point pppd[6447]: Modem hangup
May 16 11:28:46 point pppd[6447]: Connection terminated.
May 16 11:28:46 point pppd[6447]: Script ssh -i vpn-key gw '/usr/sbin/pppd debug notty noauth' finished (pid 6448), status = 0xff00
May 16 11:28:46 point pppd[6447]: Exit.
ppp: ppp-2.4.0-3mdk
kernel: 2.2.19-3mdk
distrib: Mandrake 7.2
ssh: openssh-2.5.2p2-1.1mdk
( na oboch strojoch )
prikaz, ktorym sa to pokusam rozchodit je
pppd debug noauth pty "ssh -i vpn-key ns '/usr/sbin/pppd debug notty noauth'" 192.168.3.1:192.168.3.2
ked spustim len samotnu cast ssh -i vpn-key ns '/usr/sbin/pppd debug notty noauth', tak
sa mi ozve pppd na gw .. ( je ocakavam, ze je v poriadku .. )
predpokladam, ze problem je s pppd na "point-e" ..
nevie niekto ako z kase von ?
K O Z O
===================================
Look At Your Young Man Fighting
Look At Your Woman Crying
Look At Your Young Man Dying
The Way They've Always Done Before
Další informace o konferenci Linux