[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nat and prerouting



On Sun, 03 Nov 2002, yoann wrote:

> Peter Palfrader a écrit:
> 
> >On Sun, 03 Nov 2002, yoann wrote:
> >
> >>iptables -A PREROUTING -i eth0 -t nat -p tcp -d IpAddServer --dport 81 \
> >>-j DNAT --to-destination 192.168.0.2:80
> >
> >
> >you have forwarding enabled?
> >eth0 is your external interface?
> >all other tables and chains are empty and their policy ACCEPT?
> 
> sorry i made a mistake when i have done the copy/past, in the right 
> rule, it's without the "-o eth0"

There is no "-o eth0" in your original post.

you have forwarding enabled?
are you trying from the outside or from inside?

					yours,
					peter

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/

Attachment: pgp7CF9HlT2AX.pgp
Description: PGP signature


Reply to: