I've been migrating my firewall from mandriva to FreeBSD and I'm almost done with it. But I'm pretty freaky about security and in my linux I have the next rule:
which means: if anything comes from 1-65535 ports and upd protocol, reject. and if I do a nmap to any of these ports, it just simply says:
which I love!
But when I do this in ipfw:
and I use nmap, the result is:
So I don't like to tell to the world that I'm filtering packets. I just want to reset it. How can I do this in FreeBSD with ipfw? Or what am I doing wrong?
Thanks
Code:
#iptables -A INPUT -i eth1 -p udp -m multiport --dport 1:65535 -j REJECT
which means: if anything comes from 1-65535 ports and upd protocol, reject. and if I do a nmap to any of these ports, it just simply says:
Code:
PORT STATE SERVICE
5050/udp closed mmcc
But when I do this in ipfw:
Code:
#ipfw -q add reset log udp from any to any keep-state
Code:
PORT STATE SERVICE
53/udp open|filtered domain
So I don't like to tell to the world that I'm filtering packets. I just want to reset it. How can I do this in FreeBSD with ipfw? Or what am I doing wrong?
Thanks