I'll be as clear as possible and as straightforward as possible.
[SKIPPABLE PARAGRAPH]
Been trying to do this for the LONGEST time with simple iptables configuration, I've read hordes of tutorials and nothing EVER seems to work. I'm not the lucky people who open up a terminal and type in nonsense like
Code:
iptables -t nat -A POSTROUTING sourceip -d destination ip -j MASQUERADE
and it apparently worked for them.
I feel like I'm at the end of my rope here, there's gotta be something simple I am NOT doing right.
[END SKIPPABLE PARAGRAPH]
Desktop PC connected to internet that I'm wanting to share internet through.
Code:
eth1: Internet-Connected Buffalo Broadcom Wireless G PCI card IP Address statically given is 192.168.0.4 by the router
Code:
eth0: Wired Realtek ethernet card
Current additional suggested packages installed
eth0 has been assigned the following:
Code:
Static IP Address: 192.168.0.10
Netmask: 255.255.255.0
Default Gateway: 192.168.0.1 (Mind you eth1's gateway is this too, as this is the router's ip)
How this works out with other devices:
My XBOX 360 set up statically will easily pick up an IP address, what it has trouble with is the DNS.
DNS addresses I've tried:
192.168.0.1
192.168.0.4
192.168.0.10
(Automatic Configuration via X360)
Of course, none of this works which I'm assuming is a configuration on the Linux side of things, that it is not properly routing in some aspect. The basic guide I followed that seemed to make the most sense is:
[HTML]http://ubuntuforums.org/showthread.php?t=91370[/HTML]
The one thing that concerns me in this post is the advice:
Quote:
Note: Type all the following commands in a root terminal, DO NOT use sudo.
|
This bugs me because Feisty does not appear to have KDE's standby : Root Terminal
The only way to get to a true root terminal is by rebooting into Recovery Mode where it drops you into a prompt as root only.
I basically followed that guide to its exactness, changing what needed to be change to fit my specific setup. I've flushed out iptables again (because all the previous suggested changes seemed to do nothing, I get no different results from anything I've tried basically.)
I don't really know if there's some actual command to execute the new iptable policies or not. I just enter "iptables [rest of crap here]." and hit enter.
I am hoping to find out that I've been doing something simple and wrong this entire time.
Of course, any additional information can be given upon request.
Cheers,
Michael