What is the right method to edit HipChat Server iptables rules

tl;dr: What is the right method to add persistent iptables rules to the HipChat OVA and remove a few that are included for security reasons?

1 answer

1 accepted

1 vote
Shayne Covey Atlassian Team Dec 27, 2016

Hi Jack,

HipChat Server configurations are managed with Chef, which will automatically override changes to the system's iptables on reboot, system upgrades, etc.

You can place executable scripts in the /home/admin/startup_scripts to persist modifications to the system, including changes to iptables. If you log into your HipChat Server command-line interface/terminal and navigate to that directory, you should see a readme file, as well as a few sample scripts, describing how to do so. One script is called "firewall_hole" and includes a sample of how to modify iptables.

Be sure to copy and rename any sample scripts you might want to use, modify them as you see fit, then set them as executable for them to run at the end of each Chef configuration run - just be sure they don't have a file extension and are set as executable.

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Published Oct 07, 2017 in Hipchat

Bringing Structure to your HipChat Instance

...have mention name FirstnameLastname. Fe.: @MaartenCautreels This certainly helps to know who is being mentioned in a conversation. Imagine your colleague sends the following message...

469 views 1 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot