Novell Home

Prevent Specific Applications from being distributed over VPN to Remote Offices

Novell Cool Solutions: Tip
By Lisa Deger

Digg This - Slashdot This

Posted: 30 Jan 2007
 

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


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell