I'm trying to use squid as a proxy server in my netwrok
this are the seeting I have added to the router
Code: Select all
/ip firewall mangle
add action=accept chain=prerouting dst-port=80 in-interface=wlan1 protocol=tcp
add action=accept chain=prerouting dst-port=443 in-interface=wlan1 protocol=tcp
add action=mark-routing chain=prerouting dst-port=80 in-interface=wlan1 new-routing-mark=to_proxy passthrough=yes protocol=tcp
add action=mark-routing chain=prerouting dst-port=443 in-interface=wlan1 new-routing-mark=to_proxy passthrough=yes protocol=tcp
add action=accept chain=prerouting in-interface=wlan1 routing-mark=to_proxy
/ip route
add distance=1 gateway=10.0.0.77 routing-mark=to_proxy
/ip proxy
set cache-administrator=David enabled=yes max-cache-size=2048KiB parent-proxy=10.0.0.77 parent-proxy-port=3128
Code: Select all
http_access allow all
#http_access deny all
acl blocksite1 dstdomain yahoo.com
acl blocksite2 dstdomain www.rediff.com
http_access deny blocksite1
http_access deny blocksite2
acl blockkeyword1 url_regex gmail
http_access deny blockkeyword1
I can see the router is connected to the squid server
but nothing work - I get timeout all the time ...
the router is 10.0.0.250
the wifi pool is 192.168.200.0/24 (when i turn off the squid server and proxy on the router - everything is work )
the squid (Ubuntu 18.04) is 10.0.0.77
the defulat gateway in 10.0.0.254(config in the router and also in the ubuntu)
where do I need to look for the problem ?
Thanks,