I have recently messed up my network in the attempt to connect two computers using network cards so that comp1 has an access to the internet directly and comp2 uses the comp1 to do the same thing.
General scheme is this:
comp2(eth0) -> comp1(eth1)
comp1(eth0) -> switch -> network
i mixed up comp1 and com2 (thnx Jos)
my interfaces look like this:
iface lo inet loopback
iface eth0 inet dhcp
iface eth1 inet static
up/sbin/iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -d 0/0 -j MASQUERADE
iface eth0 inet static
computers see each other. comp1 can see outside network:
works. As does comp2. but when i try to download stuff on comp2 i get error:
sudo aptitude install geany
Err http:// ....
Temporary failure resulting security.ubuntu.com
could someone pleas help me setup this last bit??
my original question is here
i apologize is this is considered spamming or something negative