Firewalls

Hi,

I was doing abit of reading on firewalls when this question came up.

Is there any command which sets up a firewall that will only allow packets through if they come from a port number less than 1024?

How about a command which allows packets through if they are destined for a port number less than 1024?

Hi

Of course there is :slight_smile:

I dont know what firewall you are planning on using but PF in OpenBSD works great for me..

/Peter

is there a command using iptables?

iptables style :
-dport 0:1023

will affect 0-1023

/peter