Welcome to the Linux Foundation Forum!

Lab 12.1. Create a Basic squid Forward Proxy



i have some problems with this excercise.
The networking part is still a learning curve for me.

I´m now trying to configure the firefox browser to use the squid proxy.
But i can´t get it work. I get always this error "The proxy server is refusing connections"

squid -k parse
does not show errors.

the ip route command on my VM show this IP details:

default via dev enp0s3 proto dhcp metric 100 dev enp0s3 proto kernel scope link src metric 100 dev enp0s3 scope link metric 1000 

So I used this config for /etc/squid/squid.conf
acl examplenetwork src

and in this section: #http_access allow localnet

http_access allow localhost
http_access allow examplenetwork

In firefox i added this proxy setting under manual proxy configuration: on port 3128

Where is my mistake here?


  • uthelion
    uthelion Posts: 10

    Somehow i managed to get it work.

    In the squid.conf file, the line that begins with http_port, i added the IP of my VM:


    when using this in the firefox settings, it seems to work now, when i enter a URL that does not exist, i can see the squid error site.


Upcoming Training