Follow us on Twitter...
Stay up to date with the latest news, special offers and advice from CensorNet on Twitter... we are Tweeting regularly!
You need to change the port number that CensorNet listens on from 8080 to something else, e.g. 3128.
If you want to change the port to 3128, it will conflict with the squid setup on censornet which we use as our end-point proxy. For any other port number you can jump straight to the next part of this wiki (Changing the censornet port).
Changing the Squid port
Log into the censornet command line as root
Type: nano /etc/squid/squid.conf
Find the line that reads: http_port 3128
Change this port number to another (eg 3129)
Hold down Ctrl and press O then press ENTER
Hold down Ctrl and press X to exit the editor
Type /etc/init.d/squid restart
Changing the Censornet port
Log into the censornet command line as root (if you haven't already done so).
Type: nano /etc/cnv4/cn_proxy.xml
Find the line that reads
<Port>8080</Port>
Use the cursor keys to change 8080 to your desired port number.
Only if you've changed your squid config! Otherwise jump to number 5. Find the line that reads
<UpstreamProxyPort>3128</UpstreamProxyPort>
Use the cursor keys to change to the port you setup in the squid config above.
Hold down Ctrl and press O then press ENTER
Hold down Ctrl and press X to exit the editor
Type: /etc/init.d/cnv4 stop followed by ENTER
Type: /etc/init.d/cnv4 start followed by ENTER
You should then reconfigure any existing Browser Proxy Settings to use the new port number. See also Setting Proxy Settings using Group Policy Objects
IMPORTANT: If you upgrade CensorNet you will need to change the port number again as it will revert to the default of port 8080 and 3128.