In this scenario: CPE->customer router
I want to redirect users to a specific webpage so,
I’ve set up web proxy in this way:
1- Forward customer traffic
chain=dstnat action=redirect to-ports=8080 protocol=tcp
dst-port=80,8080,443 log=no log-prefix=""
2- Web proxy
enabled: yes
src-address: ::
port: 8080
anonymous: no
parent-proxy: ::
parent-proxy-port: 0
cache-administrator: webmaster
max-cache-size: unlimited
max-cache-object-size: 2048KiB
cache-on-disk: no
max-client-connections: 600
max-server-connections: 600
max-fresh-time: 3d
serialize-connections: no
always-from-cache: no
cache-hit-dscp: 4
cache-path: web-proxy
3-Access list
0 dst-port="" dst-host=*.myhost.com action=allow hits=0
1 dst-port="" dst-host=* action=deny
redirect-to="www.myhost.com/pay.html" hits=0
It redirects only if requests come from router ethernet ports, while a wireless client connected to the router is not redirected.
Why? How to solve it?