Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th November 2011, 08:53
psychop psychop is offline
Member
 
Join Date: Apr 2010
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default changing ssh and ispconfig ports

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
Reply With Quote
Sponsored Links
  #2  
Old 11th November 2011, 09:12
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,187
Thanks: 829
Thanked 5,418 Times in 4,260 Posts
Default

Just add the new ports in the firewall settings in ispconfig. Dont edit bastille-firewall.cfg manually as all changes get removed automatically.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 11th November 2011, 10:04
psychop psychop is offline
Member
 
Join Date: Apr 2010
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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...
Reply With Quote
  #4  
Old 11th November 2011, 10:39
psychop psychop is offline
Member
 
Join Date: Apr 2010
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

SOlved the problem
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing a domainname in ISPConfig 3 for an existing Webspace (SSH Hostname?) Pasco Server Operation 0 11th June 2011 13:25
Chrooted environments with Ubuntu and IspConfig hrvbid Installation/Configuration 5 23rd December 2009 18:44
JAILKIT/ssh chroot ispconfig 2 (or anything to lock ssh) Federico Zurro Installation/Configuration 1 14th September 2009 19:05
changing ssh Port default in ispconfig bosei Installation/Configuration 7 23rd May 2009 14:01
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46


All times are GMT +2. The time now is 15:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.