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

Mark McRitchie wrote:
>
> I've tried:
> # iptables -t nat -A PREROUTING -s 10.44.1.0/24 -p tcp --dport 80 -j
> REDIRECT --to-port 3128

> Anybody doing a similar thing and got it working?

Not tried, the NAT here is ipchains still :(, and I like optional proxies.

Most of the examples exclude the gateway IP itself, or select packets
based on interface, rather than source IP address - could this be a problem?

If you can't see it in the list of rules - maybe it didn't take.
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+bymvGFXfHI9FVgYRAgViAJ9ml1uEkfNcX5RQbSndr91V6va6AACeK598
zZ9MmuLXHcDyR698T6imiIE=
=ODkR
-----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