mIRC Home    About    Download    Register    News    Help

Print Thread
#1228 12/12/02 02:13 AM
Joined: Dec 2002
Posts: 1
Z
Zstubin Offline OP
Mostly harmless
OP Offline
Mostly harmless
Z
Joined: Dec 2002
Posts: 1
Hey guys I've been trying to get mIRC to get around my firewall forever... today i noticed that mIRC does not use the ports that you assign it in options for example i put in 7000 - 7005 for the boundries except when i make a send it uses port 65000. so i figured well i'll just enable those ports on my firewall for this computer, that doesnt work either mIRC just doesnt use the ports that i enable it changes the ports everytime. so lets say i enable 10000 - 60000 it will use port 9999 any ideas why it does this? it's really frustrating how it only uses the ports that i dont open

Joined: Dec 2002
Posts: 17
S
Pikka bird
Offline
Pikka bird
S
Joined: Dec 2002
Posts: 17
Your firewall probably has an IRC module running that looks for the CTCP messages required to initiate a DCC, and changes the contents of that message so that the person you're trying to DCC connects to it instead of to you. It keeps track of your local IP and what port mIRC is expecting the connection on, and makes it transparent to you.

Try setting your lookup method to 'Normal' so that mIRC thinks its IP is your LAN IP, then initiate a DCC chat with someone. mIRC will send a CTCP with your local IP (192.168.1.101 or something similar), and whatever port you've got it configured to use, and open the port on your machine. The IRC Module on the router will detect this CTCP, open up its own port on the public side of your network for the client to connect to, and change the CTCP message so that it uses its IP and the port it just opened. When the recipient accepts, they'll connect to the router, and it will connect to your machine, allowing the transfer.

Note that most routers that include this module did not allow for RESUMEs, which use the IP and Port to match up the resume request to the pending transfer. Since the IP and Port mIRC sent out were changed by the router, when the resume request comes it, its got the router's IP and Port instead of the IP and Port mIRC is uses, so mIRC can't figure out what transfer is being resumed, and gives an Invalid Parameters error and the send will time out. The company that made your router may have fixed it with a firmware update, so you should check out their website for updates, but its most likely easiest to simply disable this IRC module, and use plain port forwarding to send ports 3000-3010 to your machine's IP.


Link Copied to Clipboard