Can Ubuntu be used to control a router?

Colin Law clanlaw at
Thu Nov 1 14:24:02 UTC 2012

On 1 November 2012 14:19, Mika Suomalainen <mkaysi at> wrote:
> Hash: SHA512
> Hi,
> On 01.11.2012 02:02, Michael wrote:
>> I have Motorola cable modem with built in router, model NVG510.
>> Is there a Linux  program to control what websites go over the
>> router?
>> I know how to do this with a hosts file, but that only works on a
>> per computer basis.  I would like to accomplish the same thing but
>> at the router level.  (Without going into graphic detail, I need to
>> block one, perhaps two questionable websites, but may need to add
>> more later.)
>> Is this possible?  If so, all I need is a couple of keys words to
>> Google and I could probably figure out the rest.
> I'm not sure did I understand what you want.
> If you want to block some sites on your network, you must probably
> change your DNS server to OpenDNS ( ) and
> register to it and change it as DNS server in your router using the
> instructions at .

Some routers do allow site blocking.  The Netgear DG834G v4 does for example.


> After you are using OpenDNS and are registered to it, you can access
> and set the restrictions which you want.
> NOTE: This block is DNS based and can be avoided by changing DNS
> server to something like, on any computer behind the
> router.
> PS. Sorry for advertising OpenDNS. I don't know any other way to
> archieve this and if someone else knows, I would like to know how too.
> You should be able to access the web control panel of your router.
> - --
> Mika Suomalainen
> Version: GnuPG v2.0.19 (GNU/Linux)
> Comment: Homepage:
> Comment: Public key:
> Comment: gpg --fetch-keys
> Comment: Fingerprint = 24BC 1573 B8EE D666 D10A  AA65 4DB5 3CFE 82A4 6728
> Comment: I have personal problem with PGP/MIME...
> Comment: signature *IS* long. See
> Comment: Please remove PGP lines in replies.
> Comment: Charset of this message should be UTF-8.
> Comment: Using GnuPG with Mozilla -
> mn92XHKD2BCjE1Rb70D3zfPD61qVgW4vCy/b8tqg4rRyPveoVBceXakV4GQLgaEZ
> 0OH78jXvof43TROzd//D9GuVBHKx0DoNwsSsujpJr5AcZziWo704vY/zsaSANdZ+
> EnZofP6q6HLcUGGYCuPvP+ZQvGafEBNHfsynem9wOQwVs3X2weh5+kDaDUzHhXvD
> lZw+S6mX9FL4E1QlTC83INvLMwoRoihyGwm7/T3N8Dr4YO93f+COIPy9FgmcLGId
> agnBXsxJFdHB6elZPJ3lb+mxU1rwgJA3VxnbUKNlDZVUprQVHjzaD3J1LTKrlDi0
> eMBiB7usJz7nxtzxy4yx853AMgmGahKqMVLmSO+njW/wE/ALKf6nFI1dGLkgAEcO
> 6uXsFj0obH1VsDXxOYNScs+VL4XbTwsSn7cDDmUUA1peFGql96tujZHzsMaxnRXA
> 1UI3HpaK3lLaEvh9KLHoxpaX/35sL0YXU3J5gyorKoiQSnfuEBlrvtvglRBiiV41
> XEv6L4GlZhuLEtEZzTwsav5Bt4Lhd3NzTj//5aJdce1mwTIx3qIpfK64Tuz8Dy09
> yH+pVOPU5PaTFVbFiPyIk+PnuWYv5BYDziqjLyKXK7CPMrJ5y76aYtEDRubgBTz2
> NcRxECMyJbh6np3tiKwy
> =dKIH
> --
> ubuntu-users mailing list
> ubuntu-users at
> Modify settings or unsubscribe at:

More information about the ubuntu-users mailing list