http://squidman.net/squidman/
http://www.charlesproxy.com/
This tutorial is for setting up Squidman for iOS or Android.
Precursor:
Make sure that the computer is accessible by your device by IP.
It's easiest to set up your environment if both are connected to the same router.
Steps:
On your iOS device, select WIFI and click on the little (i) icon
Select Manual for HTTP PROXY
Set Server IP to the IP of your computer
Set Port to 8112
Leave authentication empty
On your computer, open Squidman
Set your HTTP Port to 8112.
Go to the Template tab, and paste the following
Replace the highlighted IP with your device's IP
Click on Start Squid
cache_peer %PARENTPROXY% parent %PARENTPORT% 7 no-query no-digest no-netdb-exchange default cache_dir ufs %CACHEDIR% %CACHESIZE% 16 256 maximum_object_size %MAXOBJECTSIZE% coredump_dir %CACHEDIR% visible_hostname %VISIBLEHOSTNAME% cache_access_log stdio:/Users/dyu/Desktop/access.log cache_store_log stdio:/Users/dyu/Desktop/store.log cache_log /Users/dyu/Desktop/cache.log pid_filename %PIDFILE% http_port %PORT% acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT %ALLOWEDHOSTS% %DIRECTHOSTS% http_access allow localhost manager http_access deny manager acl allcomputers src 192.168.0.0/255.255.252.0 http_access allow allcomputers http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access deny to_localhost http_access allow localhost %HTTPACCESSALLOWED% http_access deny all %ALWAYSDIRECT% always_direct deny all hierarchy_stoplist cgi-bin ? refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern . 0 20% 4320
No comments:
Post a Comment