Code: Select all
[internet] - [DSL Router] [heX :1]
[heX :2] - untagged - [PC]
[heX :3] -
[hex :4] - vlan 10 - [trunk] - [eth0.10 transparent Proxy]
[hex :5] - vlan 20 - [trunk] - [eth0.20 transparent Proxy]
on a heX I need a PBR rule which redirects all TCP traffic to dst.port 80+443 from the port 2 to the transparent proxy (to its eth0.10 interface), which is a "router on a stick" - a PC with only one NIC and two VLANs. The HTTP/HTTPS traffic is processed on the transparent proxy and sent back using eth0.20 interface.
I fount a configuration example with an additional swith, but I wonder if it can be done with heX alone.