#!/bin/sh
#
# Configuration for floppyfw
#
# Fill in the blanks.
#
# For configuring of modules to use : /modules.lst
# For configuring logging: /syslogd.cfg
# For configuring network interface cards (usually not necessary): /syslinux.cfg
# For configuring firewall rules and incoming traffic: /firewall.ini
#
#
# Outside network:
#
#
# DHCP is the hook for the DHCP-client for the outside interface. 
# If used, you may have hangups of connections when the client has
# to get a new IP-address.
#
# EXTERNAL is a hook for booting a external startup script from a package.
# the external script has to be in /etc/ext-up.init
#
OUTSIDE_IP=80.198.165.147
#OUTSIDE_IP=DHCP
#OUTSIDE_IP=EXTERNAL

# 
# The external script can need you to add your username and password, as
# the PPPoE package does. This is where you can add that.
USER_IDENT=
USER_PASSWORD=

#
# eth0 default device.
#
OUTSIDE_DEV=eth0
#
# Not nescessary to set these if you are using DHCP
#
OUTSIDE_NETMASK=255.255.255.248
OUTSIDE_NETWORK=80.198.165.13144
OUTSIDE_BROADCAST=80.198.165.51
#
# 
# Your inside network, this has 10.42.42.* set as default, this is 
# addresses assigned for internal networks according to RFC 1918.
#
# (Title is currently used for Appletalk routing only.
#  Several interfaces can share the same title)
#
# eth1 is the default device for the internal network.
#
INSIDE_TITLE="servers"
INSIDE_IP=192.168.101.1
INSIDE_DEV=eth1
INSIDE_NETWORK=192.168.101.0
INSIDE_NETMASK=255.255.255.0
INSIDE_BROADCAST=192.168.101.255

# If you have more than 2 network interfaces add them similarly to these.
# (capital A-Z and numbers are allowed in the "name").
#
INSIDE_BAD_TITLE="bad"
INSIDE_BAD_IP=192.168.0.2
INSIDE_BAD_DEV=eth2
INSIDE_BAD_NETWORK=192.168.0.0
INSIDE_BAD_NETMASK=255.255.255.0
INSIDE_BAD_BROADCAST=192.168.0.255

INSIDE_KONTOR_TITLE="kontor"
INSIDE_KONTOR_IP=192.168.103.2
INSIDE_KONTOR_DEV=eth3
INSIDE_KONTOR_NETWORK=192.168.103.0
INSIDE_KONTOR_NETMASK=255.255.255.0
INSIDE_KONTOR_BROADCAST=192.168.103.255
#
#INSIDE_BAR_TITLE="Office"
#INSIDE_BAR_IP=10.42.44.1
#INSIDE_BAR_DEV=eth3
#INSIDE_BAR_NETWORK=10.42.44.0
#INSIDE_BAR_NETMASK=255.255.255.0
#INSIDE_BAR_BROADCAST=10.42.44.255
#
# By default all defined interfaces are configured.
# Set it here to only load some of them or override the load order.
# (Default inside interface is always loaded first)
#
#INSIDE_EXTRA_IF="BAR FOO"

#
# Misc
# These are not nescessary to set if you are using DHCP.
# (The DOMAIN field might be useful to change)
#
DEFAULT_GATEWAY=80.198.165.145
NAME_SERVER_IP1=192.168.101.2
#NAME_SERVER_IP2=
HOSTNAME=mosambik
DOMAIN=vega.dk

#
# Use a DHCP server on the inside network. (This will turn on the DNSMASQ)
# (This server supports only a single inside interface - alternatively
#  disable this one - but still set the ranges - and use the dhcpd package)
#
DHCP_DAEMON=y
DHCP_RANGE_START=192.168.101.100
DHCP_RANGE_END=192.168.101.200
#
# If more than 2 network interfaces is defined above, you can add DHCP
# for them here (and disable the ranges above if DHCP is wanted on the
# extra interfaces only).
#
DHCP_BAD_RANGE_START=192.168.0.100
DHCP_BAD_RANGE_END=192.168.0.190

DHCP_KONTOR_RANGE_START=192.168.103.100
DHCP_KONTOR_RANGE_END=192.168.103.200
#
#DHCP_BAR_RANGE_START=10.42.44.100
#DHCP_BAR_RANGE_END=10.42.44.200

DHCP_WINS_SERVER=192.168.0.1

#
# Use a caching DNS server on the floppy. (This will automatically be true if
# the DHCP daemon is used.)
#
DNSMASQ=n
#
# Dnsmasq by default is enabled for all inside interfaces if enabled.
# You can set it manually here.
#
#DNSMASQ_DEVICES="eth1 eth3"

#
# (y)es or (n)o
#
OPEN_SHELL=y

# Choose the serial port for the console if you want to do serial console.
#SERIAL_CONSOLE=ttyS0
# Remove this if you are choosing the above.
SERIAL_CONSOLE=n

# 
# Turning on syslogd and klogd. 
# This is a nice thing but will eat CPU which is why it is turned 
# off by default.
#
USE_SYSLOG=n

# This SYSLOG does not use syslogd.conf so we have to set things here.
# Flags: 
# Log to /dev/tty3 instead of /var/log/messages which aren't exactly a 
# good idea on a ramdisk.
# -O /dev/tty3
# Log to network. host:port
# -R 10.42.42.42:514
# Log to both network and file:
# -L
# --MARK-- 0 is no mark.
# -m 0
SYSLOG_FLAGS="-m 360 -O /dev/tty3 -R 192.168.101.2"

#
# And for the logging the scripts use:
# Default works for most purposes.
#
DEBUG_LOG="/dev/tty3"


#
# At the bottom (almost) because this is a feature that should not be 
# widely used but it will be useful for some people, escpecially
# people using some irc servers demanding a result.
# 
# This is a fake ident daemon, you can set the userid it shall answer
# and floppyfw will automagically start the fake identd with this user
# as the response.
#
# This will have security implications since you are running a listening 
# daemon (server) on the outside network interface. do this ONLY 
# if you really need it.
#
#FAKEIDENT=

# If you want to use a second device (floppy disk, or whatever),
# enter a device name like "/dev/fd1"
# Otherwise enter "n"
#SECOND_DEVICE="/dev/fd1"

SECOND_DEVICE=n
