Hey guys,
I've been playing around with Squid on Ubuntu 20.04.02
I've set it up to where I am able to connect through locally, but a want to be able to use when I am not at my home.
My biggest struggle is determining the proxy server's address I have to insert on the device on the other network that is trying to connect to the proxy. Is it the same as the public IP address of the network on which my proxy is connected ? because that does not seem to be working.
Warning : you're talking to a newbie.
Thanks
Here is a look of my squid.conf file :
Code:
acl all src all
acl external src XXX.XXX.XXX.XXX (the ip of the external network I want to use to access to proxy)
acl localnet src 0.0.0.1-0.255.255.255 # RFC 1122 "this" network (LAN)
acl localnet src 10.0.0.0/8 # RFC 1918 local private network (LAN)
acl localnet src 100.64.0.0/10 # RFC 6598 shared address space (CGN)
acl localnet src 169.254.0.0/16 # RFC 3927 link-local (directly plugged) machines
acl localnet src 172.16.0.0/12 # RFC 1918 local private network (LAN)
acl localnet src 192.168.0.0/16 # RFC 1918 local private network (LAN)
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow external
http_access allow localnet
http_access allow localhost
http_access allow all
# And finally deny all other access to this proxy
http_access allow all