[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] Q: OpenVPN client gateway



Jacob Bunk Nielsen wrote:
"Lasse T. Jensen" <sslug@sslug> writes:
Jacob Bunk Nielsen wrote:
"Lasse T. Jensen" <sslug@sslug> writes:
Jacob Bunk Nielsen wrote:
"Lasse T. Jensen" <sslug@sslug> writes:

hvad mangler jeg så... ? hjælp jeg dråkner i ip adresser og kabler
Routen tilbage igen fra den dimmer du pinger?
Takker for din response... men hvor mener du denne route skal angives?
På den dimmer du pinger og alle dem der router for dig ind imellem.
I din tegning må det vist betyde 192.168.1.1 så vidt jeg kan se.
Hvordan ser route-tabellen ud på den?
[...]

sslug@sslug ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref
Use Iface
10.8.0.2        *               255.255.255.255 UH    0      0        0 tun0
10.8.0.0        10.8.0.2        255.255.255.0   UG    0      0        0 tun0
192.168.1.0     *               255.255.255.0   U     10     0        0 eth0
192.168.59.0    *               255.255.255.0   U     0      0
0 vmnet8
192.168.238.0   *               255.255.255.0   U     0      0
0 vmnet1
169.254.0.0     *               255.255.0.0     U     10     0        0 eth0
default         192.168.1.254   0.0.0.0         UG    10     0        0 eth0

Jeg tror denne maskine mangler en route til 192.168.0.0/24 (via 10.8.0.2/tun0?). Lige nu svarer den tilbage på ping via default-routen, som jo sikkert ikke vil virke til at nå 192.168.0.0/24, hvis jeg forstår dit setup rigtigt.


Nej... eller ved ikke... ;)
hvis jeg pinger fra den virtuelle linux(192.168.0.148) på vista maskinen til 192.168.1.1(vpnserveren) får jeg svar, men du har måske aligevel
ret, for hvis jeg pinger fra 192.168.1.1(vpnserveren) til den virtuelle
linux192.168.0.148 får jeg ikke svar...
og jeg får heller ikke svar efter jeg har affyret
route add -net 192.168.0.0 netmask 255.255.255.0 gw 10.8.0.1 dev tun0
på serveren
...
ja jeg skriver 10.8.0.1 og ikke 10.8.0.2 da tun0 på vpnserveren
hedder 10.8.0.1 og så ser min route tabel sådan ud
sslug@sslug ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.2 * 255.255.255.255 UH 0 0 0 tun0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.1.0 * 255.255.255.0 U 10 0 0 eth0
192.168.0.0 10.8.0.1 255.255.255.0 UG 0 0 0 tun0
192.168.59.0 * 255.255.255.0 U 0 0 0 vmnet8
192.168.238.0 * 255.255.255.0 U 0 0 0 vmnet1
169.254.0.0 * 255.255.0.0 U 10 0 0 eth0
default 192.168.1.254 0.0.0.0 UG 10 0 0 eth0


shit hits the fan... og jeg fatter stadig ikke hvor?
/Lasse


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2007-04-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] *