Hello,
I've got a couple of questions about the PF firewall. First of all, why this rule :
is incorrect unless I type inet before proto:
What does inet stand for/mean ?
Secondly, if there are a DNS server behind the firewall, does this rule :
make troubles with that server?
Last question , would someone know which switch could I use with the OpenSSH's client if I want to connect to a SSH server behind a firewall accept only a connection incoming from port 1000?
I've got a couple of questions about the PF firewall. First of all, why this rule :
Code:
pass in quick proto icmp icmp-type echoreq
Code:
pass in quick inet proto icmp icmp-type echoreq
Secondly, if there are a DNS server behind the firewall, does this rule :
Code:
skip on lo
block all
pass in quick proto udp from any to any port domain
Last question , would someone know which switch could I use with the OpenSSH's client if I want to connect to a SSH server behind a firewall accept only a connection incoming from port 1000?
Code:
block all
pass in log on em0 proto tcp from any port 1000 to port ssh flags S/SA keep state