Re: need help with pf configuration
- From: Matthew Seaman <m.seaman@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 09 Oct 2011 12:26:12 +0100
On 09/10/2011 10:31, Patrick Lamaiziere wrote:
Le Sun, 9 Oct 2011 14:39:10 +0700,
Victor Sudakov <vas@xxxxxxxxxxxxxx> a écrit :
Sorry, you can't do this with pf, ipf or ipfw (the 3 firewalls inI need no details, just a general hint how to setup such security
levels, preferably independent of actual IP addressses behind the
interfaces (a :network macro is not always sufficient).
You may use urpf-failed instead :network
urpf-failed: Any source address that fails a unicast reverse path
forwarding (URPF) check, i.e. packets coming in on an interface
other than that which holds the route back to the packet's source
address.
Excuse me, I do not see how this is relevant to my question (allowing
traffic to be initiated from a more secure interface to a less secure
interface and not vice versa).
FreeBSD). There is no concept of security level at all, you must specify
on each interface the traffic allowed (in input and output).
My reply was about the use of the interface:network addresses.
pf has the concept of packet tagging. So you can write a small rule to
tag traffic crossing eg. your set of internal interfaces and then write
one ruleset to filter all that traffic identified by tag.
Quoting pf.conf(5): "This can be used, for example, to
provide trust between interfaces and to determine if packets
have been processed by translation rules."
I think that's roughly equivalent to what the OP was asking about.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew@xxxxxxxxxxxxxxxxxxxxxx Kent, CT11 9PW
Attachment:
signature.asc
Description: OpenPGP digital signature
- Follow-Ups:
- Re: need help with pf configuration
- From: Victor Sudakov
- Re: need help with pf configuration
- From: Victor Sudakov
- Re: need help with pf configuration
- References:
- New FreeBSD User | HP Doesn't Boot
- From: Michael Starr
- Re: New FreeBSD User | HP Doesn't Boot
- From: Colin Barnabas
- Re: New FreeBSD User | HP Doesn't Boot
- From: Colin Barnabas
- need help with pf configuration
- From: Victor Sudakov
- Re: need help with pf configuration
- From: Patrick Lamaiziere
- Re: need help with pf configuration
- From: Victor Sudakov
- Re: need help with pf configuration
- From: Patrick Lamaiziere
- New FreeBSD User | HP Doesn't Boot
- Prev by Date: two networks in one server?
- Next by Date: Re: two networks in one server?
- Previous by thread: Re: need help with pf configuration
- Next by thread: Re: need help with pf configuration
- Index(es):
Relevant Pages
|