Hi all,
I am running the firewall script on RH Linux 7.3 (2.4.24) with dual NICs. eth0 is connect to the outside world and eth1 is connected to my Windows XP Pro machine.
My firewall.conf script:


IPTABLES="/sbin/iptables"
ANYWHERE="0/0"
INT_IP="192.168.1.1"
EXT_IP=`/sbin/ifconfig eth0 | grep -i "addr:" | cut -f2 -d: | cut -f1 -d " "`
EXT_INTERFACES="eth0"
INT_NETWORKS="192.168.1.0/24"
LOGGING_ENABLED="1"
LOGGING_PREFIX="FW:"
ALLOWED_PORTS="21 22 80 53"
TRUSTED_INTERFACES="eth1"


My Windows settings are:
IP = 192.168.1.2
MASK = 255.255.255.0
GW = 192.168.1.1

DNS Servers are the same as listed in /etc/resolv.conf.

My /etc/sysconfig/network-scripts/ifcfg-eth1:
DEVICE=eth1
IPADDR=192.168.1.1

Am I missing something? I cannot connect to the outside world from my Windows machine.
/var/log/messages:


Apr 27 18:49:03 XXX-XXX-XXX-XXX kernel: FW: Mangle-PREROUTING IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:07:0d:ac:80:54:08:00 SRC=10.119.224.1 DST=255.255.255.255 LEN=347 TOS=0x00 PREC=0x00 TTL=255 ID=5848 PROTO=UDP SPT=67 DPT=68 LEN=327

Where XXX-XXX-XXX-XXX is my external IP address of eth0.
Any ideas?
TIA
Mike

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




Reply via email to