[TriLUG] Sharing WiFi through Ethernet

Bill Farrow bill at arrowsreach.com
Fri Aug 15 09:01:03 EDT 2014


On Fri, Aug 15, 2014 at 12:15 AM, Brian McCullough <bdmc at buadh-brath.com> wrote:
> There is obviously something that I am missing.  Where should I go?

Brian,
This is my command sequence - note that I restart dnsmasq at the end:

  sudo ifconfig eth0 10.0.0.1 up
  sudo iptables -t nat -F
  sudo iptables -t nat -A POSTROUTING -o eth0 -s 10.0.0.0/24 -j MASQUERADE
  sudo sysctl net.ipv4.ip_forward=1
  sudo /etc/init.d/dnsmasq restart


If this fails, please provide (via pastebin) your dnsmasq.conf ,
ifconfig, ip route show

Bill


More information about the TriLUG mailing list