How can I setup Ubuntu box so logged user can access only to several IP addresses, on all protocols?
Additional problem is that Ubuntu uses proxy to acceess to internet.
Tried with UFW, but did not manage with it (probably because pf proxy?)
TO BLOCK A WEBSITE:
You can edit your host file:
add the websites you want to block:
It works with all browsers I guess.
TO ALLOW ONLY ONE WEBSITE:
and to only allow access to one ip adress try:
See! it's easy ;)