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.
Dear All,
i'm running ubuntu 18.04 on my Odroid XU4 and i have connected to internet using 3G mobile dongle. i have installed squid proxy server but i have no clue how to set up proxy ip ( i have set my port to 8080)
my
is it 127.0.0.1 or 10.158.81.175 or just 10.42.0.1
i have tried with 127.0.0.1 but none of proxy rules that i have set seems to not working....
can i put my visbile hostname instead of an IP?
Have you tried anything apart from 127.0.0.1? If not, do it. If yes, what was the outcome? Be specific - "doesn't seem to work" is not a precise problem description.
I would guess the eth0 address, but essentially this depends on your Squid config. Which only you know.
I don't know either to which address your hostname is mapped and can't say if you can use that instead.
It would also help to know
- Squid's listening address (try netstat -ltpn or ss -ltpn)
- How do you block sites
Quote:
Originally Posted by anilw
but all block sites are also working.... how come that happens?
I can see two reasons. Either, the applications you use to access the sites don't go through your proxy server, or your Squid configuration is incorrect.
Last edited by berndbausch; 04-15-2020 at 06:07 AM.
Perhaps there is a conflict between the built-in ACL localhost and your ACL localnet. Perhaps you need to remove 127.0.0.1 from localnet, or from localhost.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.