Please tell me if such a function can be achieved.

Started by wuwzy, January 29, 2024, 02:33:52 PM

Previous topic - Next topic
It's easy under ROS, just write a script.

If you want to suspend the use of a certain network card at a fixed time and make the network card invalid. Set another time to restore the use of this network card. Meet the need to control network connections. How to implement this function.

Firewall: Settings: Schedules - create a schedule.

Add a rule to restrict all traffic to and from the network the interface connects to and attach the schedule



Quote from: bartjsmit on January 29, 2024, 05:25:50 PM
Firewall: Settings: Schedules - create a schedule.

Add a rule to restrict all traffic to and from the network the interface connects to and attach the schedule

Stupid me, the experiment failed. Please give me some pointers. I would be more grateful if you have screenshots for me to learn how to do. :'( :'( :'( :'(

What is not working? The cron job or the firewall rule?