Thread: Block all traffic except whitelist
at job got task of setting computers local library in town. ordinary internet kioskes done, library couple of machines restricted sites (library catalogue site , couple of other sites).
way system works on these machines gdm autologins on profile custom session launches firefox (no desktop enviornment). upon restart, computer reset profile. firewall used block except sites on whitelist should have activated during boot (probably via scripts if need add new sites in future via ssh).
i've started fiddling iptables can't seem figure out how make drop outbound traffic except webpages.
scripts(preferably sh script), or if there gui iptables option allow sites on whitelist, apprechiated. need port 22 open can reach these machines through ssh.
you might want use squid proxy instead of using iptables block websites since ip addresses of websites can change.
easy way use opendns , block domains , whitelist domains want use.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Block all traffic except whitelist
Ubuntu
Comments
Post a Comment