Hello Uchenna, May be this policy based routing with Mikrotik tutorial will be of any use See
https://docs.diladele.com/tutorials/mikrotik_transparent_squid/index.html Best regards, Rafael Akchurin Diladele B.V. From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx>
On Behalf Of Uchenna Nebedum Good Day All, i'm new to squid and i have configured squid as an http transparent proxy with a mikrotik. the squid server has only a single NIC, so i followed a tutorial and set up a dst-nat to squid proxy for traffic on port 80,
Chain:dstnat. Protocol:tcp Dst-port:80 Action:dst-nat To Addresses:192.168.2.2 (squid proxy) To ports:8080 but after setup, only https traffic works correctly, http traffic client error is "This page isn't working ERR_EMPTY_RESPONSE" squid access.log is empty then in squid cache.log these are the errors ``` 2018/10/19 17:08:54 kid1| ERROR: NF getsockopt(ORIGINAL_DST) failed on local=192.168.2.2:8080 remote=192.168.1.254:41248 FD 10 flags=33: (92) Protocol not available ``` please find below my squid.conf contents ``` acl localnet src 192.168.1.0/24
``` please any help or correction would be highly appreciated, i am not even sure if the approach is correct.
Nebedum Uchenna |
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users