The following configurations end up in my TP-Link Archer C7 v2:
Code: Select all
#DHCP
config dhcp 'guest'
option interface 'guest'
option leasetime '12h'
option start '130'
option limit '125'
#FIREWALL
config zone
option name 'guest'
list network 'guest'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
config forwarding
option src 'guest'
option dest 'wan'
#NETWORK
config interface 'guest'
option _orig_ifname 'wlan1-1'
option _orig_bridge 'false'
option proto 'static'
option ipaddr '192.168.1.129'
option netmask '255.255.255.128'
#WIRELESS
config wifi-iface 'ap_gn_g'
option device 'radio1'
option mode 'ap'
option network 'guest'
option disassoc_low_ack '0'
option is_guest_network '1'
option macaddr '16:2a:96:a4:4a:67'
option ssid 'XXXXX'
option isolate '1'
option encryption 'psk2'
option key 'XXXXX'
Some toughts:
-SSH access was a breeze, but I had issues with SFTP, It turned out it had to be installed.
-Tried to reset an IP from a connected device by deleting /tmp/dhcp.leases and rebooting the router, even rebooting the PC itself. But it was still getting the same IP than before. Not static asignaments.
-Any plans to this guest network configs in the GUI?