Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What is the right method to edit HipChat Server iptables rules

Jack Hamm December 21, 2016

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
Answer accepted
Shanye
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 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
TAGS
AUG Leaders

Atlassian Community Events