[LARTC] Complicated Route Statement

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there.


I am having trouble coming up with a routing statement for the following



  Lan A is connected to LAn B via a Freeswan site to site VPN

On lab B there is a cisco router which is handles traffic for an IP address.

I need to find a way to have traffic to this Other machine routed through the 
IPsec tunnel, to the Cisco.   

Here's a crppy ascii art diagram to help explain



   Lan A
   192.168.24.128/26 
   192.168.24.130 iproute2 Firewall and VPN machine
	|	
	|	IPsec Tunnel
	|
  Lan B
  192.168.24.1  Iproute2 Firewall and VPN machine
  192.168.24.0/26  ---  192.168.24.2 Cisco Router <-->  198.185.204.0/24      
                 	
So basically I need a route statement that says

route any traffic to 198.185.204.0/24 to 192.168.24.2 Via  192.168.24.2 

??

Any help you all could give would be greatly appreciate
	
-- 


-----------------------------
|\/|ike@GetBent.net


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux