You are not logged in.
Hi
I'm trying to flash my wdr3600 with openwrt. Now, the problem is that I want to use my desktop to share my internet to this router.
But, when I'm trying to ping google on this device, I get an 'unknown host' error. I've already set up my default gw correctly. What am I missing?
Last edited by TheChosenOne (2014-07-14 12:20:20)
Offline
If you can ping an external IP address then it's a DNS issue.
Offline
Sorry, I cannot ping 8.8.8.8
My route -n is
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.10 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
With 192.168.1.10 the ip of my desktop that forwards.
Last edited by TheChosenOne (2014-07-10 07:43:05)
Offline
Problem solved!
I had to do
sudo iptables -t nat -I POSTROUTING -s 192.168.1.0/24 -o wlp3s0 -j MASQUERADE
sudo iptables -I FORWARD -s 192.168.1.1 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
which was removed after a reboot?
Offline