Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "John A. Sullivan III" <john.sullivan@nexusmgmt.com>
To: Helge Weissig <helgew@grajagan.org>
Cc: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: Re: protocol 50 unreachable
Date: Wed, 01 Dec 2004 23:09:25 -0500	[thread overview]
Message-ID: <1101960564.2032.121.camel@localhost> (raw)
In-Reply-To: <Pine.LNX.4.44.0412011956430.22471-100000@gollum.grajagan.net>

On Wed, 2004-12-01 at 23:00, Helge Weissig wrote:
> On Wed, 1 Dec 2004 at 22:46 -0500, Jason Opperisano wrote:
> 
> JO> > no such luck :(. I should note that the VPN connections works fine when I 
> JO> > hook the client up directly to my DSL line. btw - it looks like your 
> JO> > script does not forward anything from one of my interfaces to the other.
> JO> 
> JO> yeah--precisely.  you seem obsessed with the desire to "port forward"
> JO> esp traffic to your VPN client, which is absolutely not necessary.
> JO> 
> JO> look into configuring NAT-T with your VPN client, sometimes called "UDP
> JO> Encapsulation" as your VPN server appears unwilling to accept esp
> JO> packets that have traversed an intermediate NAT device.
> 
> hmm... how does a packet know it needs to go from my external NIC to my 
> internal NIC if it comes through ESP? Maybe I am confused here... 
> 
> let's leave the VPN client/server out of the picture to simplify. If I 
> send an ESP packet from somewhere to my external IP address I get the 
> "protocol 50 unreachable" ICMP response. The underlying problem seems to 
> be the primary cause of my troubles, no?
> 
> h.
Yes, you should be able to get this to work as long as there is only one
station behind the NAT gateway using IPSec.  NAT traversal is a valid
way to go and the only way to go if you have more than one IPSec client
using the same public address.  I do assume that the NAT gateway is not
running IPSec.

To use NAT traversal, you would forward the appropriate UDP port
(typically 4500 or 500) rather than ip/50.

I do not know why your NAT gateway is refusing to pass the IPSec
packets.  That's why I suggest logging in my previous e-mail is
clarifying the DNAT interface does not work.  Good luck - John
-- 
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
john.sullivan@nexusmgmt.com



  reply	other threads:[~2004-12-02  4:09 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01 22:51 protocol 50 unreachable Helge Weissig
2004-12-01 23:59 ` John A. Sullivan III
2004-12-02  0:07   ` Helge Weissig
2004-12-02  0:29 ` Jason Opperisano
2004-12-02  3:29   ` Helge Weissig
2004-12-02  3:46     ` Jason Opperisano
2004-12-02  4:00       ` Helge Weissig
2004-12-02  4:09         ` John A. Sullivan III [this message]
2004-12-02  4:12         ` Jason Opperisano
2004-12-02  4:53           ` Helge Weissig
2004-12-02  5:15             ` John A. Sullivan III
2004-12-02  5:44               ` Helge Weissig
2004-12-02 15:14                 ` Jason Opperisano
2004-12-02 15:13                   ` Helge Weissig
2004-12-02 17:25                     ` Jason Opperisano
2004-12-02 18:22                       ` Helge Weissig
2004-12-02 18:54                         ` John A. Sullivan III
2004-12-02 20:11                         ` Jason Opperisano
2004-12-02 19:26                           ` Helge Weissig
2004-12-02 20:56                             ` Jason Opperisano
2004-12-02 20:12                               ` Helge Weissig
2004-12-02 21:30                                 ` Jason Opperisano
2004-12-03  6:35                             ` Philip Craig
2004-12-03 17:11                               ` Helge Weissig
2004-12-04  2:20                                 ` Alistair Tonner
2004-12-04  2:35                                   ` Jason Opperisano
2004-12-04  3:03                                     ` Helge Weissig
2004-12-02  4:03   ` John A. Sullivan III
2004-12-04 17:07 ` Helge Weissig

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=1101960564.2032.121.camel@localhost \
    --to=john.sullivan@nexusmgmt.com \
    --cc=helgew@grajagan.org \
    --cc=netfilter@lists.netfilter.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