Before anyone says it, I know I could do this differently, but I feel like I shouldn't have to.
I'm trying to block all incoming traffic (except, of course, for public ports; SMTP, HTTP, HTTPS), but still allow all outgoing traffic.
Tried something like this;
...which does block all non-public incoming, *but* it prevents me from outgoing stuff like wget, lynx, etc.
I could swear something like this used to work in FreeBSD v.4.
{edit: SirDice pointed out DNS to me, so I changed 62001, above, to reflect this. Didn't work, but it was a keen observation. Thank you.}
I'm trying to block all incoming traffic (except, of course, for public ports; SMTP, HTTP, HTTPS), but still allow all outgoing traffic.
Tried something like this;
Code:
62000 allow tcp from any to $ME 25,80,443
62001 allow tcp from $ME to any 25,53,80,443
64000 deny tcp from any to $ME
65534 allow ip from any to any
...which does block all non-public incoming, *but* it prevents me from outgoing stuff like wget, lynx, etc.
I could swear something like this used to work in FreeBSD v.4.
{edit: SirDice pointed out DNS to me, so I changed 62001, above, to reflect this. Didn't work, but it was a keen observation. Thank you.}