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



On Wed, 12 Mar 2003, Theo Zourzouvillys wrote:
> On Wednesday 12 March 2003 11:42 am, Mark McRitchie wrote:
> > But that isn't working and I can't find it listed in my rules.
>
> it looks fine to me.
>
> It should be listed in `iptables -nvL -t nat`
>
Ah! was just doing `iptablse -L`

# 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


>
> are you testing from localhost? it's wont work from there (unless it's been
> fixed yet) ... check from somewhere on the network instead.

Nope. Testing it from my desktop.

I thought I might have a routing loop as squidGard was redirecting to
a cgi script apache on port 80, so I moved apache to 8080, but its still
not working.

Cheers,
Mark.


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


Lynx friendly