script to redirect all http traffic to specified client.. ma

I am trying to play with mangle and NAT to essentially create a proxy.

I am trying to mark a certain hotspot profile (free_user) packets for port 80 to go to browser.php
(if i have to, i can put this page on another server in the lan… like a gatespot)

that is the big that i am trying to accomplish but haven’t quite got it down…

after that i would like to make the page requests going out from this page (browser.php) use port 8090 which will be redirected to port 80 externally.


so i need help with mangle :slight_smile:

i am assuming I should start with marking outgoing packets by the free_user hotspot profile? I am assuming this because I dont want this policy to be true for all my other profiles.

anyone?

… please :slight_smile: