"Dragan Colak" <(E-Mail Removed)> wrote in message
news

(E-Mail Removed)...
> On Wed, 12 Nov 2003 14:44:18 +0000, Mike Dixon wrote:
>
> > Can somebody point me to a simple howto on getting a redhat 9 box on the
> > internal network seen from the outside on port 80?
> >
> > INTERNET
> > |
> > \/
> > ippp0
> > REDHAT 7.3 (2.2 kernel)
> > eth0
> > |
> > \/
> > INTERNAL NETWORK
> > INCLUDING RH9 BOX (192.168.0.150)
> >
> > Many thanks in advance
> > Mike Dixon
>
> You have to forward your router's port 80 to the internal box. You want to
> use iptables for that. My rule for that looks like this:
>
> iptables -A PREROUTING -t nat -p tcp -i $EXT_INTERFACE --dport 80 \
> -j DNAT --to 192.168.0.150:80
>
> For more help take at look at 'man iptables'.
>
> Dragan
>
Hi Dragan
I too have the same problem as Mike, but when I tried your fix I got this
answer:
Warning weird character in interface '--dport' (No aliases, :, ! or * ). bad
argument '80'
Any ideas would be welcome.
Leslie Cox.