|
The SageTV Community Here's the place to discuss what's worth recording, HTPC deals at retail stores, events happening outside of your home theater, and pretty much anything else you'd like. (No For-Sale posts) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
scriptable internet access while maintaining LAN access
I need a scriptable way of turning on and turning off internet access to a Windows PC, while maintaining its LAN access always.
The PC *must* be accessible on LAN at all times. But it's ability to go out to the internet can only be turned on and off via a script/executable. Rules/ACL on the router is a no go, because it requires a lengthy reboot on any type of change like that, it takes down the whole network's internet access on the reboot, and there is no way to script or automate this on a schedule. I'm pretty good w/ DOS batch files, the scheduler (AT), and starting/stopping Windows services, but so far I'm coming up blank on this issue.
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming |
#2
|
||||
|
||||
You can probably do something with ROUTE ADD and ROUTE DELETE to enable/disable the default entry that routes non-local traffic to your default gateway.
__________________
-- Greg |
#3
|
||||
|
||||
I didn't even know there was a ROUTE command. Looks interesting. Initial testing seems positive.
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming |
#4
|
||||
|
||||
I Googled "command line setting dns server windows" and found the netsh command. Maybe that would work for you. I ran netsh /? but did not try anything else. It looks like it might work for you.
http://www.petri.co.il/configure_tcp_ip_from_cmd.htm Dave |
#5
|
||||
|
||||
I'm thinking changes to DNS might affect LAN performance, but being able to directly configure an interface, in particular the default gateway, is very useable. This may work better than ROUTE because it seems the PC doesn't recover too well from ROUTE changes until a reboot.
Keep'em coming guys.
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming |
#6
|
|||
|
|||
I use the following reg files (in the zip) to turn on/off the proxy server of Internet Explorer on SageTV server.
__________________
SageTV 6.6.2 / 42" Plasma Panasonic TH-42PX600A/ Intel Pentium DC E6500/ 2Gb Ram/KWorld DVB-T PC160-2T/ Logitech Harmony Remote X360/ Gigabyte GeForce 8500 GT (Silent)/ Winfast DTV1000T/ WD Caviar Green 808Gb HD/ Win 7 Ultimate/ Mission Cinema 7/ Denon AVR-1800 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HD100 cant access internet - help! | infocus13 | SageTV Media Extender | 9 | 11-04-2009 05:00 AM |
Hotel Requires login for internet access | spvoyek | SageTV Placeshifter | 2 | 12-24-2008 12:09 AM |
Sage Server with no internet access, need a creative solution | wazkaren | General Discussion | 49 | 09-19-2008 08:57 PM |
How to Connect via Internet when on LAN | EChodun | SageTV Placeshifter | 31 | 10-09-2006 05:30 PM |
How best to secure client access from Internet? | Dr Squish | SageTV Software | 3 | 04-26-2004 05:42 PM |