route to a host behind and ipsec tunnel

Linux Advanced Routing and Traffic Control

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

 



Hi there,  I have a client who has several branch offices,  they are
adding a system that uses a PC in the main office to create a PPTP
connection to the Applications host.  So, locally I specify a route on
my gateway to handle this.


ip route add  1.2.3.4/20 via 192.168.24.4
(Firewall 192.168.24.1/24)

192.168.24.4 is the PC with the PPTP connection.

This works wonderfully for the local lan, however, I'm not sure how to
route, or what route to set on the remote firewalls to push this traffic
 to the host?

ip route add 1.2.3.4/30 via 192.168.24.4 nexthop 10.10.10.1?

(Assumes the remote locations lan is 10.10.10.1)

Can this be done?  Do I need to bring OSPF into the mix?

|Remote Workstations
|
REMOTE LAN
10.10.10.0/24
10.10.10.1 Firewall
| Real IP
|
|  Ipsec Tunnel (StrongSwan)
|
| Real IP
Primary LAN
192.168.24.1 Firewall
192.168.24.0/24
|
|                             (Application Provider's REAL ip)
|192.168.24.4 --shared PPTP-- 1.2.3.4/30
|
|Other Workstations

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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