mIRC Home    About    Download    Register    News    Help

Print Thread
#133778 25/10/05 03:44 AM
Joined: Jun 2004
Posts: 87
B
Babel fish
OP Offline
Babel fish
B
Joined: Jun 2004
Posts: 87
so i got a new router from my ISP, wireless NETGEAR CG841WG, and now im at a point in a script where i need a bot to connect to me via dccchat. well i cant do it! me and my bot r connecting to my internet IP which i cant connect to, i have my local info set to my computer IP but it gets changed in the act of dccing, even if i use a little mackshift socket chat script on the clone, i still connect to my internet IP even when my goddam ip is noticed correctly, but recieved incorrectly its so weird, i need help!

#133779 25/10/05 12:49 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Go to http://www.portforward.com/ and forward any ports that are needed, then use those ports in mIRC for dcc chat.

Also, normally, you need Local Info set to SERVER and LOCAL HOST.


Invision Support
#Invision on irc.irchighway.net
#133780 25/10/05 11:32 PM
Joined: Jun 2004
Posts: 87
B
Babel fish
OP Offline
Babel fish
B
Joined: Jun 2004
Posts: 87
i've port forwarded everythning!

and the thing is, when i try to connect to myself, which is wat im trying to do, mirc connects to my internet IP instead of my computer ip, and i can only connect to my computer ip not my internet!

#133781 26/10/05 01:22 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
The bot is connected to an irc server and so are you right, so as far as the IRC sever sees it your clones as your on the same ip. (lets call it 123.123.123.123)
Even tho with in your LAN your on different IP's lets say 192.168.0.50 (bot) and .100 (you).

Now if the bot is giving off the 123.123.123.123 as its $ip which under most cases they do (/localinfo -u) then when it tells you to DCC CHAT to it it well tell u IP 123.123.123.123, which you likely cant connect to (some ISPs you can,most i have seen it doesnt work)

Now if the bot is giving off the 192.168.0.50 (/localinfo -h) as it $ip, then you "should" be able to conenct to it fine, but no one else outside your LAN well be able to as thats not the WAN (internet) Ip its at. I said "should" becuase as i beleive you may have said, even when its set to this IP it still seems to change, this is likely the NAT in the modem/router it intercepts the 192.168.0.50 and goes, "well sunshine thats your IP on the LAN, so ill just quitley change that to the WAN IP 123.123.123.123", thus your still seeing it as the WAN ip that you cant connect to.

(I said u trying to conenct to the bot, but the same thing applies if its the bot trying to conenct to you)

You might try looking under any advanced routing options, im not sure but i think its PVC routing settings or policies, you can define a IP or IP range and/or port range within the IP(s) that is outside of the LAN and should a attempt to contact/connect to that IP be made from within the LAN, that the IP your attempting to contact well be altered to some other IP you can set,
So you can say something like destination="123.123.123.123@ports5001-5010" replacewith="192.168.0.50@baseport5001", then any pc on your LAN trying to connect to 123.123.123.123 on ports 5001,5002,5003,5004,5005, well get there packets redirected to 192.168.0.50 on ports 5001,5002,5003,5004,5005"

(i might be wrong on it being the PVC settings but its in there somewhere (on this router at least), but i cant reach my Router settings from here to check sorry)

*** of course im not saying this is the only solution, or even the actual problem you have, I might be miles off target ***

#133782 26/10/05 02:15 PM
Joined: Jun 2004
Posts: 87
B
Babel fish
OP Offline
Babel fish
B
Joined: Jun 2004
Posts: 87
hmm wat you've sad i totally get except for one thing :P

Quote:

You might try looking under any advanced routing options, im not sure but i think its PVC routing settings or policies, you can define a IP or IP range and/or port range within the IP(s) that is outside of the LAN and should a attempt to contact/connect to that IP be made from within the LAN, that the IP your attempting to contact well be altered to some other IP you can set,

see i have no idea wat PVC is, lol, i looked it up really dont get that, but of course i went to find it on my router and computerrr, but i have no idea wat im looking for lol, see i just got the router from my ISP and they didn't give a manual or everything, dumasses, so can ya like push me where PVC settings r, i didn't see them on my router settings..

#133783 30/10/05 04:52 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
I cant tell u were it is in your modem, mines not the same type.

Anyway apon comming back to this, i think it might actually be "Internet NAT redirection", The Linksys router im using right now, doesnt seem to have it on, but connects perfectly using irc between two pc's so it might be that your router either has it or it dont frown

#133784 30/10/05 11:19 PM
Joined: Jun 2004
Posts: 87
B
Babel fish
OP Offline
Babel fish
B
Joined: Jun 2004
Posts: 87
i can connect between 2 computer fine, but when i try to connect to my own computer, dccchating myself, i cant


Link Copied to Clipboard