Gluco
Posts: 2
Joined: Fri Jun 18, 2021 5:39 am

Bridged AP switching internet on off

Fri Jun 18, 2021 5:56 am

I have set up a Pi as bridged AP as described here (thanks ist working fine)

Now I'd like to switch internet on and off by command so that a connected smartphone is still connected via wifi but does not get any data from the internet w/o rebooting the Pi. And I'd like to keep ethernet connection for the SSH connection to the Pi to set desired internet connection.

epoch1970
Posts: 6685
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Bridged AP switching internet on off

Fri Jun 18, 2021 1:27 pm

The TCP/IP configuration comes from your router in the bridged setup.
Add firewall rules in the router to block outgoing traffic as you see fit.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Gluco
Posts: 2
Joined: Fri Jun 18, 2021 5:39 am

Re: Bridged AP switching internet on off

Mon Jun 21, 2021 5:45 am

Is there a way to configure the Pi somehow? I want to remotely switch the internet connection on and off.

Return to “Networking and servers”