From: Axel Thimm <Axel.Thimm@ATrpms.net>
To: netfilter@lists.netfilter.org
Subject: MASQUERADE and udp: connections are *not* forgotten
Date: Sat, 4 Mar 2006 11:25:39 +0100 [thread overview]
Message-ID: <20060304102539.GC2052@neu.nirvana> (raw)
[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]
Hi,
I have a strange issue with MASQUERAD'ing openvpn over ppp0 which uses
udp port 1194. When the ppp0 interface goes down and up (issued by the
ISP every 24h to recycle IPs ...), udp packages don't make it past the
netfilter gateway. Using tethereal on the gateway I see the packages
going in, but they don't get SNATted, nor do they got sent out over
ppp0. I also don't get any ICMP errors back or similar.
I checked /proc/net/ip_conntrack, and saw that the connection was
still registred and the timeout would restart every second since the
openvpn daemon on the inner client retried every second. Shutting the
client down for 30 sec to allow the timeout to pass and the connetcion
to vanish from /proc/net/ip_conntrack and restarting openvpn is a
workaround (if one doesn't wait for the connection to vanish and
restarts openvpn before that the problem remains).
It looks like the state of the upd connections is not forgotten as
MASQUERADE implies. This is on Fedora Core 4 on all components which
contains
kernel-2.6.15-1.1831_FC4
iptables-1.3.0-2
(The kernel is 2.6.15.4 based)
Thanks!
--
Axel.Thimm at ATrpms.net
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
reply other threads:[~2006-03-04 10:25 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=20060304102539.GC2052@neu.nirvana \
--to=axel.thimm@atrpms.net \
--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