Skip to content

Instantly share code, notes, and snippets.

@abel0b
Forked from Diftraku/ufw-glusterfs.conf
Last active February 21, 2020 12:34
Show Gist options
  • Save abel0b/d89dd0c97dcc6004a582c6247a3d27cc to your computer and use it in GitHub Desktop.
Save abel0b/d89dd0c97dcc6004a582c6247a3d27cc to your computer and use it in GitHub Desktop.
UFW Application Profile for GlusterFS
[GlusterFS Daemon]
title=GlusterFS (Daemon)
description=GlusterFS Daemon
ports=24007/tcp
[GlusterFS Management]
title=GlusterFS (Management)
description=GlusterFS Management
ports=24008/tcp
[GlusterFS NFS Service]
title=GlusterFS (NFS Service)
description=GlusterFS NFS Service
ports=38465:38467/tcp
[GlusterFS]
title=GlusterFS
description=GlusterFS (10 bricks)
ports=49152:49161/tcp
curl https://gist.githubusercontent.com/abel0b/d89dd0c97dcc6004a582c6247a3d27cc/raw/1f644cc1efacacac5c4f9ebe493ef717047c4387/ufw-glusterfs.conf > /etc/ufw/applications.d/ufw-glusterfs

ufw allow "GlusterFS Daemon"
ufw allow "GlusterFS Management"
ufw allow "GlusterFS NFS Service"
ufw allow GlusterFS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment