Modul HTTP Proxy
Modul HTTP Proxy
Divisi Training
PT UFOAKSES SUKSES LUARBIASA
Jakarta
[email protected]
HTTP Proxy
• HTTP Proxy is used to speed up Internet HTTP
service access speed by caching HTTP data to
the storage drive or memory
• HTTP Proxy intercept client request, asks for
same data itself and store an answer in cache
• Next time client request same data, HTTP proxy
will intercept the request and answer to client
from the cache
• HTTP proxy can be used as HTTP firewall filter
HTTP proxy
HTTP Proxy Features
• The MikroTik RouterOS implements the
following proxy server features:
• Regular and Transparent HTTP proxy
• Access List (HTTP firewall filter)
• Cache List (specifies which requests to cache,
and which not)
• Direct List (If parentproxy property is specified,
it is possible to tell proxy server whether to try to
pass the request to the parent proxy or to
resolve it connecting to the requested server
directly.)
Transparent HTTP Proxy
Access List Rules
Destination Host and
Cache List Rule
HTTP Proxy Monitoring
Create your no open HTTP Proxy
• /ip firewall filter
chain=input ininterface=<Your WAN Port>
srcaddress=0.0.0.0/0 protocol=tcp dst
port=8080 action=drop
Workshop
Block Websites & Stop Downloading Using
Proxy
• /ip proxy
enabled: yes
srcaddress: 0.0.0.0
port: 8080
parentproxy: 0.0.0.0:0
cachedrive: system
cacheadministrator: "webmaster"
maxdiskcachesize: none
maxramcachesize: none
cacheonlyondisk: no
maximalclientconnections: 1000
maximalserverconnections: 1000
maxobjectsize: 512KiB
• Now, Make it Transparent
• /ip firewall nat chain=dstnat protocol=tcp
dstport=80 action=redirect toports=8080
• Make sure that your proxy is NOT a Open
Proxy
• /ip firewall filter chain=input in
interface=<Your WAN Port> src
address=0.0.0.0/0 protocol=tcp dst
port=8080 action=drop
• Now for Blocking Websites
• /ip proxy access dsthost=www.sex.com
action=deny
• We can also stop downloading files like.mp3,
.exe, .dat, .avi,…etc.
• /ip proxy access
path=*.exe action=deny
path=*.mp3 action=deny
path=*.zip action=deny
path=*.rar action=deny.
• /ip proxy access dsthost=:mail action=deny