
Appendix A Create Answer File for Branch Office VPN Connectivity Wizard
There are two methods to create an answer file to use with the Branch Office VPN Connectivity Wizard:
-
Run the Create Answer File Wizard from within the ISA Server Management snap-in.
-
Run the Branch Office VPN Connectivity Wizard with the -create_answer_file switch.
Create an Answer File with the Create Answer File Wizard
In this section, you create an answer file that can be used when running the Branch Office VPN Connectivity Wizard at the corresponding branch office. The wizard takes as much information as possible from the selected VPN site-to-site network. This ensures that most of the information will match, and lowers the chance that the VPN connection will fail due to settings that are not compatible.
To create an answer file for a remote VPN site
-
In the console tree of ISA Server Management, expand Microsoft Internet Security and Acceleration Server 2006, expand Arrays, expand Array_Name, and then click Virtual Private Networks (VPN).
-
In the details pane, select the Remote Sites tab.
-
Select the remote site-to-site network.
-
On the Tasks tab, click Create Answer File for Remote VPN Site. Use the wizard to create the answer file.
Important: |
|---|
|
When running this wizard, you need to think as if you are using the remote site ISA Server computer. In this section, when the Create Answer File Wizard refers to Remote, it is referring to the Miami office, and when the Create Answer File Wizard refers to Local, it is referring to the London or Sydney office. This answer file will be used in conjunction with the Branch Office VPN Connectivity Wizard at the branch office.
|
|
Page
|
Field or property
|
Setting
|
|---|
|
Welcome
|
None
|
Click Next.
|
|
Answer File Details
|
Type the full path to the answer file.
|
Type c:\London.inf.
|
|
Connection Type
|
Select the protocol used for the VPN connection.
|
This setting is already selected and you cannot change it.
|
|
Array Server Deployment
|
VPN connection is created for the first server deployed in the array. Subsequent servers must use this connection during the initial VPN configuration.
|
Select This is the first server deployed in the array.
|
|
Local Site-to-Site Authentication
|
Network name
Password
Confirm Password
|
Type MIA_Net.
Type Passw0rd.
Type Passw0rd.
|
|
Remote Site VPN IP Addresses
|
Specify the IP address ranges for the remote site VPN network.
Address ranges of remote VPN network
Remote VPN server (IP address or name)
|
Confirm that the address range is 10.0.0.1–10.0.0.254
Type 172.16.0.2.
|
|
Local Network VPN Settings
|
Specify how IP addresses are assigned to incoming VPN client connections.
|
Select Static IP address pool.
Click Add Range.
|
|
IP Address Range Properties
|
Specify the range of IP addresses:
Start address
End address
|
Type 11.1.0.1.
Type 11.1.0.254.
|
|
Remote Authentication
|
User name
Domain
Password
Confirm Password
|
Type LON_Net.
Type Corp.contoso.com.
Type Passw0rd.
Type Passw0rd.
|
|
IPsec Authentication
|
Specify the authentication method that will be used to establish the site-to-site VPN connection.
|
Select Use server certificate.
|
|
IPsec Certificate
|
Specify the server certificate that will be used for authentication.
|
Select Use existing certificate.
Note:
You will need to make sure that the appropriate certificate is installed on the London ISA Server computer.
|
|
Join Remote Domain
|
After the site-to-site VPN connection is successfully established, you can have the ISA Server computer join the domain.
Domain name (FQDN)
|
Select Join a domain.
Type corp.contoso.com.
|
|
Join Domain
|
Enter the user name and password with rights to join the domain
User name
Password
|
Type corp\administrator.
Type Passw0rd.
|
|
Locate Configuration Storage Server
|
Configuration Storage server (type the FQDN)
Connection Credentials
User name
Password
|
Confirm miacss01.corp.contoso.com.
Select Connect using this account.
Type corp\administrator.
Type Passw0rd.
|
|
Securely Published Configuration Storage Server
|
If you have published a Configuration Storage server securely, you can enter the FDQN here.
|
Leave blank.
|
|
Array Membership
|
None
|
Select Join an existing array.
|
|
Join Existing Array
|
Array name
|
Type LON.
|
|
Configuration Storage Server Authentication Options
|
Select how this computer will authenticate to the Configuration Storage server.
|
Select Windows Authentication.
|
|
Completing the Create Answer File Wizard
|
Review the settings.
|
Click Back to change any settings. Click Finish to complete the wizard.
|
-
Copy the file to one of the following locations on the branch office ISA Server 2006 computer, renaming the file IsaUsrConfig.inf. When the AppCfgWzd.exe is run, the wizard automatically searches the following locations in the following order for IsaUsrConfig.inf:
-
Root of any removable drive.
-
Directory named IsaAnswerFiles on the system partition, for example c:\IsaAnswerFiles.
-
Root directory of the system partition, for example C:\. If it finds the file, the wizard selects From a File on the Configuration Settings Source page of the wizard.
Important: |
|---|
|
When you run the Create Answer File Wizard on an IPsec tunnel mode network, you need to remove the IP address of the main office ISA Server computer from the list of IP address ranges on the Remote Site VPN IP Addresses page, or the connection to the published Configuration Storage server will fail.
|
Important: |
|---|
|
The answer file contains confidential information and should be treated accordingly. Transfer the answer file to the branch office ISA Server computer only in a secure fashion.
|
Create the Answer File with the Branch Office VPN Connectivity Wizard
To create the IsaUsrConfig.inf answer file, run the AppCfgWzd.exe file with the -create_answer_file switch. When you run the wizard with the -create_answer_file switch, you go through the wizard page by page, entering the information you want in the answer file. You need to provide all the information, and you have a greater chance of entering the wrong information.
Because no configuration changes occur when you run the wizard with the -create_answer_file switch, you can create an answer file from any ISA Server 2006 array member.
To create and use an answer file for Branch Office VPN Connectivity Wizard
-
Run the Branch Office VPN Connectivity Wizard with the -create_answer_file switch:
-
Click Start, and then click Run. In the Command Prompt window, type cmd, and then click OK.
-
At the command prompt, browse to the ISA Server 2006 installation folder. For example, type cd "c:\program files\Microsoft ISA Server" if you installed ISA Server to drive C using the default location.
-
To run the Branch Office VPN Connectivity Wizard, at the command prompt, type AppCfgWzd.exe -create_answer_file.
-
Enter the information as requested by the wizard.
-
When the wizard completes, the output is saved to <root drive>:\Windows\temp directory with the name isaconfig_*.inf, where * is a random number, for example IsaConfig_705.inf.
-
Copy the isaconfig_*.inf file to one of the following locations on the branch office ISA Server 2006 computer, renaming the file IsaUsrConfig.inf. When the AppCfgWzd.exe is run, the wizard automatically searches the following locations in the following order for IsaUsrConfig.inf:
-
Root of any removable drive.
-
Directory named IsaAnswerFiles on the system partition, for example c:\IsaAnswerFiles.
-
Root directory of the system partition, for example C:\.
If it finds the file, the wizard selects From a File on the Configuration Settings Source page of the wizard.
Important: |
|---|
|
The answer file contains confidential information and should be treated accordingly. Transfer the answer file to the branch office ISA Server computer only in a secure fashion.
|
Parameter Listing for Answer File
The following table lists the parameters of the IsaUsrConfig.inf file with the associated page in the wizard.
|
Wizard page
|
Description
|
Parameters values
|
|---|
|
None
|
Specifies the mode in which the wizard will run.
BasicUI In this mode, you will see the progress of the wizard and cannot change any of the values that have been provided in the answer file. The wizard will run automatically after being started, without any user intervention.
FullUI In this mode, the information will be completed automatically. However, you can change any of the information if required.
If this parameter is not specified in the .inf file, it will default to FullUI.
|
UnattendedMode={FullUI | BasicUI}
|
|
Connection Type
|
None
|
ConnectionType={VPN}
VpnProtocol={L2TP|IPSEC}
|
|
Array Server Deployment
|
Choose if this is the first server deployed in the array, or if a server is already deployed.
|
JoiningEmptyArray={1 | 0}
|
|
Local Site-to-Site Authentication
(L2TP setting)
|
Specifies the name of the site-to-site network that will be created on this appliance to represent the remote VPN site. A user account of the same name will be created on this appliance. This user account is used by the remote site to access the local VPN site. Specify a password for the account.
|
RemoteSiteNetworkName=SiteToSiteNetworkName
VpnLocalUserPassword=Password
|
|
Remote Site VPN IP Addresses (L2TP setting)
|
Specifies the IP address of the remote gateway, and the IP address range of the remote network.
|
RemoteSiteIpOrName=IP_Address
S2SNetIpRanges=StartIPAddress1-EndIPAddress1,StartIPAddress2-EndIPAddress2 …
|
|
Local Network VPN Settings (L2TP setting)
|
Specifies whether IP addresses are allocated to VPN client connections from a static pool, or by DHCP.
|
AddressAssignmentType={StaticPool|DHCP}
StaticAddressPool=StartIPAddress1-EndIPAddress1,StartIPAddress2-EndIPAddress2 …
|
|
Remote Authentication (L2TP setting)
|
Specifies what credentials the local site should use to authenticate to the remote site. This must be an account recognized by the remote site.
|
S2SUserName=Account_Name
S2SDomain=Account_Domain
S2SUserPassword=Account_Password
|
|
IPsec Authentication
(L2TP setting)
|
Selects whether to authenticate using a server certificate or a preshared key.
|
VPNAuthenticationType={Certificate|PresharedKey}
PresharedKey=Preshared_Key
VpnClientCertificate_UserPath=Certificate_Folder
|
|
IPsec Certificate (L2TP setting)
|
Specifies whether a new certificate should be installed from a .pfx file, or whether an existing certificate in the personal certificates store should be used.
|
VPNCertificate_InstallMode={InstallNew|UseExisting}
SERVER_CERTIFICATE_FULLPATH=PathtoPfxFile
VPNCertificate_Password=Passwordforpfxfile
VPNCertificate_CAName=ExistingCertificateName
|
|
IPsec Connection Settings (IPsec Tunnel Mode setting)
|
Specifies the name of the site-to-site network that will be created on this appliance to represent the remote VPN site. Specifies the IP address of the remote VPN gateway, and the IP address of the local VPN gateway.
|
RemoteSiteNetworkName=SiteToSiteNetworkName
RemoteSiteIPOrName=RemoteGatewayIPAddress
LocalGatewayIp=LocalGatewayIPAddress
|
|
Remote Site VPN IP Addresses (IPsec Tunnel Mode setting)
|
Specifies the IP address ranges for the remote site VPN network.
|
S2SNetIpRanges= StartIPAddress1-EndIPAddress1,StartIPAddress2-EndIPAddress2 …
|
|
IPsec Authentication
(IPsec Tunnel Mode setting)
|
Selects whether to authenticate using a server certificate or a preshared key.
|
VPNAuthenticationType={Certificate|PresharedKey}
PresharedKey=Preshared_Key
|
|
IPsec Certificate (IPsec Tunnel Mode setting)
|
Specifies whether a new certificate should be installed from a .pfx file, or whether an existing certificate in the personal certificates store should be used.
|
VPNCertificate_InstallMode={InstallNew|UseExisting}
SERVER_CERTIFICATE_FULLPATH=PathtoPfxFile
VPNCertificate_Password=Passwordforpfxfile
VPNCertificate_CAName=ExistingCertificateName
|
|
Join Remote Domain
|
Specifies whether to join a domain or remain in workgroup mode.
|
JoinDomainAction={JoinDomain|RemainInWG}
JoinDomainName=Domain_Name
JoinDomain_UserAccount=Account_Name
JoinDomain_Password=Account_Password
|
|
Locate Configuration Storage Server
|
Specifies the Configuration Storage server and the credentials to be used for the connection.
|
STORAGESERVER_COMPUTERNAME=ConfigurationStorageServer_Name
STORAGESERVER_CONNECT_ACCOUNT=Account_Name. A domain account should be in the format domainname\username
STORAGESERVER_CONNECT_PWD=Account_Password
|
|
Securely Published Configuration Storage Server
|
Specifies the published Configuration Storage server settings.
The CLIENT_CERTIFICATE_PATH_PROP parameter is used only when the PublishedCssRootCACertPath parameter is used.
|
VpnBackupCssName=PublishedConfigurationStorageServerName
PublishedCssRootCACertPath=PathToTrustedRootCert
CLIENT_CERTIFICATE_PATH_PROP=PublishedCssRootCACertPath
|
|
Array Membership
|
Adds this appliance to an existing array, or creates a new array and adds the appliance to it.
|
ARRAY_MODE={Join|New}
|
|
Create new array
|
Specifies a name for the new array, and its DNS name. Optionally, adds a description.
|
ARRAY_NAME=Array_Name
ARRAY_DESCR=Array_Description
ARRAY_DNS_NAME=DNS_Name
|
|
Join Existing Array
|
Specifies an array that this appliance should join.
|
ARRAY_NAME=Array_Name
|
|
Configuration Storage Server Authentication Options
|
Selects how this appliance authenticates to the Configuration Storage server. If the appliance resides in the same domain as the Configuration Storage server (or trusted domains), uses Windows authentication. Otherwise uses a server certificate over an SSL-encrypted channel.
|
ARRAY_AUTHENTICATIONMETHOD={Windows|Certificate}
CLIENT_CERTIFICATE_FULL_PATH=TrustedRootCert_Location
|
Sample Answer File for L2TP Connection
The following is a sample answer file for an L2TP connection.
[Appliance_Parameters];
;
; Connection Type L2TP
;
ConnectionType=VPN
VpnProtocol=L2TP
JoiningEmptyArray=1
RemoteSiteNetworkName=MIA_Net
VpnLocalUserPassword=1
RemoteSiteIpOrName=172.16.0.2
S2SNetIpRanges=10.0.0.1-10.0.0.254
AddressAssignmentType=StaticPool
StaticAddressPool=11.1.0.1-11.1.0.254
S2SUserName=LON_Net
S2SUserDomain=corp
S2SUserPassword=Passw0rd
;
; Authentication is with pre-shared key
;
VPNAuthenticationType=PresharedKey
PresharedKey=123456
;
; Joining a Domain
;
JoinDomainAction=JoinDomain
JoinDomainName=corp.contoso.com
JoinDomain_UserAccount=corp\administrator
JoinDomain_Password=Passw0rd
;
; Connect to Configuration Storage server and join an existing array
;
STORAGESERVER_COMPUTERNAME=miacss01.corp.contoso.com
STORAGESERVER_CONNECT_ACCOUNT=corp\administrator
STORAGESERVER_CONNECT_PWD=Passw0rd
PublishedCssRootCACertPath=
VpnBackupCssName=
ARRAY_MODE=Join
ARRAY_NAME=LON
ARRAY_AUTHENTICATIONMETHOD=Windows
CLIENT_CERTIFICATE_FULLPATH=
Sample Answer File for IPsec Tunnel Mode Connection
The following is a sample answer file for an IPsec tunnel mode connection.
[Appliance_Parameters]
;
;Connection type IPsec Tunnel Mode
;
ConnectionType=VPN
JoiningEmptyArray=1
VpnProtocol=IPsec
RemoteSiteNetworkName=MIA_Net
RemoteSiteIpOrName=172.16.0.2
LocalGatewayIp=172.16.2.2
S2SNetIpRanges=10.0.0.1-10.0.0.254
;
; Authentication is with pre-shared key
;
VPNAuthenticationType=PresharedKey
PresharedKey=123456
;
; Remain in a workgroup configuration
;
JoinDomainAction=RemainInWG
JoinDomainName=
;
; Connect to Configuration Storage server and join an existing array
;
STORAGESERVER_COMPUTERNAME=storage01.corp.contoso.com
STORAGESERVER_CONNECT_ACCOUNT=corp\administrator
STORAGESERVER_CONNECT_PWD=Passw0rd
PublishedCssRootCACertPath=
VpnBackupCssName=
ARRAY_MODE=Join
ARRAY_NAME=SYD
ARRAY_AUTHENTICATIONMETHOD=Certificate
CLIENT_CERTIFICATE_FULLPATH=