All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike <mike@atomicmongoose.com>
To: lartc@vger.kernel.org
Subject: [LARTC] route to a host behind and ipsec tunnel
Date: Mon, 05 Feb 2007 23:06:05 +0000	[thread overview]
Message-ID: <45C7B85D.8070501@atomicmongoose.com> (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
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

                 reply	other threads:[~2007-02-05 23:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45C7B85D.8070501@atomicmongoose.com \
    --to=mike@atomicmongoose.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.