I have an ubuntu system with a USB wifi dongle set up as both an AP and Client and it's routing my internet connection. I followed the instructions at http://imti.co/post/145442415333/raspberry-pi-3-wifi-station-ap and it seems to be working well.
What I'm trying to figure out how to do is restrict devices connected to the AP to only the AP's IP of 192.168.50.1 I do not want the user of the AP to have any internet access.
The goal is that someone can connect to the AP and access a configuration web page to configure the wifi client.
So far the only rule added to iptables is:
iptables -t nat -A POSTROUTING -s 192.168.50.0/24 ! -d 192.168.50.0/24 -j MASQUERADE
I'm not even sure what to call this process at this point, so any help would be greatly appreciated.