Hi everyone,
I have a router/firewall on a public /24. I
installed tircproxy in order to have a transparent proxy (to filter DCC send
requests).
Here are the lines related to IRC in my
rc.firewall:
${IPTABLES} -t nat -A PREROUTING -s ${INTERNAL_LAN}
-p tcp --dport 6660:6669 -j REDIRECT --to-port 7666
${IPTABLES} -t nat -A PREROUTING -s ${INTERNAL_LAN} -p udp --dport 6660:6669 -j REDIRECT --to-port 7666 and here's the command I use to launch the
proxy:
tircproxy -s 7666 -b ${MY_IP} -S -K -R
-I
There are several strange things:
- many connexions between my internal lan and
external servers on port 6667 still exist... they shouldnt since I redirected
the 6667 trafic?
- many connexions between my router on ports
>1024 and.... my router's port 7666! I was expecting local machines to
connect on 7666, but not the router itself?
IRC seems to be working for clients, but I think
it does through direct connexions...
Can anyone help me about that?
Sylvain
|