What's new

Blocking internet access of specific device, by api call or command line

davidnagy

New Around Here
Hi, I am just looking for some info, that is it possible to programmatically block a specific device internet access (API calls or by command line)
Thanks in advance

D.
 
If you go into Network Map/Clients and click on the device in question you can block it from there?
 
Yes, through the UI I am able to block, but I wanna do some automation regarding internet access of specific devices.
 
I guess it depends on how you're doing the automation. The GUI block just inserts iptables rules into the router's firewall. If you're running a script on the router (via SSH) then you can just mimic what the GUI is doing with your own iptables commands. There's no API access, just the command line.
 
I guess it depends on how you're doing the automation. The GUI block just inserts iptables rules into the router's firewall. If you're running a script on the router (via SSH) then you can just mimic what the GUI is doing with your own iptables commands. There's no API access, just the command line.
thanks, that worked :)
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top