I am trying to setup a VPN between two linux servers, by using freeSwan. I am using 4 computers, 2 hubs, 1 crossover, and three straight throughs, with 4 network cards.
Details of setup:
- Two linux Gateways, connected direclt together via a crossover. The cross over is instead of a untrusted internet
- A computer connected on each side of a Gateway. In other words a workstation connected to gateway via hub, with a straight through
- Abviuolsy each linux Gateway will have two NICS, one internal for the LAN, and one external to the untrusted internet.
IP addressing Details
GateWay1
Internal NIC IP : 192.168.3.1/24
External NIC IP : 192.168.0.2/24
LAN Workstation1
NIC IP : 192.168.3.100/24 with Default Gateway 192.168.3.1
GateWay2
Internal NIC IP : 192.168.4.1/24
External NIC IP : 192.168.0.1/24
LAN Workstation2
NIC IP : 192.168.4.100 with Default Gateway 192.168.4.1
My question is what should be the default gateway for the internal NIC in my gateway.
Details of setup:
- Two linux Gateways, connected direclt together via a crossover. The cross over is instead of a untrusted internet
- A computer connected on each side of a Gateway. In other words a workstation connected to gateway via hub, with a straight through
- Abviuolsy each linux Gateway will have two NICS, one internal for the LAN, and one external to the untrusted internet.
IP addressing Details
GateWay1
Internal NIC IP : 192.168.3.1/24
External NIC IP : 192.168.0.2/24
LAN Workstation1
NIC IP : 192.168.3.100/24 with Default Gateway 192.168.3.1
GateWay2
Internal NIC IP : 192.168.4.1/24
External NIC IP : 192.168.0.1/24
LAN Workstation2
NIC IP : 192.168.4.100 with Default Gateway 192.168.4.1
My question is what should be the default gateway for the internal NIC in my gateway.