All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] route to a host behind and ipsec tunnel
@ 2007-02-05 23:06 Mike
  0 siblings, 0 replies; only message in thread
From: Mike @ 2007-02-05 23:06 UTC (permalink / raw)
  To: lartc

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@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-05 23:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-05 23:06 [LARTC] route to a host behind and ipsec tunnel Mike

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.