[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pf problem, block .. os Linux
Hi Joakim,
Hadn't gotten around to fiddling with this myself before, hence my reply
coming in late.
> block drop in log quick on $ext_if proto { tcp, udp } from any os
> Linux to any port ssh
Since I have only one interface in the machine I am testing this on, my
rule is as follows:
block in log proto tcp from any os Linux to ($ext_if) port ssh
The Linux machines I do need to be able to connect to this box are
allowed just below:
pass in proto tcp from $linuxssh to ($ext_if) port ssh modulate state
These two lines are the last two in my (simple) setup. Perhaps you can
debug your firewall by starting from scratch, enabling one rule at a
time and analyzing what happens.
Good luck... Nico