![]() :: But we'll also search to see if there is a better value to be used. :: Now we need to find the default home gateway. If (%interfaceID%)=() (set /f "tokens=1 delims=." %%* in (Įcho Setting up static routes to %lookfor% interface %interfaceID% using %VPN_version%Įcho If you should be using a different version than %VPN_version% then update the batch file. :: window issue the command "Route Print" to see how your NICs are shown. :: modified to match the specific string that identified your NIC. (If this still fails - the argument passed will need to be :: If we did not find any interface - it could be that we need to look for :: NIC cards are identified as "Wireless", Ethernet Cards either as "Ethernet" or /f "tokens=1" %%* in ( :: Look for the interface ID that corresponds with the argument passed. ::: Issue the command as: LaunchVPN Ethernet or ::: ::: Set homegw equal to the IP address of your home network g/w. ::: number of the interface of your regular network adapter. ::: Set interfaceID (found using ROUTE PRINT command) to be equal to the ::: ![]() (note my corp network is on 136.x.x.x)īasic idea is below - good luck : %echo offĮcho Set up Static routes to home network then launch VPN application Then it launches Network Connect, then updates the Instantproxy.pac file. I wrote a script that sets up static routes to my home gateway for all IP ranges that I know do not need to go to my corp network. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |