I have a system in which I have installed NXServer.
I want the a user to access the system remotely, but the user should not be able to access/browse in the system.
I tried with
but it did not work.
Then I tried with
sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT
sudo iptables -A OUTPUT -p tcp -m owner –uid-owner tuser01 -j DROP
which disables the internet for the user but disables the remote login ? I want the user tuser01 to have remote access to the machine