Page 1 of 1 1
Topic Options
#58178 - 2001-08-10 01:14 PM VPN detection
Anonymous
Unregistered


Has anyone manage to sucessfully test VPN & Dialup with the use of IPADDRESS0 & IPADDRESS1 macro??
Top
#58179 - 2001-08-13 08:08 PM Re: VPN detection
bleonard Offline
Seasoned Scripter
*****

Registered: 2001-01-19
Posts: 581
Loc: Chicago, IL
Bonky -
Yes - Dialup. However, I use a Shiva LANRover that assisgns specific IP ranges for dial in clients. All dial-in clients Dialup Networking TCP/IP configured to use server-supplied IP. So, my results are quite possibly of little use to you. Let me know.
Bill

Top
#58180 - 2001-08-15 04:20 AM Re: VPN detection
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Bonky,
There are, on this board, a lot of examples of scripts where the IP address is disected and analyzed for subnets. If your VPN is limited to a particular subnet, then it can be done. Another method posted on this board is with the output of IPCONFIG piped through FIND.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#58181 - 2001-08-15 05:29 PM Re: VPN detection
Anonymous
Unregistered


OK!!

I use a lan rover system as well (SHIVA) so your help bill would be great...

VPN is about to come back on line at work.

Our clients are win9x not NT workstations

Top
#58182 - 2001-08-15 05:32 PM Re: VPN detection
Anonymous
Unregistered


oppps.. I forgot to add.. our sub net is *.*.33.* so all dialups and vpn connections come on that range.. thats why I need the marco to sort out the diff between dialups and VPN's
Top
#58183 - 2001-08-15 07:16 PM Re: VPN detection
Anonymous
Unregistered


Here is an excerpt out of the script that I use. It is a quick and dirty way of dicerning where they are calling from. I actually use variations of this for both VPN and dialup uses:

$ip0=@ipaddress0
$ip1=@ipaddress1
$ip2=@ipaddress2
$ip3=@ipaddress3

IF ((SUBSTR($ip0,1,12)="xxx.xxx.xxx.") OR (SUBSTR($ip1,1,12)="xxx.xxx.xxx.") OR (SUBSTR($ip2,1,12)="xxx.xxx.xxx.") OR (SUBSTR($ip3,1,12)="xxx.xxx.xxx."))

(action to be performed)

ENDIF

Make sure that the ip entries that are made above use full three (3) digits for the octets. If the is only a single digit for the octet, preceed it with blanks -- otherwise it will not work.

Let me know how it works.

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1471 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.052 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org