Aliases definition file
#!/bin/sh # $Id: aliases.cfg,v 1.1 1998/01/03 13:12:17 root Exp root $ # $Date: 1998/01/03 13:12:17 $ # # File: etc/aliases.cfg - Firewall Configuration Tool # Desc: here are some definitions for your configuration # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # (c) Copyright 1998 J. Hellmerichs-Friedrich # # You can use these variables in the configuration masks # e.g.: "$internal" can be used as a synonym for your hosts # on your internal network which are accessed via the main # network interface (usually eth0) # # DONīT USE SERVICE NAMES FROM /etc/services (e.g. ssh, telnet ...) # # USE ONLY VALID /bin/sh SYNTAX # first some usefull definitions ... # (they shouldnīt be deleted) # hosts inside your net if [ -z "$DOMAIN" ]; then DOMAIN=`hostname -d` NETMASK="255.255.255.0" fi INTERNAL="$DOMAIN/$NETMASK" internal="$INTERNAL" # shortcut for internet-hosts ANY='0.0.0.0/0' any="$ANY" # general client- (source-) ports client='1024:65535' # general reserved ports reserved='1:1023' # ports for the Secure Shell ssh_p='22' ssh_client="800:1023 $client" # Data Channel for FTP ftpdata_p='20' # SSL Data ports ssl_p='443 563' # SQL-Net ports sql_p='1521 1526' # You may want to change/add values below # --------------------------------------- # Squid (proxy-) port squid_p='8080' # X-Server ports 6000-6003 x_srv_p='6000:6003' # HTTP is defined in Network mask WWW="$HTTP" # your internet server host (donīt delete $ISV!) ISV="$WWW" # more names for the internet server isv="$ISV"; insv="$ISV"; insrv="$ISV"; inserv="$ISV"; inserver="$ISV" INSRV="$ISV" # your proxy host (e.g. squid) proxy="$ISV" # ---------------------------- # server hosts in internal net # ---------------------------- my_server="mail2.$DOMAIN dns.$DOMAIN" # e.g. the internal mail host and the internal DNS Server # (incl. the DNS-domain -> the interface gets $IN_DEV0)
(c) 1998 J. Hellmerichs-Friedrich