Skip to contentSkip to conversation

route to a host behind and ipsec tunnel

LARTC Mike 1 participant 1 message Feb 5, 2007

lore
Share & tools
lore

Mike

author
#0 lore raw

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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc