User Tools

Site Tools

This wiki is read only and for archival purposes only. >>>>>>>>>> Please use the new OpenWrt wiki at <<<<<<<<<<


This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
doc:howto:proxy.squid [2017/05/21 15:09]
doc:howto:proxy.squid [2018/02/09 12:55] (current)
Jalakas [Configuration]
Line 20: Line 20:
 </​code>​ </​code>​
-==== Configuration ​==== +==== Storage configuration ​==== 
-Mount your caching storage device partition ​(/dev/sda1 in this example) ​to "/​tmp/​squid":​+You need to update '​fstab'​ configuration to mount your caching storage device partition to "/​tmp/​squid"​
 +Open '​fstab'​ configuration in Luci or in terminal:
 <​code>​ <​code>​
 vi /​etc/​config/​fstab vi /​etc/​config/​fstab
 </​code>​ </​code>​
 +In this example partition '/​dev/​sda1'​ with '​ext4'​ filesystem, is mounted to '/​tmp/​squid',​ and filesystem check (fsck) is enabled:
 <​code>​ <​code>​
 config mount config mount
Line 35: Line 38:
 </​code>​ </​code>​
 +Save your configuration and try out if mounting works. Manually mount your configuration file for test:
 +mount -a
 +And check if you see your device in list:
 +df -h
 === Set up forwarding === === Set up forwarding ===
 Add http (port 80) traffic forwarding to Squid (so called transparent mode). ​ Add http (port 80) traffic forwarding to Squid (so called transparent mode). ​
doc/howto/proxy.squid.txt · Last modified: 2018/02/09 12:55 by Jalakas