From: Raul Siles <raul_siles@hp.com>
To: netfilter@lists.netfilter.org
Subject: Iptables and IPSec
Date: Wed, 25 Jun 2003 13:39:43 +0200 [thread overview]
Message-ID: <3EF989FF.50200@hp.com> (raw)
Hi all,
I have a Linux box (RedHat 7.3, kernel 2.4.18-19.7) working with
IPtables v.1.2.5.
I have installed a VPN client from NetLock (IPSEC), ver. 2.1.1-0,
www.netlock.org.
Everything works fine except the stateful rules, I mean:
- Once I connect through the VPN tunnel (it is using ISAKMP (UDP,500)
and ESP (IP prot. 50)) I cannot use UDP or TCP protocols just filtering
based on the following rule:
From /etc/sysconfig/iptables:
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
When working without VPN tunnel, just Internet connected, all the
protocols work fine, as for example, UDP dns resolution or TCP telnet,
ssh or http sessions.
When the tunnel has been established, it seems that IPTables cannot
extract the stateful information from the encapsulated packets (IPSec,
ESP), so it only works using old stateless rules as:
-A INPUT -s 0/0 -d 0/0 -p tcp ! --syn -j ACCEPT
Any help and information about when the IPTables stateful processing
when using IPSec takes place will be appreciated,
Best Regards,
Raúl
next reply other threads:[~2003-06-25 11:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-25 11:39 Raul Siles [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-10-22 11:12 iptables and ipsec dimitri borjac
2003-10-22 13:18 ` Julian Gomez
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=3EF989FF.50200@hp.com \
--to=raul_siles@hp.com \
--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 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.