You are not logged in.

#1 2005-04-11 03:03:33

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

[new] firewall

Here's a package of the firewall script from: http://projectfiles.com/firewall/

I have modified it, so it works and fits in fine with arch's init.

Configuration is in /etc/conf.d/firewall and is pretty simple

To run firewall, just add 'firewall' to your DAEMONs line in /etc/rc.conf

pkgname=firewall
pkgver=2.0rc9
pkgrel=1
pkgdesc="Firewall based on the one from http://projectfiles.com/firewall/, edited to suit arch"
url="http://projectfiles.com/firewall/"
makedepends=()
depends=('iptables' 'bash')
source=('http://iphitus.loudas.com/arch/firewall/firewall.rc.d' 
        'http://iphitus.loudas.com/arch/firewall/firewall.conf.d')

md5sums=('25dafd8f382d0967fdafd3c2c74874a6' '92911a1477d20774f121ce5cec17508d')



build() {
  mkdir -p $startdir/pkg/etc/rc.d/ $startdir/pkg/etc/conf.d/
  cp $startdir/src/firewall.conf.d $startdir/pkg/etc/conf.d/firewall
  cp $startdir/src/firewall.rc.d $startdir/pkg/etc/rc.d/firewall
  chmod 755 $startdir/pkg/etc/rc.d/firewall
  chmod 755 $startdir/pkg/etc/conf.d/firewall
}

Offline

#2 2005-04-11 05:27:29

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [new] firewall

There's some routing problems on the server the two files are hosted on, so bear with it, it's going to be up and down like a yoyo for a short while.

Offline

Board footer

Powered by FluxBB