How can I mangle traffic from proxy with pppoe ( only ) server enabled.
This type of catching doesn't work
Code:Select all
chain=output action=log protocol=tcp out-interface=Local dscp=4 log-prefix="from_proxy="
Code:Select all
enabled: yes src-address: xxx.xxx.xxx.xxx port: 8080 parent-proxy: 0.0.0.0 parent-proxy-port: 0 cache-administrator: "something" max-cache-size: 218000KiB cache-on-disk: yes max-client-connections: 600 max-server-connections: 600 max-fresh-time: 3d serialize-connections: yes always-from-cache: no cache-hit-dscp: 4 cache-drive: secondary-master
Code:Select all
1 chain=dstnat action=redirect to-ports=8080 protocol=tcp src-address=172.27.0.0/24 dst-port=80 3 chain=srcnat action=masquerade src-address=172.27.0.3