mancio2
Occasional Visitor
Hi All,
i have read the following guide:
https://github.com/RMerl/asuswrt-merlin/wiki/Policy-based-routing-(manual-method)
because i would like to create a script that manually add and remove rules to redirect specific clients routing all the traffic through the vpn.
I don't understand if in the router configuration i have to disable Redirect Internet traffic setting it to No, if i would like to do it manually. Which options for Redirect Internet traffic setting i have to set in the GUI?
After that, if i would like to add another rule for another client in the future, have i to run another time the script inside the guide? Or i could run the last command for a specific client?
Thank you in advance.
Alessandro
i have read the following guide:
https://github.com/RMerl/asuswrt-merlin/wiki/Policy-based-routing-(manual-method)
because i would like to create a script that manually add and remove rules to redirect specific clients routing all the traffic through the vpn.
I don't understand if in the router configuration i have to disable Redirect Internet traffic setting it to No, if i would like to do it manually. Which options for Redirect Internet traffic setting i have to set in the GUI?
After that, if i would like to add another rule for another client in the future, have i to run another time the script inside the guide? Or i could run the last command for a specific client?
Code:
iptables -t mangle -A PREROUTING -i br0 -m iprange --src-range 192.168.xx.xxx -j MARK --set-mark 0
Thank you in advance.
Alessandro