How to ensure that every user accessing the Internet through a web proxy that we have enabled? For this we can implement a transparent proxy. With the transparent proxy, every browser on a computer that use this gateway automatically go through a proxy.
All these features enable the web proxy in mikrotik:
[admin@ Mikrotik]> / ip proxy set enabled = yes
[admin @ Mikrotik]> / ip web-proxy set
cache-administrator = admin.fauzi @ infoasia.net
[admin @ Mikrotik]> / ip web-proxy print
enabled: yes
src-address: 0.0.0.0
port: 3128
hostname: "Mikrotik"
transparent-proxy: yes
parent-proxy: 0.0.0.0:0
cache-administrator: "admin@localhost"
max-object-size: 8192KiB
cache-drive: system
max-cache-size: unlimited
max-ram-cache-size: unlimited
status: running
reserved-for-cache: 4733952KiB
reserved-for-ram-cache: 2048KiB
Creating a rule for transparent proxy on the firewall NAT, rather there is masquerading under the rule for NAT:
[admin @ Mikrotik]> / ip firewall nat add chain = dstnat in-interface = local src-address = 192.168.0.0/24 protocol = tcp dst-port = 80 action = redirect to-ports = 3128
[admin @ Mikrotik]> / ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain = srcnat out-interface = Public action = masquerade
1 chain = dstnat in-interface = local src-address = 192.168.0.0/24 protocol = tcp dst-port = 80 action = redirect to-ports = 3128
2 Comment:
When you surf the internet, you do not want to wait an hour before you can log in to your website. Do you want to know more about proxy? for detailed info click here.
Residential proxy servers are the easiest way to surf the web anonymously. Click here to get more information about unmetered bandwidth.
Post a Comment