[olug] System info RE: my ftp question

Joe Mastandrea joem at sarpy.com
Mon Jan 14 12:01:10 UTC 2002


Thanks to those attempting to help with my "can't ftp or use 
FrontPagethrough my firewall" question.  We set the firewall up at the 
installfest.  It runs RedHat 7.1 and I've disabled services on the 
Internet ethernet card (including ssh and ftp).  I've included 
my /etc/rc.d/rc.firewall in the hopes that it helps disgnose what should 
or shouldn't be working.  I call it from my /etc/rc.d/rc.local

#!/bin/sh
FWVER=0.63
echo -e "\n\nLoading simple rc.firewall version $FWVER...\n"
IPTABLES=/sbin/iptables
IPC=/sbin/ipchains
EXITIF="eth0"
INTIF="eth1"
echo " External interface: $EXTIF"
echo " Internal interface: $INTIF"

sysctl -w net.ipv4.ip_forward=1

$IPC -F
$IPC -P forward REJECT
$IPC -A forward -s 10.6.16.1/24 -j MASQ




-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

For help contact olug-help at bstc.net - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at bstc.net
or `mail olug-unsubscribe at bstc.net < /dev/null`
(c)2001 OLUG http://www.olug.org

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_




More information about the OLUG mailing list