Hi everyone I am new to the FreeBSD firewall. I am looking to set up my firewall so that it automatically blocks all ports except for normal ports such as port 80 and allowing the server to function.
The main idea behind this is that the firewall will block port 22 for example to all users.
But then I need to write a script that will read a database and allow IP addresses from this database access to a specific port for a given time.
So for example I want to allow 81.81.42.42 access to port 22 for 1 hour.
What I am looking for someone to help me on is a basic firewall configuration to block all the ports and then an understanding on how I can then add to the configuration to allow certain IP's to certain ports.
I am happy to pay for this if the information enables me to get the firewall setup how I need/want it.
Please let me know if you think you might have the answers.
Thanks in advance
Daren
The main idea behind this is that the firewall will block port 22 for example to all users.
But then I need to write a script that will read a database and allow IP addresses from this database access to a specific port for a given time.
So for example I want to allow 81.81.42.42 access to port 22 for 1 hour.
What I am looking for someone to help me on is a basic firewall configuration to block all the ports and then an understanding on how I can then add to the configuration to allow certain IP's to certain ports.
I am happy to pay for this if the information enables me to get the firewall setup how I need/want it.
Please let me know if you think you might have the answers.
Thanks in advance
Daren