All of lore.kernel.org
 help / color / mirror / Atom feed
From: "it clown" <suse@mailbox.co.za>
To: netfilter@lists.netfilter.org
Subject: Re: irc+iptables
Date: Sat, 02 Oct 2004 19:32:35 +0200	[thread overview]
Message-ID: <web-460830972@mail01.infosat.net> (raw)
In-Reply-To: <1096717884.22962.69.camel@wolfpack.ljm.dom>

Sorry i ment port 6667 and not port 80 in the nat. I just
throught that because in isa server you can connect to irc
through it you could do the same with squid.

On Sat, 02 Oct 2004 07:51:25 -0400
 Jason Opperisano <opie@817west.com> wrote:
> On Sat, 2004-10-02 at 05:03, it clown wrote:
> > Hi All,
> > 
> > i am having some trouble in getting irc working through
> > iptables and squid.When i put a forwarder in my
> iptables
> > rule i can connect to irc but when i want to go through
> the
> > proxy i have no luck.I have loaded the ip_nat_irc and
> > tried:
> > 
> > -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT
> > --to-ports 3128.
> 
> which is a nat rule redirecting tcp port 80 traffic to
> your squid cache
> running on tcp port 3128.
> 
> > I have made the changes in squid to allown port 6667.
> > Port 6667 is allowed OUT.
> 
> what has has led you to believe that squid can proxy IRC
> traffic?  i may
> be out of the loop, but AFAIK, squid supports proxying
> for:  HTTP,
> HTTPS, FTP, Gopher, and WAIS.
> 
> even if it did support proxying for IRC, you're only
> redirecting port
> 80.
> 
> for IRC, you'll need to use a forward rule along the
> lines of:
> 
>   iptables -A FORWARD -i $INSIDE_IF -p tcp --syn --dport
> 6667 -j ACCEPT
> 
> HTH...
> 
> -j
> 
> disclaimer:  the rules contained in this message are
> meant to illustrate
> the requested functionality only, and not intended as a
> recommendation
> of best practices.  never execute any commands without
> fully
> understanding the implications.
> 
> -- 
> Jason Opperisano <opie@817west.com>
> 
> 

_____________________________________________________________________
For super low premiums ,click here http://www.dialdirect.co.za/quote


  reply	other threads:[~2004-10-02 17:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-02  9:03 irc+iptables it clown
2004-10-02 11:51 ` irc+iptables Jason Opperisano
2004-10-02 17:32   ` it clown [this message]
2004-10-02 16:20 ` irc+iptables Alistair Tonner
  -- strict thread matches above, loose matches on Subject: below --
2003-04-03 17:42 IRC iptables GBV

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=web-460830972@mail01.infosat.net \
    --to=suse@mailbox.co.za \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.