Date: Fri, 8 Jun 2001 17:18:47 -0400 From: "Peter" <peter@sysadmin-inc.com> To: <freebsd-small@freebsd.org> Subject: firewall rules not loading. Message-ID: <NCBBILLCPGBGKGJLJKHHKEICCAAA.peter@sysadmin-inc.com>
next in thread | raw e-mail | index | archive | help
I've managed to get things a little closer to running, and even have a
functioning network on the 'net' version of picobsd, however I'm having
problems getting it to read my firewall script.
I wrote my own and put it in the same way I have in the past with full blown
versions of freebsd, but it doesn't seem to be working. I can load the
script manually after picobsd is up, and it works.
I've attached my rc.conf below. Any comments are welcome.
TIA
Peter Brezny
purplecat.net
#!/bin/sh
# $FreeBSD: src/release/picobsd/net/floppy.tree/etc/rc.conf,v 1.6 1999/08/28
01:33:41 peter Exp
$
swapfile="/swap" # Set to name of swapfile if aux swapfile
desired.
### Network configuration sub-section ######################
### Basic network options: ###
hostname="newlife.fire.sysadmin-inc.com" # Set this!
tcp_extensions="NO" # Allow RFC1323 & RFC1644 extensions (or
NO).
network_interfaces="lo0 ep0 ed0" # List of network interfaces (lo0 is
loopback).
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
ifconfig_ep0="inet 10.30.1.40/24"
ifconfig_ed0="inet 10.20.40.1/24"
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias
entry.
### Network daemons options: ###
inetd_enable="YES" # Run the network daemon dispatcher (or NO)
inetd_flags="" # Optional flags to inetd
snmpd_enable="NO" # Run the SNMP daemon (or NO)
snmpd_flags="-C -c /etc/snmpd.conf" # Optional flags to snmpd
### Network routing options: ###
defaultrouter="10.30.1.1" # Set to default gateway (or NO).
static_routes="" # Set to static route list (or leave empty).
gateway_enable="YES" # Set to YES if this host will be a gateway.
arpproxy_all="" # replaces obsolete kernel option
ARP_PROXYALL.
# Firewall Options
firewall_enable="YES"
natd_enable="YES"
natd_interface="ep0"
firewall_script="/etc/rc.firewall.pico"
### Allow local configuration override at the very end here ##
if [ -f /etc/rc.conf.local ]; then
. /etc/rc.conf.local
fi
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NCBBILLCPGBGKGJLJKHHKEICCAAA.peter>
