配制。。透明代理官方版本的!!!
/ip proxyenabled: yes
src-address: 0.0.0.0
port: 8080
parent-proxy: 0.0.0.0:0
cache-drive: system
cache-administrator: "webmaster"
max-disk-cache-size: none
max-ram-cache-size: none
cache-only-on-disk: no
maximal-client-connections: 1000
maximal-server-connections: 1000
max-object-size: 512KiB
max-fresh-time: 3d
Now, Make it Transparent
/ip firewall nat
chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=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
dst-host=www.vansol27.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.
Try with this also
/ip proxy access
dst-host=:mail action=deny 这两天一直在官网上看教程,看例子。现在才发现,自己还没有脱盲,有太多的东西要学了。搞ROS一年了,搞着搞着觉得没有什么劲。到官网一看。自己还有太多太多的东西要学了。汗,一下。。。 你才知道透明代理阿, :lol 落伍咯 看过本论坛以及网络上的N个版本,唯有楼主的最正确,楼上自己鄙视一下,顶一下楼主的网络共享精神 比网上那些说的详细多了
页:
[1]