Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Aug 2000 21:59:03 +0200
From:      Roelof Osinga <roelof@eboa.com>
To:        Chris Hill <chris@monochrome.org>
Cc:        whitehat@home.com, FreeBSD Questions List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ipfw woes
Message-ID:  <398F1507.BC203A37@eboa.com>
References:  <Pine.BSF.3.96.1000806163037.37066E-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Hill wrote:
> 
> ...
> >   add pass tcp from any to <your IP> 80 in via ed0
> >   add pass tcp from any to <your IP> 194 in via ed0
>                                        ^^^
> Just a side note: in case you (like me) don't have all the port numbers
> memorized, take a look at /etc/services to find out what they are.

Or better still, use them in your script <g>.

E.g.

ipfw add 1000 drop tcp from any to any \
  ssh,telnet,imap,pop3,finger,sunrpc in via ep1

Roelof

-- 
-----------------------------------------------------------------------
Eboa (ingenieursburo Office Automation)      web. http://eboa.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?398F1507.BC203A37>