A zero-dep port forwarder.
Originally implemented to reroute traffic from Class-C IPs (192.168.x.x
) to Docker Class-B ones (172.18.x.x
).
Useful when creating an IPVLAN (L3) which has the Class-B IPs and when one wants to reach them from Class-C ones.
bash
routez 127.0.0.1:1234 127.0.0.1:4321