Sebelum menjalankan konfigurasi ini, alangkah baiknya anda membuat Pool Expired terlebih dahulu
Pool Expired = 192.168.5.0/24
Url Page Isolir = url-page-isolir
IP Page Isolir = 192.168.100.100
Silahkan copy script dibawah ke terminal mikrotik anda
/ip proxy
set enabled=yes parent-proxy=0.0.0.0 port="12345"
/ip proxy access
add action=deny redirect-to="url-page-isolir" src-address="192.168.5.0/24"
/ip firewall nat
add action=redirect chain=dstnat comment="Isolir WebProxy" disabled=no \
dst-address="!192.168.100.100" dst-port="80,443" protocol=tcp \
src-address="192.168.5.0/24" to-ports="12345"
/ip firewall filter
add action=drop chain=forward comment="Isolir WebProxy" \
dst-address="!192.168.100.100" protocol=tcp src-address="192.168.5.0/24"
add action=drop chain=forward comment="Isolir WebProxy" \
dst-address="!192.168.100.100" dst-port=!53,5353 protocol=udp src-address="192.168.5.0/24"
0 komentar:
Posting Komentar