I have used NetworkManager to create a WiFi hotspot. This seems to be working well, however I don't want to share the internet connection (from ethernet) on the WiFi access point. I want only local stuff to be accessible when connected to the WiFi access point, none of the traffic should go out on the ethernet. How can I solve this?
This is my configuration file for the NetworkManager hotspot:
[connection] id=WIFI_AP uuid=7a9f1d30-0c38-4aad-9084-b55539553214 type=wifi interface-name=wlan0 permissions= [wifi] band=bg channel=1 mac-address-blacklist= mode=ap ssid=test_ap [wifi-security] key-mgmt=wpa-psk psk=11223344 [ipv4] address1=192.168.5.1/24 dns-search= method=shared [ipv6] addr-gen-mode=stable-privacy dns-search= method=auto