Page 1 of 1

VPN - Routing / Bridgeing Problem

Posted: 2004-04-12 19:42
by projekt2501
Hi,

ich habe mal zum testen einen VPN Server(pptpd (es ist mir bekannt, dass der unsicher ist)) aufgesetzt. Die Clients können auch mit diesem kommunizieren und den pingen.

Die Clients können jedoch untereinander keine Verbindung herstellen, dies ist aber gewünscht und das eigentliche Ziel. Ich habe jetzt schon diverse Howtos und Doks gelesen, hänge aber immer noch an der gleichen Stelle fest:

Ausgabe von Route bei 2 verbundenen clients:

Code: Select all

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.202   *               255.255.255.255 UH    0      0        0 ppp1
gw-prtr-72.schl *               255.255.255.255 UH    0      0        0 eth0
192.168.1.201   *               255.255.255.255 UH    0      0        0 ppp0
default         gw-prtr-72.schl 0.0.0.0         UG    0      0        0 eth0
Ausgabe von ifconfig bei 2 verbundenen clients(eigene IP durch aaa.bbb.ccc.ddd ersetzt):

Code: Select all

eth0      Link encap:Ethernet  HWaddr 00:40:63:C7:E8:F3
          inet addr:aaa.bbb.ccc.ddd  Bcast:aaa.bbb.ccc.ddd  Mask:255.255.255.255
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:84849 errors:0 dropped:0 overruns:0 frame:0
          TX packets:106815 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:14917283 (14.2 Mb)  TX bytes:93888040 (89.5 Mb)
          Interrupt:15 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5198 (5.0 Kb)  TX bytes:5198 (5.0 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:192.168.1.200  P-t-P:192.168.1.202  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
          RX packets:111 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:10577 (10.3 Kb)  TX bytes:333 (333.0 b)

ppp1      Link encap:Point-to-Point Protocol
          inet addr:192.168.1.200  P-t-P:192.168.1.201  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
          RX packets:100 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:6500 (6.3 Kb)  TX bytes:305 (305.0 b)
Wie kann ich es ppp0 und ppp1 ermöglichen untereinander zu kommunizieren?

Irgendwie komme ich an dieser Stelle absolut nicht weiter.

Re: VPN - Routing / Bridgeing Problem

Posted: 2004-04-13 16:26
by captaincrunch
Wie wär's mit richtigem Routing?

Re: VPN - Routing / Bridgeing Problem

Posted: 2004-04-13 18:12
by projekt2501
Das wäre mir auch lieb, aber wie mache ich das für ppp0 und ppp1?

Ich wäre auch schon für einen guten Denkanstoß dankbar!

Re: VPN - Routing / Bridgeing Problem

Posted: 2004-04-13 21:21
by captaincrunch
man route

Da stehen unten genug Beispiele drin.

Re: VPN - Routing / Bridgeing Problem

Posted: 2004-04-13 21:53
by projekt2501
danke schonmal werd mich da mal einlesen *g*

Re: VPN - Routing / Bridgeing Problem

Posted: 2004-04-13 21:56
by captaincrunch
Und wenn du das dann durch und verstanden hast:
http://tldp.org/HOWTO/Adv-Routing-HOWTO/index.html

Re: VPN - Routing / Bridgeing Problem

Posted: 2004-04-13 22:02
by projekt2501
@CaptainCrunch: DANKE!!! Damit sollte ich weiterkommen ;)

Re: VPN - Routing / Bridgeing Problem

Posted: 2004-04-14 10:32
by dea
Da hab' ich doch noch was "besseres": http://linux-ip.net/html/index.html

Durchlesen, verstehen, glücklich sein :)