wlan-ap-Telecominfraproject/feeds/wlan-ap/interAPcomm/files/etc/uci-defaults/10_interapcomm
Chaitanya Godavarthi f3618adf7f apc: Add Access Point coordinator choosing algorithm
Add algorithm which chooses a APC and
backup APC among the APs in a subnet.

This APC can be used to perform few functions
on behalf of the APs on the subnet. For example,
the APC AP will be used as a radius proxy for
the APs in the subnet.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2020-11-16 08:38:47 +01:00

22 lines
582 B
Bash

#!/bin/sh
uci -q batch <<-EOF
add firewall rule
set firewall.@rule[-1].name='Allow-APC'
set firewall.@rule[-1].src='wan'
set firewall.@rule[-1].proto='udp'
set firewall.@rule[-1].dst_port='50010'
set firewall.@rule[-1].target='ACCEPT'
set firewall.@rule[-1].family='ipv4'
commit firewall
add firewall rule
set firewall.@rule[-1].name='Allow-UCC'
set firewall.@rule[-1].src='wan'
set firewall.@rule[-1].proto='udp'
set firewall.@rule[-1].dst_port='50000'
set firewall.@rule[-1].target='ACCEPT'
set firewall.@rule[-1].family='ipv4'
commit firewall
EOF