LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-05-2005, 12:39 PM   #1
zr0gravity
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Rep: Reputation: 0
DCC in IRC doesn't work with IPTABLES?!


Ok, well this is my second post because my first one has already been moved to the second page. Basically I've got a problem with IPTABLES and NATing my DCC traffic from the internal network to the internet. My firewall works just fine and it routes everything else, but it doesn't route DCC traffic and I can't figure out what to do.

I've read up about how IRC DCC routing is supported by IPTABLES in a file called ip_nat_irc.o. I am loading this module when I load my firewall rulesets and it still doesn't work.

I've forwarded EVERY port to one of my internal computers to check and see if it was port forwarding problem, but nothing happened. When I try to do a DCC CHAT with one client on my internal network to another client on my internal network, the client requesting the CHAT gives me "Unable to Connect" and the client sending the CHAT just sits with a "Waiting for Acknoledgement" message until it times out.

I'm trying to read as much as I can, but it seems that these HOWTO's provide little to no documentation on this ip_nat_irc.o module.

Does anybody have any suggestions?
 
Old 02-05-2005, 06:28 PM   #2
franksun
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
forward the port you use to send with to the host you send from.
 
Old 02-05-2005, 10:02 PM   #3
zr0gravity
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Franksun, thank you for your reply as I've really had no replies in the last 2 days.

In response to the suggestion, I would like to point out that I did forward these ports. Now I said EVERY, but I really only forwarded 1024-65535. I will admit that I know very little about IPTABLES because it's quite confusing as to where to packets are going, and which ones should be let in, and what table will handle which packet.

To be perfectly honest I don't know if I'm doing it right because I've put the port fowarding in (according to several online documents) and taken it out and I've seen no change in my BitTorrent dl/ul speeds nor have I seen any change in my P2P programs. I suspect that I've already done everything I need to in a different chain and just put an unneeded chain in the mix for my BT and P2P clients. I don't know exactly how to port forward because several online documents give different variations of how to do this. However, from what I gathered from reading them all, I basically need to have a rule in FORWARD table and a rule in PREROUTING.

I do however think that it's not the port forwarding that's the issue here. I think it's a problem with handling IRC's DCC protocol. If anyone has a similar situation here but your box does allow DCC traffic through, could you please paste an example ruleset to handle DCC traffic here for me to look at?

Thanks for you help.

zr0

P.S. I used the firewall work around with my dccserver and the client requesting just sits and waits while the host does absolutely nothing.

Last edited by zr0gravity; 02-05-2005 at 10:05 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
irc, NAT, dcc - almost there..but.. b0uncer Linux - Networking 7 08-22-2004 02:17 PM
IRC iptables dcc transfers phatbastard Linux - Security 1 03-09-2004 04:17 AM
Firewall blocks me from sending irc dcc. zer0python Linux - Networking 8 01-13-2004 09:06 PM
IPchains and IRC DCC file transfer problems alke Linux - Networking 2 07-03-2003 11:27 PM
IPtables firewall and IRC jfall Linux - Networking 6 11-16-2002 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration