OPNsense Forum
English Forums => General Discussion => Topic started by: Kuzunkhaa on July 03, 2016, 01:01:43 am
-
Hello community,
I'm not a great expert of networking, but OPNsense is a pleasure to learning and understand!
Anyway I have create a proxy with local cache and adblock (http://pgl.yoyo.org/adservers) for my home, but seems have slowed down my internet connection and response time. I have tried to add "kern.ipc.nmbclusters" with value of "32768" and modified "vfs.read_max" to "128", because some suggest those options to improve "squid" performance, but seems do nothing.
Anyone can help me to understand how to improve the proxy speed?
The system have a Intel Celeron J1900, x4 NIC Intel WG82583, 8Gb DDRL3 1600Mhz and SSD 128Gb without swap.
The "Local Cache Settings" are:- Memory Cache=4096
- Cache Size=32768
- first-level subdirectories=128
- second-level subdirectories=512
- Maximum object size=10
Another thing: what are "Via header" and "X-Forwarded for header handling" options?
Many thanks!
-
This links may answer your last question:
https://tools.ietf.org/html/rfc2616#section-14.45
https://en.wikipedia.org/wiki/X-Forwarded-For
-
Another thing: what are "Via header" and "X-Forwarded for header handling" options?
I have found good response to my questions on Wikipedia.
A question: the proxy cache store permanently file or every time I reboot the system it purge the cache?
Thanks.
-
This links may answer your last question:
https://tools.ietf.org/html/rfc2616#section-14.45
https://en.wikipedia.org/wiki/X-Forwarded-For
I have read after my new post, but thanks fabian for the response! I'm going to read.