Skip to content

Commit

Permalink
Update unrealircd to v1.2 + IPv4 config
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Aug 25, 2018
1 parent 42e397e commit 22daaa1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ FAF_PYTHON_API_USER=root
FAF_WEBSITE_USER=root
FAF_SPRING_BOOT_ADMIN_USER=root
FAF_PROMETHEUS_USER=root
FAF_UNREALIRCD_USER=root
FAF_UNREALIRCD_USER=unreal
FAF_QAI_USER=root
FAF_MUMBLE_USER=root
FAF_WORDPRESS_USER=root
Expand Down
30 changes: 19 additions & 11 deletions config.template/faf-unrealircd/unrealircd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,55 +45,63 @@ allow {
maxperip 10;
};

/* FAF IMPORTANT FAF
we are blocking ip v6 on purpose using `ip 0.0.0.0`
docker-compose can't handle ipv4 and ipv6 in parallel currently
using ipv4 only we delegate the ipv6->ipv4 routing to docker

if you want to use ipv6 replace `ip 0.0.0.0` with `ip *`
*/

listen {
ip *;
ip 0.0.0.0;
port 6665;
};
listen {
ip *;
ip 0.0.0.0;
port 6666;
};
listen {
ip *;
ip 0.0.0.0;
port 6667;
};
listen {
ip *;
ip 0.0.0.0;
port 8000;
};
listen {
ip *;
ip 0.0.0.0;
port 8001;
};
listen {
ip *;
ip 0.0.0.0;
port 8002;
};
listen {
ip *;
ip 0.0.0.0;
port 8067;
};

listen {
ip *;
ip 0.0.0.0;
port 6697;
options { ssl; };
};

listen {
ip *;
ip 0.0.0.0;
port 7070;
options { ssl; };
};

listen {
ip *;
ip 0.0.0.0;
port 8167;
options { ssl; };
};

listen {
ip *;
ip 0.0.0.0;
port 7000;
options { serversonly; };
};
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ services:
faf-unrealircd:
container_name: faf-unrealircd
build: git://github.com/FAForever/docker-unrealircd#faf
image: faforever/faf-unrealircd:v1.1
image: faforever/faf-unrealircd:v1.2
user: ${FAF_UNREALIRCD_USER}
restart: unless-stopped
ulimits:
Expand Down

0 comments on commit 22daaa1

Please sign in to comment.