Anda di halaman 1dari 2

MIKROTIKUJIKOM 2014 BLOCK HTTP/HTTPS GOOGLE YAHOO VIA VIRTUAL BOX

1. ip address add address=192.168.137.2/24 interface=ether1(192.168.1. xxx/24, xxx tdk boleh sama dg IP


server mikrotik teman kamu)
2. ip address add address=192.168.100.1/26 interface=ether2(/26= 62 IP, Client IP antara 100. 2 – 100.62,
subnet mask 255.255.255.192)
3. ip route add gateway=192.168.137.1
4. ip dns set servers=192.168.137.1 allow-remote-requests=yes
5. ip firewall nat add chain=srcnat action=masquerade out-interface=ether1
6. ip proxy set enabled=yes cache-administrator=namamu@smkn1irangkasbitung.sch.id max-cache-
size=unlimited
7. ip proxy set cache-on-disk=yes
8. ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=8080
9. ip firewall nat add chain=dstnat protocol=tcp dst-port=3128 action=redirect to-ports=8080
10. ip firewall nat add chain=dstnat protocol=tcp dst-port=8080 action=redirect to-ports=8080
11. ip firewall nat add chain=dstnat protocol=tcp dst-port=3128 action=redirect to-ports=443
12. ip firewall nat add chain=dstnat protocol=tcp dst-port=443 action=redirect to-ports=443
13. ip proxy access add dst-host=www.facebook.com action=deny
14. ip proxy access add dst-host=www.youtube.com action=deny

Anda mungkin juga menyukai