On Mon, 2003-08-18 at 14:45, 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: > > 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
That should work - it is the same rule I use here for portforwarding to my webserver. Perhaps your problem may be that the internal and external addresses are on the same network? - that would make it rather difficult to determine who was on which side of the firewall. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list