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

This widget could not be displayed.
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 Sign up to answer
Community showcase
Published Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

393 views 1 10
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