This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

DCC Transfers behind NAT

Old posts that have not been replied to for several years.
Locked
j
jpjust

DCC Transfers behind NAT

Post by jpjust »

Hello,

I installed an eggdrop on a PC behind a NAT.
The problem is: I can't get any file because when I use the get command on mIRC DCC Chat, the eggdrop sends the connection request and mIRC tries to connect to the eggdrop, but the eggdrop is using the NAT server's IP address, and it's impossible to directly connect to the eggdrop as it is using an IP address like 10.x.x.x.

My question is: is it possible to make the eggdrop connect to my mIRC DCC Server port (59) and make a kind of "passive transfer"?

Thanks in advance.
m
madgabz
Voice
Posts: 20
Joined: Thu Apr 04, 2002 8:00 pm
Location: Copenhagen, Denmark
Contact:

Post by madgabz »

Basically, no!

Reason: Bot listens on ports for incoming requests. It does this on IP: 10.x.x.x (eg. localhost/Your PC). When you specify the NAT servers IP to listen on, you are doing something right. But, it is not enough, because the NAT server doesn't know where to redirect the incoming requests (That would be to your localhost!). Or, it entirely disregards any requests! Using NAT, in principle You can only initiate file-transfers and other Bot-communications from WITHIN your LAN (Behind the NAT-server), the other way around is not possible.

Therefore, you need to set the NAT-server (I presume its a kind of router!) to actually redirect incoming traffic/requests on a specific port-range, to your own PC.

I have the same problem (we are 6 ppl sharing 1 ADSL connection with a NAT/Router between us and the rest of the world), I have graciously (?) been given 4 ports that redirects DIRECTLY to my PC. So, I can setup my testbots to listen for traffic/requests at NAT-servers IP-address, and i have no problems. 4 ports isn't much, though! :( Mind you, these 4 ports CANNOT be used be any other people on our LAN. So make sure, to pick ports which:
1. Is not already being used by any popular service
2. Does not screw your LAN-mates Netsetup (They could be using specific ports/ranges for something)

GL!
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

You sould do a forum search and read the stuff related to NAT firewall. As far as I remember there where some topics related to this matter.
Once the game is over, the king and the pawn go back in the same box.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

If your bot is sending the wrong details, it is because you havn't configured it to send the correct ones.

See the settings for my-ip and nat-ip
Locked