All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Kierdelewicz <marek@piasta.pl>
To: Dennison Williams <dennison.williams@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Re: MARK not working
Date: Fri, 2 Apr 2010 11:16:24 +0200	[thread overview]
Message-ID: <20100402111624.7af22eb8@catlap> (raw)
In-Reply-To: <4BB59C59.50607@gmail.com>

Hi,

>Yes, this is a bit confusing to me as well.  In this scenario we have
>the establishing of a vpn connection (udp port 4500), following this is
>an attempt to establish a l2tp connection (udp port 1701 encapsulated
>in the vpn tunnel).

I think you're missing rule accepting traffic entering VPN
connection interface.

Try adding ACCEPT in INPUT or MARK 0x1 in PREROUTING for udp dport
1701. Alternatively you can MARK/ACCEPT incomming traffic on VPN
interface (eg. tap0 - vpn interface, then -i tap0).

The same will apply to traffic comming on l2tp interface if you going to
terminate the connection on very same box.

Hope that helps.

Regards,
Marek

  reply	other threads:[~2010-04-02  9:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-02  0:35 MARK not working Dennison Williams
2010-04-02  4:57 ` Marek Kierdelewicz
2010-04-02  7:27   ` Dennison Williams
2010-04-02  9:16     ` Marek Kierdelewicz [this message]
2010-04-02 11:30     ` Jan Engelhardt
     [not found]       ` <006a01cad270$b1876110$14962330$@toure@vipnet.ci>
2010-04-02 14:37         ` setting quotas with quota Jan Engelhardt
2010-04-02 20:35       ` MARK not working Dennison Williams
2010-04-02 11:26   ` Jan Engelhardt
2010-04-02 13:02     ` Marek Kierdelewicz
2010-04-02  7:24 ` John Lister

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=20100402111624.7af22eb8@catlap \
    --to=marek@piasta.pl \
    --cc=dennison.williams@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 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.