simple prerouting with port forward
Posted: Tue Jan 28, 2014 10:02 pm
Running OS 6.2 on a CCR1036-12G-4S box.
I've been reading similiar questions to what I need, but not getting prerouting with port forwarding to work.
I need to translate destination port 80 to 8080 with the following configuration. Have done it before, but missing something.
/ip firewall mangle> add chain=prerouting src-address=10.10.1.73/32 action=mark-routing new-routing-mark=Squid passthrough=no
/ip route add dst-address=0.0.0.0/0 gateway=10.10.1.56 routing-mark=Squid
I've been reading similiar questions to what I need, but not getting prerouting with port forwarding to work.
I need to translate destination port 80 to 8080 with the following configuration. Have done it before, but missing something.
/ip firewall mangle> add chain=prerouting src-address=10.10.1.73/32 action=mark-routing new-routing-mark=Squid passthrough=no
/ip route add dst-address=0.0.0.0/0 gateway=10.10.1.56 routing-mark=Squid