しかし、アイデアは単純です。今のところ、忘れっぽい同僚がインターネットをサーフィンして、目的のサイトではなくリマインダーページを表示し、しばらくして金曜日の夕方に見たいものを表示する必要があります。
これらの目的のために、プロキシサーバーをMikrotikに上げます
/ip proxy set enabled=yes
次に、エラーレポートページをリセットします。
/ip proxy reset-html
彼らは私たちに尋ねます:
Current html pages will be lost! Reset anyway? [y/N]:
そして大胆に「y」を押します
次に、プロキシを通過するすべてのページをブロックするルールを作成します
/ip proxy access add action=deny disabled=no
winboxで
webproxy / error.htmlページがMikrotikに表示されます。 ここに追加します:変数$(url)には、ユーザーが行きたい場所であるリンク先URLが含まれています。 ページでリダイレクトを行いました:
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
-
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
-
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
-
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
-
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
-
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +
:
Winbox
80 , Ok - .
/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin
:
/ip firewall nat move [find comment=sysadmin] destination=0
Winbox
Ok :
/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin
timeout 15
Winbox
http . 15 .
.
. :
( ). (pptp, l2tp, pppoe) dhcp , ( ), . . . . . URL - . ...
PS
.
. address-list-timeout . , , Ok
:
Manual:IP/Proxy
How to make transparent web proxy
MikroTIK +