Hi to all…
I have hotspot setup and p2p rules that block all p2p connections, and if detect p2p user, block him for some period of time.
6 ;;; Add p2p IP to the list
chain=forward action=add-src-to-address-list p2p=all-p2p address-list=p2p_users address-list-timeout=1d limit=3/1h,5
7 ;;; Drop p2p users
chain=forward action=drop src-address-list=p2p_users
And this works ok…
Now I would like to redirect port 80 to the internal apache server where I got page setup with message why are they blocked.
I have tried this:
0 chain=dstnat action=dst-nat to-addresses=x.x.x.x to-ports=8001 protocol=tcp src-address-list=p2p_users dst-port=80
but It does not redirect them…
Anyone know why? or how can I do it?
p.s. address x.x.x.x is in hotspot zone, so users should be able to go there…
thank you…