Hi. Changed default ports for ssh and ispconfig. Ssh changed to 2260 and ispconfig to 8060. Ports are also changed in bastille-firewall.cfg so when I run bastille from terminal it all works great. Problem starts when I enable firewall in ISPConfig, because ports are not changed here, they are sill 22 and 81. When I start firewall from ISP Services (settings) it changes ports in bastille-firewall back to what it's written here in ISPConfig (from 2260 to 22 and 8060 to 81) and my access is blocked from outside. SO to question: How to change this 2 ports in ISPConfig settings? TNX all
Just add the new ports in the firewall settings in ispconfig. Dont edit bastille-firewall.cfg manually as all changes get removed automatically.
Ok. tnx for quick reply. One more question... Any idea how to change postfix listen on other port than 25? Added 8499 infront of smtpd and still not working. also added this port to iptables and changed it in iscpnofig conf file check_smtp '127.0.0.1' port 8499 and it says it is offline and can't telnet...
hi, i changed the firewall ports via the web client (ispconfig control panel) and now nothing is working. Ive tried to change the bastille.cfg file but blocks all the ports again once the server is 100% up. How do i change this via command line to undo my changes?
And thats why you had to post the same question in 3 forums here at howtoforge? https://www.howtoforge.com/community/threads/fedora-disable-ispconfig-3-firewall.42043/