egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Hostmask Issue

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Mousee
Voice


Joined: 12 Sep 2005
Posts: 3

PostPosted: Fri Jan 26, 2007 3:14 pm    Post subject: Hostmask Issue Reply with quote

I'm not particularly concerned about this, but I thought it'd be nice anyways.
Basically, I run an eggdrop from my home server, and I want it to show a custom hostmask (bot.mydomain.com).

My configuration file is thus:
Code:

set my-hostname "bot.mydomain.com"
set my-ip "192.168.0.100"


Setting my external ip in the 'my-ip' portion returns an error about my telnet port not working, so I just set it to my the local LAN ip instead as it clearly isn't recognizing the external ip.
However, with this setup, or commenting out the 'my-ip' line, my hostmask simply doesn't change.

I've yet to try it, but I'm assuming I need to add my external ip to my server?
Is that the only way to get the 'bot.mydomain.com' hostmask to work?
Currently it just returns my ISP hostmask (blah.whatever-comcast.net).

Thanks for any input Smile
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Jan 26, 2007 3:24 pm    Post subject: Reply with quote

my-ip must hold an ip-address of a network interface present on the system your eggdrop is running. If you're running it on a system behind a NAT-router, you'll have to use the internal address. If, on the other hand, your system acts as the NAT itself, you should be able to use any external ip used by the system.
Setting my-hostname is just another way of setting my-ip, without having to lookup the ip first. The same restictions apply here aswell.

In the scenario where your system resides behind a NAT-router, you'll have to reconfigure your router to use a different IP on any outbound connection from this system. Information wether your router is capable of this, and how it is done should be available in the documentation of the router.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Mousee
Voice


Joined: 12 Sep 2005
Posts: 3

PostPosted: Fri Jan 26, 2007 3:40 pm    Post subject: Reply with quote

nml375 wrote:
my-ip must hold an ip-address of a network interface present on the system your eggdrop is running. If you're running it on a system behind a NAT-router, you'll have to use the internal address. If, on the other hand, your system acts as the NAT itself, you should be able to use any external ip used by the system.
Setting my-hostname is just another way of setting my-ip, without having to lookup the ip first. The same restictions apply here aswell.

In the scenario where your system resides behind a NAT-router, you'll have to reconfigure your router to use a different IP on any outbound connection from this system. Information wether your router is capable of this, and how it is done should be available in the documentation of the router.


Okay that's exactly how I thought it worked, I was just hoping it wasn't.
Many thanks Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber