Sharing internet connection from eth1 with a router connected to eth0
I recently moved into a building with a shared internet connection where I can only connect one computer directly into an Ethernet port in the wall, and not a router. What I'd like to do is connect a computer with two network cards, plug the internet into eth1, and connect my router to eth0. I'd like the other computers connected to the router to be able to both access the Internet and share files with each other, so that I have the same functionality I did before when I had a cable modem and all my computers connected to the router.
I'm using Crunchbang, based on Debian 7.1, on the computer with the two network cards. I've been using Linux for a long time and I'm not afraid of using a command line or editing config files but I've never needed a network configuration that hasn't "just worked" without extra setup so I'm not really sure where to start.
Edit: If it matters, I generally route all my traffic through an offshore VPN to stop Big Brother from watching my Internet traffic, except when I occasionally disable it to use websites that treat visitors from outside the US differently.
Last edited by Atdeb; 10-04-2013 at 07:13 PM.
|