From: Martin <martin.listz@gmail.com>
To: netfilter@vger.kernel.org
Subject: Ipsec/L2tp with NETKEY
Date: Fri, 03 Jul 2009 21:21:46 -0300 [thread overview]
Message-ID: <1246666906.5753.31.camel@localhost> (raw)
Hi list!
I've been looking for a solution for this for a few days, but couldn't
find any solution.
I've configured a VPN in a Debian box using openswan to do ipsec and
l2tp, as it is pretty simple to implement on Windows and Mac users and
it doesn't needs any 3rd party software.
My problem is that openswan uses netkey for ipsec unless you patch the
kernel to use klips, and netkey doesn't create an ipsec0 interface, and
makes it really difficult to firewall things to l2tp, and having as a
unique soltution (without compiling kernel), leaving l2tp port wide
open.
Here is a diagram, just for fun ;)
MS-client ==== /ext interface/ Linux GW /internal interface/ ==== LAN
What I see is that user completes ipsec auth, and then tries to connect
to the l2tpd's port (7101) on the external interface, and then I must
accept connections in that port, or the vpn connection fails.
Any suggestions how to let connections on udp 1701 only to connections
before authenticated by ipsec?
Cheers
Martin
next reply other threads:[~2009-07-04 0:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-04 0:21 Martin [this message]
2009-07-04 4:14 ` Ipsec/L2tp with NETKEY Eray Aslan
[not found] ` <114b7d1a0907052027y1204f945s4d9b5ea7032d6b13@mail.gmail.com>
2009-07-06 7:04 ` Eray Aslan
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=1246666906.5753.31.camel@localhost \
--to=martin.listz@gmail.com \
--cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox