Hey all. This is my first post, I know I'm a noob and I've been looking around at tutorials to help me in what I want to achieve. I'm looking to create a gateway and DHCP to share a Huawei E220 connection to a WAP so my girlfriend and I can both use the connection (will be replaced later in the year) I've gone through the tutorial at
howtoforge and all it seems to do is assign IPs, and doesn't share the internet.
Also, if I restart the computer, the dhcpd service seems to switch off.
So I'm trying to share my internet on ttyUSB0(which is what the E220 shows up as) to eth0(I'm guessing this is the iptables bit) and assign IPs on the eth0 line (DHCP, which seems fine).
I think my main problem is iptables doesn't like my ttyUSB0 bit.
I'm running CentOS 5.3(I think I'll reinstall and start a fresh) on a P4.
So please help me. (even my Ipod gets a IP and it's usually the one that gives me trouble)
Also: when I connect eth0 to the switch, it seems to take over all connections and it stops the CentOS server from accessing the internet on ttyUSB0.