Re: Routing, maybe NAT...
Not an expert, but...
On Tue, Feb 18, 2003 at 04:06:50PM -0500, John Von Essen wrote:
> The machine has 192.168.1.100 as IP, 192.168.1.1 as default router. When I
> startup tunnelv, it adds some stuff to routing tables, and obviously
> allows me to access my work's private network (which is a 192.168.42.*).
> Everything works fine and the Debian box can access the private network.
> But... I now want to provide this same VPN access over to my other
> machines, the Mac and the Win98 box.
> So I thought that I could setup the Debian box as a gateway. This is what
> I did:
> Set default router address on Mac and Win98 to the Debian box's IP,
> 192.168.1.100. Started up /usr/sbin/routed
Why did you start routed?
> With just that done, it didn't work, Mac couldn't access work's private
> network. I really don't have any experience with setup of a gateway box,
> so don't know how to go about this. Do I need to setup routes? Maybe setup
> a NATing router so packets from private network can find their way to the
echo 1 > /proc/sys/net/ipv4/ip_forward
Michael J. Micek, CyberStrategies, Inc. sysadmin