Copy the script from /etc/qos to /tmp/qos-tunXX and edit it so that the WAN_DEV is replaced by tunXX instead of vlan2 and IMQ_DEV is replaced by imq1 instead of imq0. Remember to verify which interface you are using for your VPN setup. tun11 and tun12 are used for client 1 and 2. tun21 and 22 are used for server 1 and 2.
We would be able to autogenerate this by using sed which is included in the default build. On my setup this is what I have in my firewall script:
[DEV REQUESTED] Add QoS for OpenVPN tunnels
We would be able to autogenerate this by using sed which is included in the default build. On my setup this is what I have in my firewall script:
Code:
cp /etc/qos...