Please can you post your full S3 cgminer conf file? (you can exclude the pools if you want), then please can you confirm your LAN network is on 192.168.20.0?
the IP of the S3 is 192.168.20.98 as is the rest of the network is on 192.168.20.xxx
Please try to remove the trailing 0 put it as:option api_allow 'W:127.0.0.1,W:192.168.20/24'
EDIT:
Sorry try this instead:
1- Edit /etc/config/cgminer
2- Modify the api_allow argument to read option api_allow 'W:127.0.0.1,W:192.168.20.1/24'
3- Edit /etc/init.d/cgminer
4- Locate the line beginning with PARAMS= and change it accordingly: PARAMS="$AOPTIONS $POOL1 $POOL2 $POOL3 $_pb $_ow $_bec --api-listen --api-allow $_aa --bitmain-checkn2diff --bitmain-hwerror --queue 4096"
5- Restart the S3 (e.g. using sudo reboot)
Sorry that didnt work either, same error
{"STATUS":[{"STATUS":"E","When":1434640755,"Code":45,"Msg":"Access denied to 'addpool' command","Description":"cgminer 3.12.0"}],"id":1}
the config now looks like this
i also changed the local miner api as well.
config cgminer 'default'
option pool1pw '123'
option pool2pw '123'
option api_allow 'W:127.0.0.1,W:192.168.20/24'
option more_options '--quiet'
option pool_balance ' '
option bitmain_notempoverctrl ' '
option bitmain_nobeeper '--bitmain-nobeeper'
option freq '18:218.75:1106'
option pool1url 'stratum+tcp://sg.stratum.bitcoin.cz:3333'
option pool1user 'rippernz.antminer1'
option pool2url 'stratum+tcp://eu.stratum.bitcoin.cz:3333'
option pool2user 'rippernz.antminer1'
Thanks