When I am at slow and/or paid networks (i.e. in public transport wifi of while tethering) I want to browse as fast as possible, so I don't want Ubuntu to download software updates, torrents, etc.
There are many apps that monitor or limit applications, but I can't find an app that works like the 'disable background usage' or 'disable while not on wifi or while roaming' like Android has. I would be great to have an app that disables/limit certain applications when the wifi network is considered as a slow/expensive network.
Just create a firewall profile that blocks everything except
http
anddns
and set your update mirror to one that only accepts theftp
protocol:Firewall configuration:
Now go to the dash, and type
firewall
and click the sole icon remaining and you'll see:Begin warning: From now on, until you see End warning, you will not have access to the Internet!
and press Add
Then fill out the screen as follows:
and press Add, then Close
End Warning
Your rules section should now look like this:
In the Netherlands, there is only one mirror that supports ftp only:
Ftpserv-tudelft-nl
, for all other countries, look here for the full list and choose your own.Now go to the dash again and type
Software Updater
and again, click the sole icon available, click Settings, the "Ubuntu Software" tab, "Download from:" and choose Other, take the country of your choice and the server of your choice:And voilà: you can only surf the Internet and nothing else can happen any more!
No updates, no email, no Skype, no FTP, no HTTPS, no nothing! Only DNS look-ups and web surfing If you would like to have more then the absolute minimal available, have a look at IANA assigned port numbers and add any other protocol numbers you would need.To revert back to normal use: just open the
firewall
in the dash again, Click on Public and then click on Home and you're back to where you were!