Op 20100926 om 23:04 schreef Jaap van Wingerde:
> Op <Sun 26 Sep 2010 10:08:28 PM CEST> schreef Geert Stappers 
> <[email protected]> in bericht <[email protected]>:
> >  cat /proc/sys/net/ipv4/ip_forward 
> > 
> > ???
> j...@servertje:~$ cat /proc/sys/net/ipv4/ip_forward
> 1
> j...@servertje:~$
> 
> > Output van `netstat -rn` van _alle drie_ de systemen?
> 
> j...@servertje:~$ netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 10.0.134.2      0.0.0.0         255.255.255.255 UH        0 0          0 tun2
> 10.0.132.2      0.0.0.0         255.255.255.255 UH        0 0          0 tun0
> 10.0.133.1      0.0.0.0         255.255.255.255 UH        0 0          0 tun1
> 10.0.0.0        0.0.0.0         255.255.255.0   U         0 0          0 eth0
> 0.0.0.0         10.0.0.138      0.0.0.0         UG        0 0          0 eth0
> j...@custard:~$

Die ziet er goed uit.

> j...@vps:~$ netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 10.0.133.2      0.0.0.0         255.255.255.255 UH        0 0          0 tun0
> 94.143.246.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0
> 0.0.0.0         94.143.246.254  0.0.0.0         UG        0 0          0 eth0
> j...@gaugino:~$

De VPS heeft _geen_ weet van de VPNs.

> Nokia-N900-02-8:~# netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 10.0.134.1      0.0.0.0         255.255.255.255 UH        0 0          0 tun0
> 10.0.132.0      10.0.134.1      255.255.255.0   UG        0 0          0 tun0
> 10.0.133.0      10.0.134.1      255.255.255.0   UG        0 0          0 tun0
> 192.168.11.0    0.0.0.0         255.255.255.0   U         0 0          0 wlan0
> 0.0.0.0         192.168.11.1    0.0.0.0         UG        0 0          0 wlan0
> Nokia-N900-02-8:~#

Die ziet er goed uit, de VPNs zitten achter tun0.
Gebruik het als voorbeeld bij de VPS.

> Dank.

Laat vooral weten wat het effect is van de toegevoegde routes op VPS.



Stappers
Die twee VPNs, i.p.v. drie, zou gebruiken.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Antwoord per e-mail aan