Linux Netfilter discussions
 help / color / mirror / Atom feed
* DCC receive works fine but not SEND
@ 2002-11-25 23:51 Joel Linuxdude
  2002-11-26  1:20 ` Nix N. Nix
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Linuxdude @ 2002-11-25 23:51 UTC (permalink / raw)
  To: netfilter

I can not send files over IRC using DCC but I can receive
them just fine. I played with the firewall script and didnt
have any luck. Maybe its the ISP, but what can I do to ensure
that it will work?

eth0 = cable modem
eth1 = LAN

I make sure to do this;
$IPT -t nat -A POSTROUTING -o eth0 -j SNAT --to-source x.x.x.x

For ports that seem to not get forwarded right I do this;
$IPT -t nat -A PREROUTING -i eth0 -p tcp --dport 6699 -j DNAT --to 
192.168.0.9-192.168.0.20  (WinMX stuff)

I can not find any specs to tell me what IRC DCC is all about!
Is it TCP or UDP? What port?

Thanks!!

Joel




_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DCC receive works fine but not SEND
  2002-11-25 23:51 Joel Linuxdude
@ 2002-11-26  1:20 ` Nix N. Nix
  0 siblings, 0 replies; 4+ messages in thread
From: Nix N. Nix @ 2002-11-26  1:20 UTC (permalink / raw)
  To: Joel Linuxdude; +Cc: netfilter

On Mon, 2002-11-25 at 18:51, Joel Linuxdude wrote:
> I can not send files over IRC using DCC but I can receive
> them just fine. I played with the firewall script and didnt
> have any luck. Maybe its the ISP, but what can I do to ensure
> that it will work?
> 
> eth0 = cable modem
> eth1 = LAN
> 
> I make sure to do this;
> $IPT -t nat -A POSTROUTING -o eth0 -j SNAT --to-source x.x.x.x
> 
> For ports that seem to not get forwarded right I do this;
> $IPT -t nat -A PREROUTING -i eth0 -p tcp --dport 6699 -j DNAT --to 
> 192.168.0.9-192.168.0.20  (WinMX stuff)
> 
> I can not find any specs to tell me what IRC DCC is all about!
> Is it TCP or UDP? What port?

modprobe ip_nat_irc

> 
> Thanks!!
> 
> Joel
> 
> 
> 
> 
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
-- 
Nix N. Nix <nix@go-nix.ca>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DCC receive works fine but not SEND
@ 2002-11-26  5:32 Joel Linuxdude
  2002-11-26 10:26 ` Tomas Edwardsson
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Linuxdude @ 2002-11-26  5:32 UTC (permalink / raw)
  To: nix, netfilter


>On Mon, 2002-11-25 at 18:51, Joel Linuxdude wrote:
> > I can not send files over IRC using DCC but I can receive
> > them just fine. I played with the firewall script and didnt
> > have any luck. Maybe its the ISP, but what can I do to ensure
> > that it will work?
> >
> > eth0 = cable modem
> > eth1 = LAN
> >
> > I make sure to do this;
> > $IPT -t nat -A POSTROUTING -o eth0 -j SNAT --to-source x.x.x.x
> >
> > For ports that seem to not get forwarded right I do this;
> > $IPT -t nat -A PREROUTING -i eth0 -p tcp --dport 6699 -j DNAT --to
> > 192.168.0.9-192.168.0.20  (WinMX stuff)
> >
> > I can not find any specs to tell me what IRC DCC is all about!
> > Is it TCP or UDP? What port?
>
>modprobe ip_nat_irc


I have a monolithic kernel. Although I dont use modules, I have
them all compiled right into the kernel. I did compile all of
the Netfilter IRC modules. Now what? *whimper* *pout*


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DCC receive works fine but not SEND
  2002-11-26  5:32 DCC receive works fine but not SEND Joel Linuxdude
@ 2002-11-26 10:26 ` Tomas Edwardsson
  0 siblings, 0 replies; 4+ messages in thread
From: Tomas Edwardsson @ 2002-11-26 10:26 UTC (permalink / raw)
  To: Joel Linuxdude; +Cc: nix, netfilter

RECIEVE problems with DCC are usually problems at the other end.

Remote client sends: DCC SEND file.txt <size> <IP> <port> <size> 
Your client in return connects to  <IP> <port> to initiate the transfer.

I'd suggest that the client you are trying to recieve from is firewalled
in.

- Tomas Edwardsson

On Tue, Nov 26, 2002 at 12:32:00AM -0500, Joel Linuxdude wrote:
> From: "Joel Linuxdude" <linuxlists@hotmail.com>
> To: nix@go-nix.ca, netfilter@lists.netfilter.org
> Subject: Re: DCC receive works fine but not SEND
> Date: Tue, 26 Nov 2002 00:32:00 -0500
> 
> 
> >On Mon, 2002-11-25 at 18:51, Joel Linuxdude wrote:
> >> I can not send files over IRC using DCC but I can receive
> >> them just fine. I played with the firewall script and didnt
> >> have any luck. Maybe its the ISP, but what can I do to ensure
> >> that it will work?
> >>
> >> eth0 = cable modem
> >> eth1 = LAN
> >>
> >> I make sure to do this;
> >> $IPT -t nat -A POSTROUTING -o eth0 -j SNAT --to-source x.x.x.x
> >>
> >> For ports that seem to not get forwarded right I do this;
> >> $IPT -t nat -A PREROUTING -i eth0 -p tcp --dport 6699 -j DNAT --to
> >> 192.168.0.9-192.168.0.20  (WinMX stuff)
> >>
> >> I can not find any specs to tell me what IRC DCC is all about!
> >> Is it TCP or UDP? What port?
> >
> >modprobe ip_nat_irc
> 
> 
> I have a monolithic kernel. Although I dont use modules, I have
> them all compiled right into the kernel. I did compile all of
> the Netfilter IRC modules. Now what? *whimper* *pout*
> 
> 
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE* 
> http://join.msn.com/?page=features/virus
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-11-26 10:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-26  5:32 DCC receive works fine but not SEND Joel Linuxdude
2002-11-26 10:26 ` Tomas Edwardsson
  -- strict thread matches above, loose matches on Subject: below --
2002-11-25 23:51 Joel Linuxdude
2002-11-26  1:20 ` Nix N. Nix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox