v7.1Beta5 Bug: Redirect in Web Proxy causes reboot
Posted: Fri May 07, 2021 7:35 pm
I only have the Proxy enabled for 1 purpose. To redirect people in a certain IP subnet to our signup server. So my configuration is very simple:
And to enable this to work, I have NAT rules:
When I have my laptop use an address from 100.64.0.0/26 and attempt to go to neverssl.com, the RB493AH, running v7.1beta5, reboots. Attached is the autosupout.rif the reboot creates.
PS: Winbox can not represent the redirect command. You must use the CLI to add it, and to look at it.
Code: Select all
/ip proxy
set enabled=yes
/ip proxy access
add action=redirect action-data=www.cactusinternational.com/EthernetIndependent/default.aspx src-address=100.64.0.0/26
Code: Select all
/ip firewall nat
add action=redirect chain=dstnat comment="RADIUS-DHCP: Send Restricted HTTP connections to internal web proxy." \
dst-address-list=!WalledGarden dst-port=80 protocol=tcp src-address=100.64.0.0/26 to-ports=8080
add action=src-nat chain=srcnat comment="RADIUS-DHCP: NAT Restricted addresses on their way out." \
out-interface=ether1 src-address=100.64.0.0/26 to-addresses=<WAN-IP>
PS: Winbox can not represent the redirect command. You must use the CLI to add it, and to look at it.