Virtual Machine Tool Set

JAVA Proxy Server Documentation


JAVA Proxy Server Index Page.


JAVA Proxy Server Users Guide



                                                                                
Unzip pserver.zip into directory c:\PSERVER.                                                                                
 
Select some computer in your LAN or home network that will act as the Server or Gateway.
This machine must have the connection to the Internet via modem, DSL, T1, etc. 
 
Ensure that the JRE (JAVA Run Environment) is listed in your server computer's CLASSPATH
and PATH statements. 
 
 
Choose an IP address scheme for you LAN.
We suggest using conventional intranet IP numbers such as:
 
           192.168.0.1  through  192.168.0.254
           90.0.0.1     through  90.0.0.254
 
           ie.  The computer running PServer would be 90.0.0.1
                If you had 5 other computers they would have addresses
                90.0.0.2 through 90.0.0.6
 
 
These addresses by convention are NON_Routable by software and equipment deployed throughout
the Internet.  This means that your PCs can talk to each other and to any server on the
Internet but someone outside of your LAN and Gateway cannot get to you.  This scheme will
act as a firewall. 
 
   
From a DOS, OS/2, NT or X-Window (Black Screen) get access to the PSERVER directory.
Start the PServer gateway by entering:
 
      je  PServer  
 
The PServer window will engage.
 
Configuring PServer --
 
PServer will remember your settings from the last session, but if you wish
to change the current settings then follow instruction below:
 

Use the ComboBox to select one of the pre_defined settings or overtype the 
current setting with your value.
IP Address is the address that all the computers on your LAN use to talk
to this PC.
PORT for HTTP is the TCP/IP port that PServer will listen to for HTTP (Browser) 
protocol requests that come from any computer on the LAN.
PORT for FTP is the TCP/IP port that PServer will listen to for FTP (file transfer)
protocol requests that come from any computer on the LAN.
 
These requests will be intercepted by PServer from your networked machines.
 
Protocol Setting Defaults:
HTTP      80
FTP       21
Security  80
RealAudio 1080
 
 

Use the ComboBox to select one of the pre_defined settings or overtype the 
 
Maximum number of Socket Threads -- The number of tasks or thread programs  
that are permitted to be created to service Internet traffic.
The greater the number of threads reducings queueing effect on requests and
responses travelling between the Internet and your computers.  But the more
threads you have the more real storage and CPU cycles are consumed. 
 
Minumum number of Socket Threads -- The number of tasks or thread programs  
that are required to be available for request/response processing.  You
may want to leave at least some that remain HOT and ready to process incoming
requests.  There is overhead associated with starting and stopping threads.
Leaving some HOT will eliminate that overhead of starting.
 
Task/Thread Timeout Value --  This is the number of milliseconds that a 
task must remain IDLE prior to stopping the thread.  Short TIMEOUTS of less
than a minute may be unproductive insofar as overhead reduction.  Recommend
that your TIMEOUT values are 120000 milliseconds or more.
 
 
 
 
In InternetExplorer this can be found under 
   Tools-Internet Options-Connections
   Press LAN Settings.
   Check Use a proxy server.
   Place the address of the proxy server in the Address: box
   Place the port that the proxy server will "listen" for HTTP traffic.
   Click Advanced.
   Place the IP address of your computer running PServer in each of the categories.
   Place the port numbers associated with each Server type.
         HTTP      90.0.0.1      80               
         Security  90.0.0.1      80
         FTP       90.0.0.1      21 
         Socks     90.0.0.1      1080    
         WAIS      90.0.0.1      1090
 
 
 
Next you must set you TCP/IP Settings in each computer to ensure that:
     TCP/IP is enabled
     Each PC has a unique IP Address.
     Each PC is connected to the LAN via a Network Interface Card.
 
Instructions to configure the network properties 
On each client computer. 

1) Double-click Network icon in Control Panel 

2) Click Configuration Tab, select the network interface adapter (TCP/IP Ethernet Adapter)
   for the LAN (do not choose Dial-Up Adapter). 
   If you dont see a TCP/IP binding for your network adapter, 
   then do   Add button -> Add Protocol -> Select Microsoft -> Select TCP/IP -> OK.  
 
3) Click the Property button to open the TCP/IP Properties window. 

4) Click IP Address Tab, enter the IP address for this computer
   (ie 90.0.0.2) and 255.255.255.0 for the Subnet Mask. 

5) Click DNS Configuration Tab, 
   then select Enable DNS,
   enter the IP address of the gateway running PServer (ie. 90.0.0.1)
 
6) Click Gateway Tab, enter your PServer gateway IP here also.
 
7) Close all the window by clicking the OK button.
   It may be required to reboot your machine. 

 
On the Gateway computer:
 
   This is the computer running PServer,
   please repeat the above instruction 1,2,3,4,7.
   The IP address should be 90.0.0.1 at this time.
   Do NOT configure the DNS and Gateway Tab on this computer. 
 
** DO NOT CHANGE THE DNS AND GATEWAY SETTINGS FOR THE INTERNET NETWORK ADAPTER OF YOUR GATEWAY COMPUTER! 
 
 
You are ready to start using all of your PCs through a single gatewayed Internet Connection.
                                                                                
 
                                                                                
                                                                                

[ Return to Index ]