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 8: Line 8:
 
  subgraph cluster1 {
 
  subgraph cluster1 {
 
   label="LAN of the OpenVPN Server";
 
   label="LAN of the OpenVPN Server";
   Server [ label="OpenVPN Server\ntun0: 10.8.0.1\neth0: 192.168.40.100" ];
+
   Server [ label="OpenVPN Server\ntun0: 10.8.0.1\neth0: 10.10.2.10" ];
   Gateway [ label="Gateway\neth0: 192.168.40.254" ];  
+
   Gateway [ label="Gateway\neth0: 10.10.2.1" ];  
   Target [ label="Target\neth0: 192.168.40.40" ];
+
   Target [ label="Target\neth0: 10.10.2.20" ];
 
   Server -> Target [ label="ICMP echo request", color="green" ];
 
   Server -> Target [ label="ICMP echo request", color="green" ];
   Target -> Gateway [ label="ICMP echo reply",color="red" ];
+
   Target -> Gateway [ label="ICMP echo reply",color="green" ];
 
   Gateway -> Server [ label="ICMP echo reply",color="red"];
 
   Gateway -> Server [ label="ICMP echo reply",color="red"];
 
  }
 
  }
 
  Client -> Server [ label="ICMP echo request",color="green" ];
 
  Client -> Server [ label="ICMP echo request",color="green" ];
  Server -> Client [ label="ICMP echo reply",color="red" ];
+
  Server -> Client [ label="ICMP echo reply",color="green" ];
 
}
 
}
 
</graphviz>
 
</graphviz>
<br>ping request has source address of 10.8.0.6 and destination address of 192.168.40.40
+
<br>ping request has source address of 10.8.0.6 and destination address of 10.10.2.20
<br>ping reply has source address of 192.168.40.40 and destination address of 10.8.0.6
+
<br>ping reply has source address of 10.10.2.20 and destination address of 10.8.0.6
<br>You need to add a static route to your gateway: route add -net 10.8.0.0/24 gw 192.168.40.100
+
<br>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
 +
<br>You will need a route like this for every network you wish to reach over the vpn.

Revision as of 02:01, 15 April 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.