[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



tir, 13 06 2006 kl. 11:47 +0200, skrev Jacob Bunk Nielsen: 
> Christoffer Holm Kjølbæk <sslug@sslug> writes:
> > man, 12 06 2006 kl. 16:08 +0200, skrev Jacob Bunk Nielsen:
> >
> > Ovenstående skulle være godt nok.
> 
> Nej, det var noget sludder.

Hmm, ok.. 

> Den ser fin ud. Har jeg ret i at den kan pinge både 192.168.0.0/23 og
> 10.1.0.0/30? I så fald må det være et problem med ip-forwarding eller
> måske route-tabellen på den maskine på den anden side af VPN-gatewayen
> du forsøger at pinge.

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.

Jeg har, igen, lige prøvet den allermest skrapede version fra
http://openvpn.net/static.html med route 192.168.1.0 255.255.255.0 i
klientens config. Jeg kan pinge 192.168.1.1, 10.1.0.1 og 10.1.0.2, og
det er det.

> 
> Bruger du det bridge-interface til noget? Det kunne være en rest af at
> du har leget med 'dev tap'. Bruger du boksen til at bridge andre ting?
Så vidt jeg har forstået, så er br0 den der binder wireless og ethernet
sammen i en openWRT installation. 
> 
> 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

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

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




 
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] *