This article is from the AmiTCP/IP FAQ, by Mike Meyer with numerous contributions by others.
Before you do anything else, get IP address(es) for the other hosts from your service provider. Your service provider has to arrange to send packets for those IP addresses to your Amiga, so that it can forward them to the appropriate hosts. Unless your provider is forwarding those packets to your Amiga, nothing else will work, so don't even try. Note that your provider is not obligated to provide this service to you, unless you have a contract that says they are. Some providers will refuse to do so.
Next, install TCP/IP on your other hosts. The default gateway address should be the IP address of the gateway Amiga (the one that is connected to the external SLIP line). For a SLIP connection, the destination IP address should also be the gateway Amiga.
Finally, configure the gateway Amiga. For SLIP interfaces, you can use the same IP address for each line, with the destination address being the address of the host on the other end of the line. Presumably, you're going to use the same SLIP driver, so configure the second interface similar to the first, changing only the device name and unit number. You may want to turn off carrier detect. Copy the ifconfig line in amitcp:bin/startnet, changing the destination IP address and SLIP device and unit to the values for the SLIP connection you are adding. Last - but not least - edit amitcp:db/amitcp.config to set gateway=YES instead of NO.
Assuming that everything was done properly - by both you and your network provider - you should be able to reboot the gateway and internal machines, and have everything work. Testing should proceed along the same lines as setting up an initial SLIP line: make sure your machines can talk to each other, then try talking to the first external destination, then try reaching the internet at large.
 
Continue to: