[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NETVAERK] VPN og routetable



tor, 15 06 2006 kl. 11:07 +0200, skrev Jacob Bunk Nielsen: 
> Christoffer Holm Kjølbæk <sslug@sslug> writes:
> 
> > Fra routeren kan jeg pinge både det ene og det andet jo. Både på
> > klienten og på routeren retunere cat /proc/sys/net/ipv4/ip_forward 1, så
> > der burde vil være ip forward sat til.
> 
> OK, så er der hul igennem din tunnel. Så er det højst sandsynligt
> noget routing der ikke virker.
> 
> >> Hvordan ser route-tabellerne ud på de to maskiner der står på hver sin
> >> side af din VPN-server efter du er logget på VPN?
> >
> > Klient:
> > Destination     Gateway         Genmask         Flags Metric Use Iface
> > 10.8.0.1        0.0.0.0         255.255.255.255 UH    0        0 tun0
> > 10.6.6.6        0.0.0.0         255.255.255.255 UH    0        0 ppp0
> > 192.168.1.0     10.8.0.1        255.255.255.0   UG    0        0 tun0
> > 0.0.0.0         0.0.0.0         0.0.0.0         U     0        0 ppp0
> 
> Har klienten IP-adressen 10.8.0.2? Det skal den have så vidt jeg lige
> kan se. Hvad siger '/sbin/ifconfig tun0' på klienten?
Jepper:
          inet addr:10.8.0.2  P-t-P:10.8.0.1  Mask:255.255.255.255:1

> 
> > Maskine bag VPN-server:
> > Destination     Gateway         Genmask         Flags Metric Use Iface
> > 192.168.1.0     0.0.0.0         255.255.255.0   U     0        0 eth1
> > 0.0.0.0         192.168.1.1     0.0.0.0         UG    0        0 eth1
> 
> Det ser rigtigt ud. Kan du se på klienten om ping-pakker fra denne
> maskine når frem? Kig fx med ethereal/ngrep/tcpdump/whatever.
Ethereal siger at den modtager og svare på ping pakkerne

> 
> > Router:
> > Destination     Gateway         Genmask         Flags Metric Use Iface
> > 10.8.0.2        0.0.0.0         255.255.255.255 UH    0        0 tun0
> > xx.xx.xx.xx     0.0.0.0         255.255.255.0   U     0        0 vlan1
> > 192.168.1.0     0.0.0.0         255.255.255.0   U     0        0 br0
> > 0.0.0.0         xx.xx.xx.xx     0.0.0.0         UG    0        0 vlan1
> 
> Har routeren IP-adressen 10.8.0.1?
Jeps:
inet addr:10.8.0.1  P-t-P:10.8.0.2  Mask:255.255.255.255 
> 



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-07-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *