it's impossible with ipchains. ipchains can only redirect local services.
you should either use redir or ipmasqadm. please refer to my earlier post
which contains example.
> -----Original Message-----
> From: lisa simpson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 11, 2000 11:54 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [plug] redirecting with linux
>
>
>
>
> try ipchains.
>
>
>
> On Mon, 10 Apr 2000, Horatio B. Bogbindero wrote:
>
> >
> > i have a linux box in the local network with an ip address
> 192.168.1.2.
> > my server has an local ip address of 192.168.1.1 and an external of
> > 10.0.0.1.
> >
> > i want that whenever a person from the external network refers to
> > 10.0.0.1:9999 he is redirected to 192.168.1.2:8830. the
> only thing that i
> > will allow is http packets with its corresponsing ack and
> nack packets.
> >
> > thanks
> >
> >
>
>
> -
> Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]