tazboyz16 / Ubuntu-Server-Auto-Install

Auto Install for Ubuntu Server Iso with Auto installing Scripts with Programs Scripts Installs/Reinstall with Configs and Systemd service file
https://tazboyz16.github.io/Ubuntu-Server-Auto-Install/
GNU General Public License v3.0
27 stars 11 forks source link

IredMail Firewall rules #7

Closed tazboyz16 closed 6 years ago

tazboyz16 commented 7 years ago

Iptables adding to default config with iredamil ends with fail https://hostingwikipedia.com/install-iredmail-ubuntu-14-04/

tazboyz16 commented 7 years ago

https://www.linuxbabe.com/mail-server/ubuntu-16-04-iredmail-server-installation

tazboyz16 commented 7 years ago

https://support.plex.tv/hc/en-us/articles/201543147-What-network-ports-do-I-need-to-allow-through-my-firewall-

tazboyz16 commented 7 years ago

Look into having installer Scripts open ports at the end of install to prevent unwanted ports open

tazboyz16 commented 6 years ago

Iptables has issues if theres an empty line space at the end of file rather then seeing COMMIT Just have to find a solution to remove the line on install

tazboyz16 commented 6 years ago
#Added the iptable list and removes COMMIT and readds it for IPTables has issues if theres a whitespace with/after COMMIT line
cat /opt/install/Iredmail/iptables.rules > /etc/default/iptables
sudo sed -i "$d" /etc/default/iptables
echo "COMMIT" >> /etc/default/iptables
/etc/init.d/iptables restart

issue resolved