Difference between revisions of "Graph"

From Secure Computing Wiki
Jump to: navigation, search
(finally udated this to match my routing doc and fit in nicely!)
Line 2: Line 2:
 
digraph foo {
 
digraph foo {
 
  subgraph cluster0 {
 
  subgraph cluster0 {
   label="LAN of the OpenVPN Client";
+
   label="LAN of the OpenVPN Node";
   Client [ label="OpenVPN Client\ntun0: 10.8.0.6" ];
+
   Client [ label="Remote OpenVPN Node\ntun0: 10.8.0.6" ];
 
  }
 
  }
  
 
  subgraph cluster1 {
 
  subgraph cluster1 {
   label="LAN of the OpenVPN Server";
+
   label="LAN of Local OpenVPN Node";
   Server [ label="OpenVPN Server\ntun0: 10.8.0.1\neth0: 10.10.2.10" ];
+
   Server [ label="Local OpenVPN Node\ntun0: 10.8.0.1\neth0: 10.10.2.10" ];
 
   Gateway [ label="Gateway\neth0: 10.10.2.1" ];  
 
   Gateway [ label="Gateway\neth0: 10.10.2.1" ];  
 
   Target [ label="Target\neth0: 10.10.2.20" ];
 
   Target [ label="Target\neth0: 10.10.2.20" ];

Revision as of 05:20, 7 November 2010


ping request has source address of 10.8.0.6 and destination address of 10.10.2.20
ping reply has source address of 10.10.2.20 and destination address of 10.8.0.6
You need to add a static route to your gateway: route add -net 10.8.0.0/24 gw 10.10.2.10 or the equiv in your routers OS
You will need a route like this for every network you wish to reach over the vpn.