On Mon, 18 Aug 2003, Simran Hansrai wrote:

> Hi Guys,
> 
> I am trying to forward port 8080 on my redhat 8.0 box to port 80 on my
> solaris box and I have done the following so far:
> 
> and issued the following command:
> 
> iptables -A PREROUTING -t nat -p tcp -d 192.168.0.7 --dport 8080 -j
> DNAT --to 192.168.0.5:80
> 
> [EMAIL PROTECTED] root]# iptables -L
> Chain INPUT (policy ACCEPT)
> target     prot opt source               destination
> 
> Chain FORWARD (policy DROP)
> target     prot opt source               destination
> 
> Chain OUTPUT (policy ACCEPT)
> target     prot opt source               destination
> 
> Any ideas what I am doing wrong?  I don't have any other Iptable rules..

The traffic is still being dropped by the FORWARD chain.
Try addinf
iptables -A FORWARD -p tcp -d 192.168.0.5 --dport 80 -j ACCEPT

-- 
Kind regards,

Andre


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to