Yep. Read the IP Masquerade HOWTO
-------------------------------------------------------------------
Jeremy Buchmann "Those who trade freedom for safety deserve
-------------------------------------------------------------------
You can link the 2 machines with a ppp link.
Here's a practical example: (assuming machine A is connected to machine B
which is running IP masquarade)
1- Connect the serial ports of the two machibes with a null modem cable.
2- On both machines (if using COM2): setserial /dev/ttyS1 spd_vhi
3- On machine A: pppd -detach lock crtscts defaultroute
192.168.2.1:192.168.2.2 /dev/ttyS1 38400 &
4- On machine B: pppd -deatach lock crtscts passive silent /dev/ttyS1 38400
&
Machine A will be 192.168.2.1 and machine B will be 192.168.2.2 and the
default
gateway for machine A will be 192.168.2.2. All you have to do next is to set
up
your masquerading stuff properly.
That's it your in business!
Regards
Gatan.
1. Linking linux boxes via null-modem cable
I would like to connect two linux boxes together via a null-modem
cable. I'm trying to run agetty on one machine (helium) and minicom
on the other (dialup). The problem is that I can login to helium from
dialup when helium has been booted, but after I exit minicom and go
back into it I don't get any response from helium. In /etc/inittab
I'm using /sbin/agetty -L ttyS3 38400. The -L is to ignore the
carrier detect status.
I've also tried using kermit on dialup to access helium after minicom
has been exited and the same thing happens.
I'm not sure whether the problem is with agetty on helium or
minicom/kermit on dialup. Would be grateful for any help.
regards
Pat Cain
2. Q: PBMplus under Linux, how?
3. PPP via serial link to Linux
4. NCSA server includes question
5. Linking servers via a serial cable
7. console connections via serial link
8. Finger problems...questions...
9. Controlling Other Computer Via Serial Link
10. Linking NT & AIX via serial ports
11. Win95 Sharing via Linux PPP link?
12. slow connection between terminal(8088) and linux box via serial
13. Onyx console on Linux box via serial port