Re: laptop firewall rules

From: Giorgos Keramidas (keramida_at_ceid.upatras.gr)
Date: 10/31/05

  • Next message: Eric Schuele: "Re: backup strategies"
    Date: Mon, 31 Oct 2005 17:43:55 +0200
    To: Eric F Crist <ecrist@secure-computing.net>
    
    

    On 2005-10-31 16:45, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
    >On 2005-10-30 18:23, Eric F Crist <ecrist@secure-computing.net> wrote:
    >>On Oct 30, 2005, at 4:41 PM, andy@neu.net wrote:
    >>> Does anyone have a good example of a firewall ruleset for a
    >>> wireless interface in a laptop, or a pointer to documentation?
    >>> I want to use IPFilter on 6.0 rc1. I want to let all
    >>> connections out and keep state, but block all incoming from
    >>> the outside.
    >>
    >> That ruleset is easy:
    >>
    >> ipfw add check-state
    >> ipfw add allow tcp from me to any setup keep-state
    >> ipfw add allow tcp from any to any established
    >> ipfw add deny from any to me in
    >
    > No, please!
    >
    > If you are using "keep-state", when "allow all established" is
    > hardly ever a good idea.

    "when" = "then", of course.

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Eric Schuele: "Re: backup strategies"

    Relevant Pages

    • Re: ipfw question
      ... # Setup system for firewall service. ... ipfw add pass all from any to any via lo0 ... ipfw add deny all from any to 127.0.0.0/8 ... ipfw add deny tcp from any to any established ...
      (freebsd-questions)
    • Re: forwarding as a gateway, logging certain traffic
      ... ipfw add 1 log tcp from any to me 25 setup ... why not set up ipfw on the FreeBSD ... ipfw add 5 allow tcp from any to me 25 setup ...
      (freebsd-questions)
    • Re: ipfw question
      ... # Pass and log all incoming ftp-data connections. ... ipfw add allow log tcp from any 20 to any in setup keep-state ... This way only the packets related to one of the states will pass ...
      (freebsd-questions)
    • Re: Cant ping/nslookup
      ... I didn't know about "ipfw show". ... None of the deny rules where hit, ... 04200 0 0 allow tcp from any to any established ... Notice that NONE of the deny rules were hit, ...
      (FreeBSD-Security)
    • FreeBSD Security Advisory: FreeBSD-SA-01:08.ipfw
      ... based on an old version of ipfw and does not contain as many features. ... Due to overloading of the TCP reserved flags field, ipfw and ip6fw ... incorrectly treat all TCP packets with the ECE flag set as being part ...
      (FreeBSD-Security)