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.

What is set nat-ip

Old posts that have not been replied to for several years.
Locked
t
tom^

Post by tom^ »

Eggbot 1.4.5 is on a IRC server but is not running behind a firewall. I can telnet to it ok, /msg <bot> commands ok and even /msg <bot> op myself ok.
The problem is I cannot /dcc chat <bot>
Waiting for acknowledgement...

When I /ctcp <bot> chat I get
DCC Chat session
Client: <bot> (127.0.0.1)
Acknowledging chat request...

Unable to connect!

DCC session closed

I am using dialup, on a Windows98 box behind a NAT Router and noticed the set nat-ip in the config file.
My IP behind the NAT Router is 192.168.2.2
and the Router is 192.168.2.1

I cannot DCC chat to another person using my mIRC client either but I did try Pirch, and did DCC chat with another person ok using that but could not DCC chat with the <bot>.

Question: do I put in the config file
set nat-ip "192.168.2.1" or is my NAT Router not set up correctly to allow incoming DCC connections from the bot.

Any help would be appreciated, thanks
tom
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

Firstly, the bot doesnt know its own ip properly. nat-ip should be set to the ip of the outside connection (ie, the ip that your isp has assigned you for the connection). As you're on dialup this will probably change every time you connect. The value of nat-ip is what the bot sends to other people as its ip for them to connect back to).

Secondly, you're going to have to port forward a range of ports from the router to the box with the egg on it, so the incomming connections actually get to it. You can restrict the range that eggdrop tries to use with reserved-portrange, and just forward these ports to it (and forward any telnet ports its listening to).

As for actually chatting the bot itself, you'd need to send it your lan ip if you're behind the router, not your real ip. This will probably require a reconfiguration of your irc client to send the correct ip for that connection.
Locked