I am having problems setting Centos to act as a bridge between my wired LAN and the wireless internet connection. Where I have my LAN I can't get any wireless signal to get access to the internet. The only machine that can get wireless access is my newly acquired server.
so currently I have 1 machine and a server on a wired connection (soon to add another machine) and the server has a wireless connection to the outside world.
I am hoping that this problem is reasonably simple, I've had a very long day at work, and my knowledge of Linux networking is poor at best!
so far from what I have read online is to...
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
however when I go to the workstation and try pinging 188.8.131.52 (google) I get the following error
From 192.x.x.x icmp_seq=1 Dest Unreachable, Bad Code: 10
Now I think this could be an issue with iptables, but I have no idea what or how to fix it. To be fair I might be completely wrong with this and i'm barking up the wrong tree altogether!
If anyone has any idea's about how to solve this please say, then I get on with trying to sort out the nameserver issue.
I don't know if it is relevant but the server is running Centos 6.3 my workstation is running Suse 12.2 and the other machine isn't connected to the network yet!