سلام، شما برای اینکار باید یه nat ریدایرکت کنید و با استفاده از پروکسی محدود کنید
اگر محیط گرافیکی استفاده میکنید تنظیمات تقریبا بصورت زیر هست:
ip -> firewall -> nat -> +sign
GENERAL
chain: dstnat
protocol: 6 tcp
dst.port: 80,443
in.interface = put your input interface here
ACTION
action : redirect
to ports: 8080
Drag this rule to the first place.
Then go to ip -> web proxy
GENERAL
enable it
port: 8080
press button ACCESS
DST host https://domain.com/*
action : allow
Press ok.
DST host: *
action : deny
Press ok.
دستورات رو هم بصورت زیر میتونید وارد کنید:
/ip firewall nat
add action=redirect chain=dstnat dst-port=80 in-interface=****** protocol=tcp \
to-addresses to-ports=8080
/ip proxy
set enabled=yes
/ip proxy access
add action=allow dst-host=https://domain.com/*
add action=deny dst-host=*