Hi,
I was trying to create a set of rules for pf after reading the *beep**beep**beep**beep*'n manual, faq, handbook, etc, and obviously I locked myself out! Yeah I know I shouldn't have written a rule for ssh...
Anyway it's done now, so what would be the rules to:
- accept ssh connections on a given port (eg: 15322) and redirect to 22?
- accept http connections on port 80
- accept smtp connections on port 25
I don't see why pf is much better than iptables, well it's not that much easier to write rules...
Thanks for your help.
I was trying to create a set of rules for pf after reading the *beep**beep**beep**beep*'n manual, faq, handbook, etc, and obviously I locked myself out! Yeah I know I shouldn't have written a rule for ssh...
Anyway it's done now, so what would be the rules to:
- accept ssh connections on a given port (eg: 15322) and redirect to 22?
- accept http connections on port 80
- accept smtp connections on port 25
I don't see why pf is much better than iptables, well it's not that much easier to write rules...
Thanks for your help.