#If you have 64/8MB Router you can use 16MB cache_mem if smaler router use 8MB
cache_mem 16 MB
#this is cachedir you can change if you want. 400 meams 400MB cache. size you can change what you want
cache_dir ufs /opt/var/squid/cache 400 16 256
logfile_rotate 10
fqdncache_size 2048
memory_pools off
maximum_object_size 16384 KB
quick_abort_min 0 KB
quick_abort_max 0 KB
log_icp_queries off
client_db off
buffered_logs on
half_closed_clients off
negative_dns_ttl 10 second
connect_timeout 60 second
read_timeout 80 second
request_timeout 80 second
#Logs you can change dir what you want
cache_access_log /opt/var/squid/logs/access.log
cache_log /opt/var/squid/logs/debug
cache_store_log /opt/var/squid/logs/storage
hierarchy_stoplist on
#Proxy Ip same as ddwrt RuterIp. change how you want
http_port 192.168.1.1:3128 transparent
# Global ACL-Definitions (Access control lists)
acl idents ident REQUIRED
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl intern dst 192.168.1.0/255.255.255.0
acl FTP proto FTP
always_direct allow FTP
#Allowed working outgoing Ports and LanIps
acl Allowed_Ports port 80 99 443 21 563 488 777 210 1025-65535
acl yourLAN src 192.168.1.0/255.255.255.0
#http_access definition
http_access allow idents
http_access allow all
http_access allow intern
http_access deny manager all
http_access allow yourLAN
http_access deny all
icp_access deny all
miss_access allow all
always_direct allow intern
now you must add a "nobody" user. root not allowed
Joined: 06 Mar 2008 Posts: 92 Location: South East Asia
Posted: Fri Dec 17, 2010 13:15 Post subject:
icewaere wrote:
hey,
you use ext3 ?
checkup if you set write access to that directionarys?
you have added nobody user?
greetz
yes ext3 format. I already manage to run transmission on the optware. i dont know why it denied access... i didn't set any write access to that directories. Can you write complete wiki guide ... maybe i missed other step not mention here
If I have time I can add it to OTRW with some appropriate startup scripts and maybe even an option to make it transparent for all IP's.
This way you don't have to make firewall rules rin rc_firewall that become invalid when you turn off the proxy.
Let me know how many testers I will get.
I'm currently busy with Zabbix and DD-WRT. It's amazing what you can do with it... _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
another thing you can plzplzplz double plz add pyload to optware?
and if possible newer version of squid.
greetz and thx
I'm not responsible for optware itself nor do I want people to think this. _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge