Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Rowan Reid <rreid@studio3arc.com>
To: jimm@simutronics.com, netfilter@lists.netfilter.org
Subject: RE: IPSec rules
Date: Wed, 28 Mar 2001 08:57:17 -0800	[thread overview]
Message-ID: <001c01c0b7a8$259feb00$1001a8c0@s3ac> (raw)
In-Reply-To: <NDBBKABJBJCIJNAELLKEMEALIKAA.jimm@simutronics.com>

ce of IPSec traffic. eth1 = untrusted side eth0 = trusted side
> 
> INPUT:
> $IPTABLES -A INPUT -i eth1 -p 50 -j ACCEPT
> $IPTABLES -A INPUT -i eth1 -p 51 -j ACCEPT
> $IPTABLES -A INPUT -i eth1 -p UDP --dport 500 -j ACCEPT
> 
> FORWARD:
> $IPTABLES -A FORWARD -i eth0 -o ipsec+ -j ACCEPT
> $IPTABLES -A FORWARD -i ipsec+ -o eth0 -j ACCEPT


> 
> OUTPUT:
> $IPTABLES -A OUTPUT -p 50 -j ACCEPT
> $IPTABLES -A OUTPUT -p 51 -j ACCEPT
> $IPTABLES -A INPUT -p udp -m udp --dport 500 -j ACCEPT

Looks good that’s pretty much what I have. 'cept I actually specify ah
and eps for my protocol. Don’t forget not to masquarade outgoing
packates through your vpn. Since I have a net to net connection that is
fairly definate I only allow connections from my trusted hosts.



  reply	other threads:[~2001-03-28 16:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-28 15:52 IPSec rules James Miller
2001-03-28 16:57 ` Rowan Reid [this message]
2003-03-28 16:45 ` Cedric Blancher

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='001c01c0b7a8$259feb00$1001a8c0@s3ac' \
    --to=rreid@studio3arc.com \
    --cc=jimm@simutronics.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox