From: Sp0oKeR <spooker@gmail.com>
To: Lars Nielsen <lars@mit-web.dk>
Cc: netfilter@lists.netfilter.org
Subject: Re: allow DCC through iptables nat box
Date: Mon, 29 Aug 2005 13:41:03 -0300 [thread overview]
Message-ID: <9255886c050829094144ddcd3a@mail.gmail.com> (raw)
In-Reply-To: <43133603.3010005@mit-web.dk>
You can use Patch O Matic module
5.4 irc-conntrack-nat patch
This patch by Harald Welte <laforge@gnumonks.org> allows DCC to work
though NAT and connection tracking. By default, this module will track
IRC connection on port 6667. But you can change this for another port
with the `ports=xx' argument.
http://www.netfilter.org/documentation/HOWTO//netfilter-extensions-HOWTO-5.html#ss5.4
Regards,
Sp0oKeR
On 8/29/05, Lars Nielsen <lars@mit-web.dk> wrote:
> Hey
>
> I have the following setup:
>
> LAN 192.168.1.0/24
> Linux box with iptables
> eth0 192.168.1.1
> eth1 ext_ip
> internet
>
> I use the following to allow internal clients to access the internet.
> iptables -t nat -A POSTROUTING -o eth1 -s 192.168.1.0/24 -d 0/0 -j
> MASQUERADE
>
> Which rules should i use to allow DCC to and from an internal Mirc
> client on ip 192.168.1.2
>
> I hope you can help me! ;o)
>
> Best regards Lars Nielsen
>
>
>
next prev parent reply other threads:[~2005-08-29 16:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-29 16:21 allow DCC through iptables nat box Lars Nielsen
2005-08-29 16:41 ` Sp0oKeR [this message]
2005-08-29 18:24 ` Sorin Panca
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=9255886c050829094144ddcd3a@mail.gmail.com \
--to=spooker@gmail.com \
--cc=lars@mit-web.dk \
--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