[Qt-interest] block and unblock internet
Martin Hofius
Martin at hofius-online.com
Mon May 25 20:35:53 CEST 2009
Am Montag, 25. Mai 2009 schrieb Dave Feustel:
> On Mon, May 25, 2009 at 10:35:21PM +0530, Rahulkumar Tibdewal wrote:
> > Hi All,
> >
> > I want to block and unblock internet on my client machine.
> > Only internet should get blocked not intranet.
> >
> > Internet block should be irrespective of browser.
> >
> > Any ideas???
> >
> > Thanks
> > Rahul
>
> ifconfig (gateway device) down/up
this would block any destinations handled by this device. btw: I can't read
anything about linux?, windows might have different commands
To prevent internet access (and only INTERNET):
- change or delete the default route or
- add an appropriate rule to an existing firewall
Greetings
Martin
ps: of course this question is beyond the scope of QT...
More information about the Qt-interest-old
mailing list