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
Accepted answer
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 Nov 14, 2018 in Hipchat Cloud

Hipchat Cloud and Stride End of Life: Just over 90 days away

Earlier this year we made the difficult decision to discontinue our team messaging tools, Stride and Hipchat. The end of life date for Stride and Hipchat Cloud is quickly approaching - February 15, 2...

503 views 0 2
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