On Saturday 04 June 2005 01:37, Mike Liguit wrote:

> 10.136.58.7 and 10.136.57.7 is on a different subnet. It won't work.
>
> On 6/3/05, Junix Gaspar <[EMAIL PROTECTED]> wrote:
> > > pre,
> > >
> > > iptables -t nat -A PREROUTING -i ethx -p tcp --dport 80 -j DNAT --to
> > > yung.ip.mo.pre:80
> > >
> > > --

ah ok, i thought the request were gonna come direcly from the internet so i 
specified an interface...well in this case, the ff should work.

iptables -t nat -A PREROUTING -p tcp -j DNAT -d 10.136.58.7 --dport 80
--to-destination 10.136.57.7
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to