OS/2 Tips: Connecting an OS/2 LAN to the Internet: Difference between revisions

From OS2World.Com Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
by [[Sharif Abdallah]]
''by [[Sharif Abdallah]]''


==Overview==
==Overview==
Line 6: Line 6:
By combining the features in OS/2 Warp with readily available free- and share-ware products users can be up and running quickly.
By combining the features in OS/2 Warp with readily available free- and share-ware products users can be up and running quickly.
I hope that this information gives you some ideas of just how easy it is to connect your home or small office LAN to the internet. If you have any other questions regarding the software that I describe in this site or about configuration issues, please drop me a note.
I hope that this information gives you some ideas of just how easy it is to connect your home or small office LAN to the internet. If you have any other questions regarding the software that I describe in this site or about configuration issues, please drop me a note.


Regards,
Regards,
Line 14: Line 13:
==Design Specifications==
==Design Specifications==
The following criteria were used in determining the resources used in creating the internet gateway:
The following criteria were used in determining the resources used in creating the internet gateway:
* Access to E-mail and WWW Resources
* Access to E-mail and WWW Resources
* Sensitive Data must be Protected
* Sensitive Data must be Protected
* Potential Damage must be Limited  
* Potential Damage must be Limited


==Implementation==
==Implementation==
The key elements to impelmenting this solution are:
The key elements to impelmenting this solution are:
* Physical Separation of the Servers
* Physical Separation of the Servers
Never run a HTTP Proxy Server on your File Server
Never run a HTTP Proxy Server on your File Server
* Separate Protocols for the Servers
* Separate Protocols for the Servers
Make 'hacking' into the File Server difficult
Make 'hacking' into the File Server difficult
Line 31: Line 27:


==Software Selection==
==Software Selection==
Fortunately, OS/2 Warp (Connect and above) provides all of the basic tools necessary for establishing TCP/IP-based communications. Since TCP/IP is the basic internet communications protocol, all we have to do is put together a set of tools that let us accomplish the following tasks:
Fortunately, OS/2 Warp (Connect and above) provides all of the basic tools necessary for establishing TCP/IP-based communications. Since TCP/IP is the basic internet communications protocol, all we have to do is put together a set of tools that let us accomplish the following tasks:
# Provide POP and SMTP services for local e-mail clients
# Provide POP and SMTP services for local e-mail clients
# Provide proxy HTTP services for local web-browsers
# Provide proxy HTTP services for local web-browsers
# Control access to the communications channel
# Control access to the communications channel
There are numerous shareware and freeware solutions available. What I've chosen to use are the following applications:
There are numerous shareware and freeware solutions available. What I've chosen to use are the following applications:
* Inet.Mail - to provide e-mail services
* Inet.Mail - to provide e-mail services
* Internet Connection Server - to provide proxy HTTP services
* Internet Connection Server - to provide proxy HTTP services
Line 46: Line 38:
==Server Configuration==
==Server Configuration==
Since both E-mail hosting and Proxy services are not CPU-intensive tasks, your choice of hardware is quite flexible. However, to get reasonable performance, I suggest the following minimum specifications:
Since both E-mail hosting and Proxy services are not CPU-intensive tasks, your choice of hardware is quite flexible. However, to get reasonable performance, I suggest the following minimum specifications:
* CPU: 486DX/33 or better
* CPU: 486DX/33 or better
* RAM: at least 16MB (ICS 'Secure' requires 24MB)
* RAM: at least 16MB (ICS 'Secure' requires 24MB)
Line 53: Line 44:


When installing the software, keep in mind the following issues:
When installing the software, keep in mind the following issues:
 
# When installing OS/2, install only the TCP/IP protocol and NOT the LAN Requester. This helps protect your network from unauthorized access via the internet.
# When installing OS/2, install only the TCP/IP protocol and NOT the LAN Requestor. This helps protect your network from unauthorized access via the internet.
# Use the Dial-on-Demand and Auto-Disconnect features of the dialer to physically sever your internet connection when not in use. This provides yet another level of security against unauthorized access.
# Use the Dial-on-Demand and Auto-Disconnect features of the dialer to physically sever your internet connection when not in use. This provides yet another level of security against unauthorized access.
# Install the Internet Connection Server (ICS) as a proxy server and enable the cache option. See sample 'httpd.cnf'. The Internet Connection Server MUST be run from a HPFS partition.
# Install the Internet Connection Server (ICS) as a proxy server and enable the cache option. See sample 'httpd.cnf'. The Internet Connection Server MUST be run from a HPFS partition.
Line 61: Line 51:
==Client Configuration==
==Client Configuration==
Since the 'Server' uses standard protocols there are no special requirements for LAN clients. In general, the following type of clients will work:
Since the 'Server' uses standard protocols there are no special requirements for LAN clients. In general, the following type of clients will work:
 
* Operating System: Any OS with TCP/IP services (ex. OS/2, UNIX, Win9?, Win3.x, etc.)
* Operating System: Any OS with TCP/IP services
* Mail Reader: POP3 and SMTP compliant (ex. PostRoad Mailer, PMMail, NotesMail, Netscape, etc.)
(ex. OS/2, UNIX, Win9?, Win3.x, etc.)
* Browser: Any browser capable of specifying a proxy server (ex. Netscape, WebExplorer, MS Explorer, etc.)
 
* Mail Reader: POP3 and SMTP compliant
(ex. PostRoad Mailer, PMMail, NotesMail, Netscape, etc.)
 
* Browser: Any browser capable of specifying a proxy server
(ex. Netscape, WebExplorer, MSExplorer, etc.)
 
As with most configurations, you have to have enough RAM to avoid excessive swapping. A reasonable MINIMUM amount of RAM is 8MB. You will get far better response with a 16MB system.  
As with most configurations, you have to have enough RAM to avoid excessive swapping. A reasonable MINIMUM amount of RAM is 8MB. You will get far better response with a 16MB system.  


==References==  
==References==  
===InJoy v1.0 - Complete dialer application.===
===InJoy v1.0 - Complete dialer application.===
FX Communications, Brolaeggerstraede 12, DK-4300 Holbaek, Denmark
FX Communications, Brolaeggerstraede 12, DK-4300 Holbaek, Denmark
Also available from BMT Micro.
Also available from BMT Micro.
Line 85: Line 65:
[http://web.archive.org/web/19970515212508/http://www.hethmon.com/inetmail.html]
[http://web.archive.org/web/19970515212508/http://www.hethmon.com/inetmail.html]
The authors also have an add-on 'fetcher' that allows you to fetch messages from a single ISP mail account. To use this you also must download the helper DLLs: HRxMail.dll and HRxPass.dll
The authors also have an add-on 'fetcher' that allows you to fetch messages from a single ISP mail account. To use this you also must download the helper DLLs: HRxMail.dll and HRxPass.dll


Hethmon Brothers
Hethmon Brothers
Line 92: Line 71:


===Internet Connection Server v4.2 - Full-featured HTML server (beta version).===
===Internet Connection Server v4.2 - Full-featured HTML server (beta version).===
IBM Internet Products Group
IBM Internet Products Group
Cost: Beta version free. Full 'unsecured' product $90 from Indellible Blue.
Cost: Beta version free. Full 'unsecured' product $90 from Indellible Blue.


[[Category:Network]]
[[Category:Network]]

Revision as of 17:19, 26 December 2017

by Sharif Abdallah

Overview

Creating a cost-effective link between your home office or small business LAN has never been easier.

By combining the features in OS/2 Warp with readily available free- and share-ware products users can be up and running quickly. I hope that this information gives you some ideas of just how easy it is to connect your home or small office LAN to the internet. If you have any other questions regarding the software that I describe in this site or about configuration issues, please drop me a note.

Regards,

Sharif Abdallah

Design Specifications

The following criteria were used in determining the resources used in creating the internet gateway:

  • Access to E-mail and WWW Resources
  • Sensitive Data must be Protected
  • Potential Damage must be Limited

Implementation

The key elements to impelmenting this solution are:

  • Physical Separation of the Servers

Never run a HTTP Proxy Server on your File Server

  • Separate Protocols for the Servers

Make 'hacking' into the File Server difficult

Notice that the Servers are NOT physically or logically connected!

Software Selection

Fortunately, OS/2 Warp (Connect and above) provides all of the basic tools necessary for establishing TCP/IP-based communications. Since TCP/IP is the basic internet communications protocol, all we have to do is put together a set of tools that let us accomplish the following tasks:

  1. Provide POP and SMTP services for local e-mail clients
  2. Provide proxy HTTP services for local web-browsers
  3. Control access to the communications channel

There are numerous shareware and freeware solutions available. What I've chosen to use are the following applications:

  • Inet.Mail - to provide e-mail services
  • Internet Connection Server - to provide proxy HTTP services
  • InJoy - to control the dialup connection

Server Configuration

Since both E-mail hosting and Proxy services are not CPU-intensive tasks, your choice of hardware is quite flexible. However, to get reasonable performance, I suggest the following minimum specifications:

  • CPU: 486DX/33 or better
  • RAM: at least 16MB (ICS 'Secure' requires 24MB)
  • Hard Disk: at least 100MB free space (after OS/2 installation)
  • Modem: 28.8 Kbps or better

When installing the software, keep in mind the following issues:

  1. When installing OS/2, install only the TCP/IP protocol and NOT the LAN Requester. This helps protect your network from unauthorized access via the internet.
  2. Use the Dial-on-Demand and Auto-Disconnect features of the dialer to physically sever your internet connection when not in use. This provides yet another level of security against unauthorized access.
  3. Install the Internet Connection Server (ICS) as a proxy server and enable the cache option. See sample 'httpd.cnf'. The Internet Connection Server MUST be run from a HPFS partition.
  4. Automate the retrieval of new mail messages upon each connection by using INet.Mail's 'fetcher' command along with a customized REXX script. See sample 'fstore.cmd'

Client Configuration

Since the 'Server' uses standard protocols there are no special requirements for LAN clients. In general, the following type of clients will work:

  • Operating System: Any OS with TCP/IP services (ex. OS/2, UNIX, Win9?, Win3.x, etc.)
  • Mail Reader: POP3 and SMTP compliant (ex. PostRoad Mailer, PMMail, NotesMail, Netscape, etc.)
  • Browser: Any browser capable of specifying a proxy server (ex. Netscape, WebExplorer, MS Explorer, etc.)

As with most configurations, you have to have enough RAM to avoid excessive swapping. A reasonable MINIMUM amount of RAM is 8MB. You will get far better response with a 16MB system.

References

InJoy v1.0 - Complete dialer application.

FX Communications, Brolaeggerstraede 12, DK-4300 Holbaek, Denmark Also available from BMT Micro. Cost: approximately $35.00

Inet.Mail v1.17a - POP3 and SMTP Mail Server.

[1] The authors also have an add-on 'fetcher' that allows you to fetch messages from a single ISP mail account. To use this you also must download the helper DLLs: HRxMail.dll and HRxPass.dll

Hethmon Brothers Also available from BMT Micro. Cost: $35.00 for 10 users

Internet Connection Server v4.2 - Full-featured HTML server (beta version).

IBM Internet Products Group Cost: Beta version free. Full 'unsecured' product $90 from Indellible Blue.