Re: How to limit a computer to specific website surfing

From: Keme (KEMEsixtwonullsix_at_start.no)
Date: 04/09/05


Date: Sat, 09 Apr 2005 03:34:40 +0200

lecter wrote:
> Where do I config my "route"?
> __
> Lecter
> - "Trust No One!"
On the command line. On Win XP/2000 the default install places it in the
start menu as "(all) programs - accessories - command line", or you can
use "Start - run" and type "cmd"

First you need to find the IP of your allowed sites:
>nslookup <domain name>

Next, find your default gateway
>ipconfig

Then you must flush out all "default routes" (removes default gateway)
>route -f

and add the IPs of all allowed sites, using the default gateway found
previously.
>route add <allowed IP> mask 255.255.255.255 <gateway>

Note that this is not very secure unless you use a restricted account.
If the computer is set to use DHCP, the user can repair the connection,
thus restoring the default gateway. If the computer uses static IP, you
may have to remove the default gateway in the network properties window
instead of using the "route -f" command.



Relevant Pages

  • Re: Modifying default routes. Use route.exe?
    ... Does anyone know if it's possible to modify the metrics on two default ... Default Gateway: 192.168.7.1 ... Persistent Routes: ... Whatever I do with the route command, I always end up with a single ...
    (microsoft.public.windowsxp.network_web)
  • Modifying default routes. Use route.exe?
    ... Does anyone know if it's possible to modify the metrics on two default ... Default Gateway: 192.168.7.1 ... Persistent Routes: ... Whatever I do with the route command, I always end up with a single ...
    (microsoft.public.windowsxp.network_web)
  • Re: "Ping" App?
    ... >> be a tracert-like command, but I don't see it there ... Nettrace is not the same animal. ... >>> 192.168.0.0 network with 192.168.1.1 gateway. ... > from the net log info command, but if I go to wireless details info, ...
    (comp.sys.palmtops.pilot)
  • Re: [SLE] wireless is able to browse the lan but not the internet
    ... >>bothered setting a default gateway since I'm trying to figure out why ... I just got it working by running dhcpcd wlan0 as root from a command ... connect hardwired at home first. ... later - after I get some real work done. ...
    (SuSE)
  • Re: [SLE] Network addressing
    ... > You have to change two items, the IP address and default gateway. ... > gateway is changed with the route command. ... > each configuration and switch the profile as needed. ... >through the same adsl connection then you may have the same problems. ...
    (SuSE)

Quantcast