mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-13 05:31:36 +01:00
Update listen block in example.conf to new format.
This commit is contained in:
parent
a89d64869b
commit
972ef43a81
1 changed files with 17 additions and 7 deletions
|
@ -160,25 +160,35 @@ oper bobsmith {
|
|||
* connect to this server.
|
||||
*
|
||||
* Syntax:
|
||||
* listen <ip number>:<port number>
|
||||
* listen {
|
||||
* {
|
||||
* ip <ip>;
|
||||
* port <port>;
|
||||
* options {
|
||||
* <options....>;
|
||||
* };
|
||||
* };
|
||||
*
|
||||
* For IPv6 the IP (3ffe:b80:2:51d::2 etc) needs to be put in brackets
|
||||
* like: listen [3ffe:b80:2:51d::2]:6667;
|
||||
*/
|
||||
|
||||
/* Standard IRC port 6667 */
|
||||
listen *:6667;
|
||||
listen {
|
||||
ip *;
|
||||
port 6667;
|
||||
};
|
||||
|
||||
/* Standard IRC SSL/TLS port 6697 */
|
||||
listen *:6697 { options { ssl; }; };
|
||||
listen {
|
||||
ip *;
|
||||
port 6697;
|
||||
options { ssl; };
|
||||
};
|
||||
|
||||
/* Special SSL/TLS servers-only port for linking */
|
||||
listen *:6900 { options { ssl; serversonly; }; };
|
||||
listen {
|
||||
ip *;
|
||||
port 6900;
|
||||
options { ssl; serversonly; };
|
||||
};
|
||||
|
||||
/* NOTE: If you are on an IRCd shell with multiple IP's and you use
|
||||
* the above listen { } blocks then you will likely get an
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue