Article

ldeger's picture
article
Reads:

3584

Score:
2
2
3
 
Comments:

0

Prevent Specific Applications from being distributed over VPN to Remote Offices

Author Info

30 January 2007 - 2:33pm
Submitted by: ldeger

(View Disclaimer)

ENVIRONMENT: This should work with all version of ZENworks

If you have any applications that you don't want your users to install remotely, check this out. Here's a solution I used for an Outlook 2003 upgrade (342MB) that I did not want VPN users to run remotely.

Solution

I set up variables based on network addresses to determine what LAN users were connecting from.

LINK=LOCAL or LINK=VPN

Example

LOGIN SCRIPT:
; IP Network Segment
; 172.20.212.0-172.20.212.254 - Pittsburgh VPN
; 172.20.213.0-172.20.213.254 - Headquarters VPN
; 172.20.222.0-172.20.222.254 - PPTP VPN

SET LINK="LOCAL"
IF NETWORK>"AC14D400" AND NETWORK<"AC14D4FF" THEN SET LINK= "VPN"
IF NETWORK>"AC14D500" AND NETWORK<"AC14D5FF" THEN SET LINK= "VPN"
IF NETWORK>"AC14DE00" AND NETWORK<"AC14DEFF" THEN SET LINK= "PPTP"

DOCUMENTATION:

  1. SET LINK="LOCAL"
    This variable sets the link to LOCAL for all users
  2. IF NETWORK>"AC14D400" AND NETWORK<"AC14D4FF" THEN SET LINK= "VPN"
    This checks the network address and if is between 172.20.212.0-172.20.212.254 set LINK=VPN (Pittsburgh Link)
  3. IF NETWORK>"AC14D500" AND NETWORK<"AC14D5FF" THEN SET LINK= "VPN"
    This checks the network address and if is between 172.20.213.0-172.20.213.254 set LINK=VPN (Headquarters Link)
  4. IF NETWORK>"AC14DE00" AND NETWORK<"AC14DEFF" THEN SET LINK= "VPN"
    This checks the network address and if is between 172.20.222.0-172.20.222.254 set LINK=PPTP (St. Louis Link)

You can use the program CALC to determine the hex code values for the network address: e.g.

DECHEX
172AC
2014
212D4
213D5
222DE

172.20.213.00 = AC 14 D5 00 or AC14D500

The variable can now be used in ZENworks to distribute applications.

Under the Availability tab, you can define the availability by using the Environment Option.
LINK!=VPN or LINK=LOCAL for distributing applications.

If you have any questions you may contact Lisa at lisa.deger@fedex.com


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell