My Configuration files.

These are the setting I use with my lrp floppies. They work for me and are here for your information. They might not work for you, but you can use them to check. I have a modem at comport 1 (ppp0); I use a ISA NE2000 NIC with irq 9 and i/o 220 (ETH0). My ip is 192.169.0.1 and the network is 192.168.0.0. This is different from the trevor and materhorn floppys! The username is billgates and the password is ntisgreat. I will only show those lines that are not commented out!

The Trevor floppy.

1. The file /etcnetwork_direct.conf

#Avoid MS NetBIOS over IP passing out of LAN
echo " Denying Microsoft NetBIOS..."
ipfwadm -F -a deny -P tcp -S 0/0 137:139
ipfwadm -F -a deny -P udp -S 0/0 137:139

#Foward RealAudio behind IP Masq (requires ip_masq_raudio.o module)
ipautofw -A -r udp 6970 7170 -c tcp 7070

#Don't lose the first packet starting up the dialler
echo "1" >/proc/sys/net/ipv4/ip_dynaddr #hold pkt while ppp starts

#arp -i eth0 -Ds ip1 eth0 pub

2. The file etc/network.conf

DIRECT_SETTINGS_ONLY=NO
VERBOSE=YES
MAX_LOOP=3
IPFWDING_KERNEL=YES
IPFWDING_FW=YES
CONFIG_HOSTNAME=YES
CONFIG_HOSTSFILE=YES
CONFIG_DNS=YES

IF0_IFNAME=eth0
IF0_IPADDR=192.168.0.5
IF0_NETMASK=255.255.255.0
IF0_BROADCAST=192.168.0.255
IF0_IP_SPOOF=YES

NET0_NETADDR=192.168.0.0
NET0_NETMASK=$IF0_NETMASK
NET0_GATEWAY_IF=default
NET0_GATEWAY_IP=default
NET0_IPMASQ=YES
NET0_IPMASQ_IF=default

#GW0_IPADDR=$HOST0_IPADDR
GW0_IFNAME=$IF0_NAME
GW0_METRIC=1

HOSTNAME=myrouter
alias2..
HOSTS0="$IF0_IPADDR $HOSTNAME.somewhere.offnet $HOSTNAME mr rtr"

DOMAINS="somewhere.offnet"
DNS0=195.96.96.97
DNS1=195.96.96.33

2. The file /etc/ppp/pap-secrets

* * ntisgreat

3. The file /etc/ppp/chap-secrets

* * ntisgreat

4. The file /etc/ppp/chatscript

ABORT BUSY
#ABORT VOICE
ABORT "NO DIAL TONE"
"" ATDT4
CONNECT ""

5. the file /etc/ppp/options

user billgates
/dev/ttyS0
115200
idle 600
connect '/usr/sbin/chat -v -f /etc/ppp/chatscript -r /tmp/connect.log'
demand
persist
12.34.56.78:12.34.56.79
ipcp-accept-local
ipcp-accept-remote
modem
crtscts
defaultroute

6. /etc/modules
ip_masq_ftp
ip_masq_irc
ip_masq_raudio
ip_masq_cuseeme
ip_masq_vdolive
ip_masq_quake
serial
slhc
8390
ne io=0x220,irq=2
ne2k-pci
ppp
bsd_comp
ppp_deflate

My Materhorn configuration files

1. /etc/ipfilter.conf

You do not need to change anything here, but you can if you want to change the firewall settings. I did not change a thing, so I wont put my lines here.

2. /etc/network.conf

VERBOSE=YES
MAX_LOOP=10
IPFWDING_KERNEL=FILTER_ON
IPALWAYSDEFRAG_KERNEL=YES
CONFIG_HOSTNAME=NO
CONFIG_HOSTSFILE=NO
CONFIG_DNS=yes

IF_AUTO="ppp0 eth0"
IF_LIST="$IF_AUTO ppp0"

ALLIF_ACCEPT_REDIRECTS=NO
DEF_IP_SPOOF=YES
DEF_IP_KRNL_LOGMARTIANS=YES

BRG_SWITCH=NO
BRG_EXEMPT_PROTOS=""

eth0_IPADDR=192.168.0.5
eth0_MASKLEN=24
eth0_BROADCAST=192.168.0.255
eth0_IP_SPOOF=no
eth0_IP_KRNL_LOGMARTIANS=YES
eth0_IP_SHARED_MEDIA=NO
eth0_BRIDGE=NO
eth0_PROXY_ARP=NO
eth0_FAIRQ=NO

ppp_BNDWIDTH=30Kbit
ppp_FAIRQ=YES
ppp_TXQLEN=30
ppp_IABURST=20
ppp_IARATE=10Kbit
ppp_PXMTU=1500

IPFILTER_SWITCH=firewall

SNMP_BLOCK=NO # Block all SNMP (YES/NO)
SNMP_MANAGER_IPS="10.100.1.2"

MRK_CRIT=1 # Critical traffic, routing, DNS
MRK_IA=2 # Interactive traffic - telnet, ssh, IRC
                        
CLS_FAIRQ="${MRK_CRIT}_89_0/0 ${MRK_CRIT}_udp_0/0_route ${MRK_CRIT}_tcp_0/0_bgp ${MRK_CRIT}_tcp_0/0_domain ${MRK_CRIT}_udp_0/0_domain ${MRK_IA}_tcp_0/0_telnet ${MRK_IA}_tcp_0/0_ssh"

EXTERN_IF="ppp0" # External Interface

EXTERN_DYNADDR=YES # - YES/NO
INTERN_IF="eth0" # Internal Interface
INTERN_NET=192.168.0.0/24 # Internal network (to be masqueraded)
INTERN_IP=192.168.0.5 # IP number of Internal Interface

proto_destnet_port

if_up () {

I have changed nothing after the line above and will skipp all that is below it.

3. /etc/ppp/pap-secrets

billgates * ntisgreat

4. I left chap-secrets alone

5. /etc/ppp/options

asyncmap 00000000
auth
crtscts
modem
lcp-echo-interval 30
lcp-echo-failure 4
noipx

6. /etc/chat-scripts/provider

ABORT BUSY
ABORT "NO DIAL TONE"
"" ATDT4
CONNECT ""

7. /etc/modules
8390
ne io=0x220, irq=9
ne2k-pci
slhc
ppp
ip_masq_ftp
ip_masq_irc
ip_masq_quake
ip_masq_raudio
ip_masq_vdolive
ip_masq_cuseeme
ip_masq_user
ip_masq_autofw
ip_masq_portfw
ip_masq_mfw
ip_masq_pptp