I have linux iptables firewall on red hat 9.0 .

I have a linux apache server on a private ip need to access the server from outside via our public ip.

i have given the following code.

EXTR=Public ip

#Incoming HTTP Requests:
iptables -t nat -A PREROUTING -i $EXTR -p tcp --dport 80 -j DNAT --to-destination $WEB_SRV:80
iptables -t nat -A PREROUTING -i $EXTR -p udp --dport 80 -j DNAT --to-destination $WEB_SRV:80

I ran the iptables with the above code ,but it dosen't output any error.

any inputs please