my config

router outside ****, inside 216.61.109.254
linux box kernal 2.4.x
eth0 216.61.109.253
eth0:1 216.61.109.241
eth2 192.168.10.1

#!/bin/sh

IPTABLES=/sbin/iptables
EXTIF=eth0
INTIF=eth2

echo "1" > /proc/sys/net/ipv4/ip_forward

$IPTABLES -P INPUT ACCEPT
$IPTABLES -F INPUT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -F OUTPUT
$IPTABLES -P FORWARD DROP
$IPTABLES -F FORWARD
$IPTABLES -t nat -F

$IPTABLES -A FORWARD -i $EXTIF -o $INTIF -j ACCEPT
$IPTABLES -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT

$EXTIF"
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -j
MASQUERADE

iptables -t nat -A PREROUTING -d 216.61.109.241 -j
DNAT --to 192.168.10.10

the NAT doesn't work, please help!!!!

I need users to find that public ip address, and use
it for my mail server


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

Reply via email to