Maybe there is some kind of iptables conflict between the ispconfig firewall and another softeare. The bastille firewall which is used in ispconfig does not block any outgoing connections.
Please stop fail2ban and then start the firewall again and check if it works. If it does not work, please post the output of:
when the ispconfig firewall is turned on.