[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: [TEKNIK] Routing mellem 2 vpn



Den 10-10-2011 10:51, Jon Bendtsen skrev:
On 10/10/2011, at 10.42, Peter Rude wrote:
Hej.

Jeg har en vpn (OpenSuSE 11.3) server som både kører pptp og openvpn.

----- ifconfig -------
ppp0      Link encap:Point-to-Point Protocol
          inet addr:192.168.10.1  P-t-P:192.168.10.210 Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1396  Metric:1
          RX packets:189 errors:0 dropped:0 overruns:0 frame:0
          TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:16598 (16.2 Kb)  TX bytes:3168 (3.0 Kb)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.8.0.1  P-t-P:10.8.0.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:12222 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11464 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:10210398 (9.7 Mb)  TX bytes:6639710 (6.3 Mb)
---- ----

Jeg vil gerne have adgang til 10.8.0.2 (klient1) fra 192.168.10.210 (klient2) men kan ikke lige gennemskue hvordan jeg griber det an.

3 ting skal i hvert fald gøres

1) klient1 10.8.0.2 skal vide at for at nå ip adressen 192.168.10.210 (klient2) så skal den route pakkerne via VPN serveren.
2) klient2 192.168.10.210 skal vide at for at nå ip adressen 10.8.0.2 (klient1)  så skal den route pakkerne via VPN serveren
3) VPN serverens kerne skal være opsat til at lave routning.

Der er evt. trin 4, firewalls.



JonB


Hej Jon.

Tusinde tak.

Så spiller det.

Det var pkt. 3 jeg havde overset.

/Peter


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2011-11-01, 02:01 CET [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] *