Page 1 of 1

webirc problems (router IP instead of connected client's IP)

Posted: Wed Jan 07, 2015 1:34 am
by copyitright
Greetings everyone,

English is not my native language so forgive my bad grammar (if any) ;-)

I signed up here, after days of (effortless) trying to make UnrealIRCd and/or KiwiIRC (https://kiwiirc.com/) webchat pass-through client IP addresses.

Every client that joins via the webchat appears to originate from my router's IP (192.168.0.1). This of course isn't what i want (nor do i want to see the infamous "Session Exceeded").

I've added multiple cgiirc blocks to my unrealircd.conf, which you can see below (passwords have been ****'d out):

Code: Select all

cgiirc {
  type webirc;
  hostname the.minecraftnoob.com;
  password *******;
};

cgiirc {
  type webirc;
  hostname 178.118.241.36;
  password ********;
};
(the same applies for my KiwiIRC's config.js)

Code: Select all

// WebIRC passwords enabled for this server
conf.webirc_pass = {
    "178.118.241.36": "******"
//    "the.minecraftnoob.com": "*******"
};
- https://kiwiirc.com/docs/installing/webirc
- https://kiwiirc.com/docs/webirc

Everything matches BUT yet again every client that connects has the darn router IP.

My router's (external) ports aren't blocked and i've even tried this with both router- and software firewall disabled (even enabling DMZ didn't make a difference).

My router is a Telenet (ISP) branded CBN (Compal Broadband Networks), Model CH6643E.


Thanks for any help offered! ;-)

Re: webirc problems (router IP instead of connected client's IP)

Posted: Fri Jan 09, 2015 12:20 am
by copyitright
Good news! After some chit chat with the developer of KiwiIRC we've managed to solve the problem by using a newer version of the IRC webclient! :-)

The current settings i use are as followed:

KiwiIRC (config.js)

Code: Select all

// Multiple WebIRC passwords may be used for multiple servers
conf.webirc_pass = {
    "the.minecraftnoob.com":  "******"
};
UnrealIRCd (unrealircd.conf)

Code: Select all

cgiirc {
  type webirc;
  hostname 192.168.0.1;
  password ******;
};
~> The End <~