Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Sylvain BERTRAND" <jowy@2001-space-odyssey.net>
To: netfilter@lists.netfilter.org
Subject: transparent IRC proxy: doesnt work
Date: Thu, 23 Oct 2003 17:03:31 +0200	[thread overview]
Message-ID: <001901c39976$d2d57120$6500a8c0@SYFLO> (raw)
In-Reply-To: 9FEBBE3B5C27D311B0B90050041E59B00439EFBD@ziggy.prideindustries.com

[-- Attachment #1: Type: text/plain, Size: 998 bytes --]

My apologiesHi 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

[-- Attachment #2: Type: text/html, Size: 2208 bytes --]

  reply	other threads:[~2003-10-23 15:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-23 14:29 My apologies Anderson, Ray
2003-10-23 15:03 ` Sylvain BERTRAND [this message]
2003-10-23 18:00   ` transparent IRC proxy: doesnt work Alistair Tonner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001901c39976$d2d57120$6500a8c0@SYFLO' \
    --to=jowy@2001-space-odyssey.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox