Microsoft KB Archive/201666

= How to Configure Multiple PcAnywhere 8.0 Hosts Behind Proxy 2.0 =

Article ID: 201666

Article Last Modified on 8/6/2002

-

APPLIES TO


 * Microsoft Proxy Server 2.0 Standard Edition

-



This article was previously published under Q201666



SUMMARY
You can configure multiple PcAnywhere 8.0 hosts to connect through the Internet by using Proxy Server 2.0 to remotely bind ports (Server Proxy) on the external interface of the Proxy Server computer. By doing this, non- published IP addresses will not be seen on the Internet, which makes for a more secure connection, while still allowing known remote users to connect to a PcAnywhere 8.0 host internally.



Steps to configure:
For this configuration to work, you should have a valid external IP address available for every host that you plan to use. For example, if you are configuring two PcAnywhere 8.0 hosts for Internet access, a second valid IP address should be bound to the external interface. This article describes both configurations. In the case in which there is only one external address available, you modify the PcAnywhere host and client computers to use different ports to proxy and connect. In the case in which multiple external addresses are available, you specify an external address that a particular host should use in its Wspcfg.ini file.

Set up multiple IP addresses:
Multiple IP addresses can be assigned to multiple network adapter cards or to a single card. Through the Control Panel Network icon, you can bind the additional IP addresses to your network adapter card. On the Protocol tab, click TCP/IP protocol, and then click Properties. Type the first IP address, subnet mask, and the computer's default gateway under Specify an IP Address on the IP Address tab.

Click the Advanced tab to display the Advanced IP Addressing dialog box. To add additional IP addresses to your network interface card, click the Add button under IP Addresses.

NOTE: When you assign more than one IP address to a single network interface card, you must disable automatic DHCP configuration. The DHCP server cannot assign multiple IP addresses to the same network interface card.

Configure Proxy environment:
NOTE: The steps below assume that Proxy Server 2.0 has been installed and is running properly. For more information on installing Proxy Server, see the following article in the Microsoft Knowledge Base:

186918 Tips for Installing Proxy Server 2.0

 Install the Winsock client on the internal client (Windows NT or Windows 95/98) that will be the PcAnywhere 8.0 host (if not already done). This can be done by connecting to \\ \msplnt and running Setup.exe from this directory. Follow the onscreen prompts. Verify that the Winsock client has been installed properly by using the command line ftp utility that ships with the operating system and connecting to an Internet FTP server (for example, ftp.microsoft.com).  Create a Wspcfg.ini file that contains the following and save it in directory where Awhost32.exe is installed (by default this is in c:\Program Files\PcANYWHERE): [awhost32] ProxyBindIp=5631:<1st IP address> ServerBindTCPPorts=5631 LocalBindTCPPorts=65301 KillOldSession=1 Persistent=1 NOTE: Make sure that the Wspcfg.ini is saved without the .txt extension.  Start a HOST session by starting PcAnywhere 8.0. Click "Be a Host PC," and then double-click Network. Verify that Network is configured to use TCP/IP as its protocol. Refer to PcAnywhere 8.0 documentation for more information. The service should start and the dialog should state "Waiting for Connection." Repeat the above steps for the next host computer. In the case of single external IP address on the Proxy server, substitute the Wspcfg.ini file with the following entries:

[awhost32]

ProxyBindIp=5633:

ServerBindTCPPorts=5633

LocalBindTCPPorts=65301

KillOldSession=1

Persistent=1

For configurations using multiple IP addresses on the Proxy server, add the following Wspcfg.ini file instead:

[awhost32]

ProxyBindIp=5631:

ServerBindTCPPorts=5631

LocalBindTCPPorts=65301

KillOldSession=1

Persistent=1

NOTE: On the second host, only in the case in which there is only one external IP address being used on the proxy, PcAnywhere must be configured to use different ports. This can be changed by modifying the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\pcANYWHERE\CurrentVersion\System

TCPIPDataPort - set to 5633

TCPIPStatusPort - set to 5634

 For the Internet clients that are connecting inbound, a registry entry needs to be added in order to use only TCP connections and no UDP on the host. This can be done by adding the following entry to the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\pcANYWHERE\CurrentVersion\System

Create a DWORD entry called "TCPIPConnectIfUnknown" with the value set to "1."

NOTE: This must be done or PcAnywhere will fail to connect because it cannot locate the service over UDP. Although Proxy Server does have the ability to use UDP, PcAnywhere does not allow the UDP port to be successfully bound to the external network adapter.</li> To connect a pcAnywhere client to a host behind a Proxy server: In the case in which you have configured multiple IP addresses on the external interface of the proxy server and used unique IP addresses in each host's Wspcfg.ini file, configure the client to connect using TCP and specify the corresponding external IP address on the proxy for the appropriate host.

In the case in which the Proxy server has only one external IP address and you have configured different ports for each host, configure the client to connect using TCP and specify the external IP address of the proxy server and specify the corresponding port for the appropriate host.</li></ol>

Keywords: kbhowto KB201666

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.