/ Forside / Teknologi / Operativsystemer / Linux / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Linux
#NavnPoint
o.v.n. 11177
peque 7911
dk 4814
e.c 2359
Uranus 1334
emesen 1334
stone47 1307
linuxrules 1214
Octon 1100
10  BjarneD 875
OS X klient mod e-smith 5.6 gennem ssh-tun~
Fra : Thorbjoern Ravn Ande~


Dato : 01-02-03 16:50


Jeg har sat en e-smith server op, primært af hensyn til at få nogen
mailinglister let i luften hvilket spiller fint (med ekstra ezmlm).

Nu vil jeg gerne have VPN-funktionaliteten til at spille. Efter at
have ssh'et ind med port 47 og 1723 forwarded, og bedt om at forbinde
med PPTP til localhost i Internetopkald, får jeg følgende i loggen på
e-smith maskinen:

Feb 1 17:36:33 sc30 pptpd[1874]: MGR: Launching /usr/sbin/pptpctrl to
handle client
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: local address = 10.100.30.30
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: remote address = 10.100.30.75
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: pppd speed = 460800
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: pppd options file =
/etc/ppp/options.pptpd
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: Received PPTP Control Message
(type: 1)
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: Made a START CTRL CONN RPLY
packet
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: I wrote 156 bytes to the
client.
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: Sent packet to client
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: Received PPTP Control Message
(type: 7)
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: Set parameters to 1525 maxbps,
64 window size
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: Made a OUT CALL RPLY packet
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: Starting call (launching pppd,
opening GRE)
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: pty_fd = 5
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: tty_fd = 6
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: I wrote 32 bytes to the
client.
Feb 1 17:36:33 sc30 pptpd[1875]: CTRL (PPPD Launcher): Connection
speed = 460800
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: Sent packet to client
Feb 1 17:36:33 sc30 pptpd[1875]: CTRL (PPPD Launcher): local address
= 10.100.30.30
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: Received PPTP Control Message
(type: 15)
Feb 1 17:36:33 sc30 pptpd[1875]: CTRL (PPPD Launcher): remote address
= 10.100.30.75
Feb 1 17:36:33 sc30 pptpd[1874]: CTRL: Got a SET LINK INFO packet
with standard ACCMs
Feb 1 17:36:33 sc30 pppd[1875]: pppd 2.4.2b1 started by root, uid 0
Feb 1 17:36:33 sc30 pppd[1875]: Using interface ppp0
Feb 1 17:36:33 sc30 pppd[1875]: Connect: ppp0 <--> /dev/pts/1
Feb 1 17:36:33 sc30 pptpd[1874]: GRE:
read(fd=6,buffer=80559a0,len=8260) from network failed: status = -1
error = Proto
col not available
Feb 1 17:36:33 sc30 /etc/hotplug/net.agent: assuming ppp0 is already
up
Feb 1 17:36:34 sc30 pptpd[1874]: CTRL: GRE read or PTY write failed
(gre,pty)=(6,5)
Feb 1 17:36:34 sc30 pptpd[1874]: CTRL: Client 10.100.30.21 control
connection finished
Feb 1 17:36:34 sc30 pppd[1875]: Modem hangup
Feb 1 17:36:34 sc30 pptpd[1874]: CTRL: Exiting now
Feb 1 17:36:34 sc30 pppd[1875]: Connection terminated.

At insmod'e ip_gre manuelt, afhjalp ikke noget.

Nogen forslag til hvor skoen trykker? Jeg kan åbenbart ikke finde de
rigtige søgeord til Google :(
--
Thorbjørn Ravn Andersen
http://unixsnedkeren.dk - Unix, Java, Web, Netværk, Århus

 
 
Søg
Reklame
Statistik
Spørgsmål : 177560
Tips : 31968
Nyheder : 719565
Indlæg : 6408943
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste