Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After spending some time googling and reading through the config file, I see that it's possible to change the default port squid listens on. (I'm a Squid noob, btw). However, is is possible to have squid listen on separate ports, and handle those ports in different manners?
For instance, say port 3128 would forward port 80 traffic, and port 22222 (made up number) would forward to port 33333 (made up number). I have an application that works over TCP/IP, but connects on a non-port 80 port, and I'd like to have squid be able to forward to both port 80, and my special port, depending on which port I initally connect to squid.
i'm not sure what you're actually after, do you even want squid for this? you can just use iptables to do a port forward, not something i'd use squid for. you certainly can listen on multiple interfaces: http://www.visolve.com/squid/squid24s1/network.php but quite how you want your end result to work, i don't follow...
and 22222 and 33333 are not made up numbers, 6x75[donkey]sd68f79g is a made up number!
I'm using SSH and Squid in conjuntion with Putty as a work around for the restriction at work. Simply put, I have an C/C++ app I made which resides on my linux machine (and makes things a lot nicer), running on a particular port... So I use Putty on the windows machine at work to SSH into the linux box, and squid to forward the port 80 traffic to the internet. What I'm trying to do is set up the linux box so that it can listen, either on the same port or a different one, and have the application traffic run on port "33333" (our made up, not so made up port
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.