D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] iptables Connection redirection



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 12 March 2003 12:55 pm, Mark McRitchie wrote:
> # iptables -nvL -t nat
> Chain PREROUTING (policy ACCEPT 2374 packets, 263K bytes)
>  pkts bytes target     prot opt in     out     source
> destination
>    17   828 DNAT       tcp  --  *      *      !10.44.1.107
> 0.0.0.0/0          tcp dpt:80 to:10.44.1.107:3128
>     0     0 DNAT       tcp  --  *      *      !10.44.1.107
> 0.0.0.0/0          tcp dpt:80 to:10.44.1.107:3128

try using "-j REDIECT with --to-ports 3128" instead of "-j DNAT 
- --to-destination"



 ~ Theo

- -- 
Theo Zourzouvillys
<theo@xxxxxxxxxxxxxxxx>
<http://theo.me.uk/>

- ---------------------------------------
/"\  ASCII Ribbon Campaign against HTML
\ /  email and proprietary format
 X   attachments.
/ \
- ---------------------------------------





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+bzMu448CrwpTn6YRAiubAJ9BQmSuAkHWPIl50VH07/tyaDltmgCfT/0m
YisMWD3CUrtQy+2yNE/SYzk=
=H6mU
-----END PGP SIGNATURE-----


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly