On Mon, 18 Aug 2003 06:45:03 -0700 "Simran Hansrai" <[EMAIL PROTECTED]> 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: > > Made sure that I have a "1" in my /proc/sys/net/ipv4/ip_forward file > > 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 > > I have made sure that apache is running on 192.168.0.5:80 by directly access > the site. But when I try and access it through: http://192.168.0.7:8080 I > am unable to bring anything up. > > [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 > [EMAIL PROTECTED] root]# > > Perhaps: iptables -P FORWARD ACCEPT Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list