Page 1 of 1

Enable ipv6

Posted: Sun Dec 11, 2022 2:35 pm
by lowkey
Greetings :)
May I know how can I enable ipv6 connection on unrealircd.
I would like to allow client that using ipv6 to connect to my ircd server.
Thanks!

Re: Enable ipv6

Posted: Sun Dec 11, 2022 3:42 pm
by Syzop
UnrealIRCd
On the UnrealIRCd side the only that matters is if you have a listen block:

Configuration
If you have a generic listen block like this (ip *):

Code: Select all

listen {
        ip *;
..etc..
... then it will listen on both IPv4 and IPv6 and there is nothing left to do on the UnrealIRCd side. All is good.

If you don't have that and have a specific block for IPv4 like this (with your server IPv4 IP):

Code: Select all

listen {
        ip 1.2.3.4;
..etc..
...then you need to add an extra listen block for IPv6 (replace it with your server IPv6 IP of course):

Code: Select all

listen {
        ip 2a05:abcd:ef:123:1:0:0:0;
..etc..
Verification
You can verify that your UnrealIRCd is listening on both IPv4 and IPv6 by running /STATS P as an IRCOp. It will show you something like: Listener on xxxx (IPv6). If it does not then either you don't have a good listen block, or your OS does not have IPv6 enabled (quite rare nowadays).

OS
Then on the OS you need to have IPv6 enabled (this is usually the case) and you also need to have IPv6 connectivity, like your ISP or your VPS provider needs to support it. This may require some configuration, depending on the provider.

Commands like 'ifconfig' and 'ip addr' may help you figure out your IPv6 IP. Note that not all IPv6 IP's are reachable from the Internet, like those fe80:: addresses are LAN-only addresses.

Re: Enable ipv6

Posted: Sun Dec 25, 2022 10:05 am
by lowkey
Season greetings @Syzop :-)
Thanks for details, let me try it out to see if it works.

Re: Enable ipv6

Posted: Tue Dec 27, 2022 12:48 pm
by lowkey
lowkey wrote: Sun Dec 25, 2022 10:05 am Season greetings @Syzop :-)
Thanks for details, let me try it out to see if it works.
It's working well, thanks! :-)

Re: Enable ipv6

Posted: Wed Jan 11, 2023 1:30 pm
by ambrose12
Interesting information