Some customers enable IWSVA content cache and configure a different Squid port. However, when content cache is disabled and then enabled again, the Squid port goes back to the default port 3128.
The issue occurs because of the following command used to enable content cache:
/usr/iwss/AdminUI/cache_helper.sh EnableCache
The “cache_helper.sh” configures Squid to use port 3128, so the port reverts to it every time content cache is enabled.
To retain your custom port for Squid:
- Open ../usr/iwss/AdminUI/cache_helper.sh.
- Search for port 3128. You will find two entries.
- Change port 3128 to the desired port.
- Save the changes.
- Disable and then enable content cache.
The specified port will be the value of the “http_port” parameter in the ../etc/squid/squid.conf file, and this port will be retained when you enable content cache.