Re: IPFW config

From: Simon Barner (barner_at_gmx.de)
Date: 02/20/05

  • Next message: Pat Maddox: "Re: Configuring PF"
    Date: Sun, 20 Feb 2005 19:36:24 +0100
    To: SigmaX <scottclansman@cwazy.co.uk>
    
    
    

    > Set IPFW to allow traffic on ports 80, 10000, and 23 (That's the default
    > SSH port, right?)

    Nope, it's 22.

    > Then start IPFW with the kernel module (I know how to do this)

    Have you already read
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html?

    It describes how to enable ipfw in rc.conf, and how to specify a
    firewall script that loads the rules during the boot process.

    Suppose, your fw script is /etc/ipfw.rules. Then the following should
    (no warranty, of course ;-) load your rules without a reboot:

    # kldload ipfw.ko && sh /etc/ipfw.rules

    Simon

    
    


    • application/pgp-signature attachment: stored

  • Next message: Pat Maddox: "Re: Configuring PF"

    Relevant Pages

    • Re: ipfw questions
      ... "Dennis Antunes" writes: ... firewall_type is used to select one of several standard setups in ... The correct variable to use to specify a different ... firewall script is firewall_script. ...
      (freebsd-stable)
    • Re: ipfw questions
      ... > firewall script is firewall_script. ... Yes, but Dennis wants to specify the rules file, non the script, no? ...
      (freebsd-stable)
    • Re: how to run script after adsl-start
      ... Depending on what firewall you are using you could also specify an ... interface/device instead of an IP address, ... > I'd like to run a firewall script after the adsl-start script from the ...
      (comp.os.linux.networking)