Re: passing to inside interface

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lawrence Horvath
Date: Tuesday, March 20, 2007 - 2:05 pm

On 20/03/07, Stuart Henderson <stu@spacehopper.org> wrote:

switched to the below rules, it seems that it was ignoring the
exterior interface, perhaps because it has no ip on it or perhaps
because its in a bridge, not sure

in fact it seems to ignore all rules on the exterior interface
completely, could anyone shed some light on why that is? and how i can
get it to pass through both interface rules?

is it possible to put the IP on the bridge interface instead of one of
the ether interfaces? in order to make the firewall IP independant of
any one interface?

# pfctl -s rules
block return in log on xl0 all
block drop in log on xl1 all
pass in on xl1 inet from any to 192.168.25.253 keep state
pass out on xl0 all
pass out on xl1 all
pass in on xl0 inet from any to 192.168.25.33
pass in on xl1 inet from 192.168.25.33 to any
pass in on xl0 inet from any to 192.168.25.69
pass in on xl1 inet from 192.168.25.69 to any
pass in on xl0 inet from any to 192.168.25.84
pass in on xl1 inet from 192.168.25.64 to any
pass in on xl0 inet from any to 192.168.25.100
pass in on xl1 inet from 192.168.25.100 to any
pass in on xl0 inet from any to 192.168.25.201
pass in on xl1 inet from 192.168.25.201 to any
pass in on xl0 inet from any to 192.168.25.252
pass in on xl1 inet from 192.168.25.252 to any

-- 
-Lawrence
-Student ID 1028219
-CCNA
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
passing to inside interface, Lawrence Horvath, (Tue Mar 20, 4:41 am)
Re: passing to inside interface, Stuart Henderson, (Tue Mar 20, 5:40 am)
Re: passing to inside interface, Lawrence Horvath, (Tue Mar 20, 6:18 am)
Re: passing to inside interface, Stuart Henderson, (Tue Mar 20, 7:56 am)
Re: passing to inside interface, Lawrence Horvath, (Tue Mar 20, 9:24 am)
Re: passing to inside interface, Stuart Henderson, (Tue Mar 20, 10:32 am)
Re: passing to inside interface, Lawrence Horvath, (Tue Mar 20, 2:05 pm)
Re: passing to inside interface, Darren Spruell, (Tue Mar 20, 3:49 pm)