View Full Version : not so much ubuntu as debian
russian460
January 2nd, 2008, 11:06 PM
hi i have a debian server running squid so i can use it as a proxy i was wondering how do i cnage the port on it from 21 to sometihng else ? what is the command for it ?
~LoKe
January 3rd, 2008, 03:20 AM
You should be able to change it in /etc/squid.conf.
russian460
January 3rd, 2008, 08:34 AM
ummm and i would get there how? its been a while scince i set it up
Antman
January 3rd, 2008, 09:51 AM
ummm and i would get there how? its been a while scince i set it up
open a terminal and as root start a text editor of your choice, then open the /etc/squid.conf file to edit it.
So if you use nano as your editor, as root run:
nano /etc/squid.conf
Make your changes and save the file.
russian460
January 3rd, 2008, 06:41 PM
umm im running debian idk if it has a text editior and is that the only port i have to change?
maybeway36
January 4th, 2008, 03:59 PM
You probably have nano and vi, if you don't you can type
apt-get install nano
as root to install nano.
jinx099
January 6th, 2008, 12:50 AM
squid's default port should be 3128, BTW. Port 21 is for FTP.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.