×

Introducing the Orbi 970 Series Mesh System with WiFi 7(BE) technology. For more information visit the NETGEAR Press Room.

Orbi WiFi 7 RBE973
Reply

how to run a script to detect a specific port activity on the network and trigger an URL action ?

jcoe2412
Follower

how to run a script to detect a specific port activity on the network and trigger an URL action ?

Dear

 

I would like to run a scrit like hereunder on the router :

 

#!/bin/sh

while true;

do tcpdump -i br0 -n -c 1 'src host 192.168.xx.xx and dst port 443'; curl -k 'https://jeedom.viewdns.net/core/api/jeeApi.php?apikey=xxxxxxxxxxxxxxx&type=cmd&id=xxxx'; sleep 140;

done

 

Basically I want to detect a specific activity on the network (tcpdump) and trigger an action (curl) if this activity is detected. It looks that some routers can do this, is there a way to achieve this with Orbi ?

 

Thanks for your support.

 

John

Model: RBR20|Orbi AC2200 Tri-band WiFi Router
Message 1 of 1
Top Contributors
Discussion stats
  • 0 replies
  • 335 views
  • 0 kudos
  • 1 in conversation
Announcements

Orbi WiFi 7