View Full Version : How to do port tunneling in squid proxy
mihunt
2005-10-11, 09:16 AM CDT
Hi All
i am on windows network,(i am using fc4 and xp)and we all use squid proxy server for accessing internet.bur on the squid proxy server, administrator has forbided the port tuneeling, so i am not able to use gaim and IRC
please help me out Geeks.
nomak
2005-10-12, 08:13 AM CDT
If the admin close all the ports even the 22, I think it's not possible...
can you connect througt SSH ?
mihunt
2005-10-12, 10:11 AM CDT
Hi
well i am not able toconnect to ssh,since admin is not providing he ssh service. but there areotherport open like smtp , ftp and all.can we do theport tunneling.
is there any loop hole in squid so that i can use the gaim and irc.
nomak
2005-10-12, 11:39 PM CDT
I don't think so
I think your admin has define some redirection ports like ftp, smtp and of course http but has closed all ther others.
You can try a nmap on the proxy server to see if there's something opened...
mihunt
2005-10-14, 09:55 AM CDT
Hi all
this is the output of nmap to squid proxy server
tell me the best way to do th eport tunneling so that i can use gaim and IRC
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
25/tcp open smtp
53/tcp open domain
79/tcp open finger
80/tcp open http
111/tcp open rpcbind
113/tcp open auth
443/tcp open https
513/tcp open login
514/tcp open shell
515/tcp open printer
587/tcp open submission
1024/tcp open kdm
6000/tcp open X11
10000/tcp open snet-sensor-mgmt
nomak
2005-10-17, 12:47 AM CDT
Well, when I had the same problem, I connected home with ssh and run centericq which is a terminal version for msn and icq protocol.
Otherwise I don't know but if someone knows a better way I'm interrest !!
bonobo_slr
2005-10-17, 12:55 AM CDT
If you have a machine, say at home, you could run ssh on a different port - in this case 80, as it is allowed through the proxy. Then you can setup and ssh proxy tunnel to get to the rest of the world on the ports that you want.
ssh -L is your friend.
nomak
2005-10-18, 12:46 AM CDT
IT's just what I try to say ;-)
bonobo_slr
2005-10-18, 04:36 AM CDT
If the msn server is server1 and runs on port X then to use it on local port Y you run :
# ssh user@home -L Y:server1:X
Then add an entry in your hosts file
<your IP> <your hostname> <server1>
Then connect.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.