[TriLUG] Sharing WiFi through Ethernet

Joseph Mack NA3T jmack at wm7d.net
Sat Aug 16 13:21:40 EDT 2014


On Sat, 16 Aug 2014, Bill Farrow wrote:

> On Sat, Aug 16, 2014 at 12:42 PM, Joseph Mack NA3T <jmack at wm7d.net> wrote:
>>> iptables -t nat -A POSTROUTING -o eth0 -s 10.0.0.0/24 -j MASQUERADE
>>> and
>>> iptables -t nat -A POSTROUTING -o wlan0 -s 10.0.0.0/24 -j MASQUERADE
>
> So which one was the correct one ? eth0 or wlan0 ?


wlan0. It was the one facing the internet.

eth0 was attached to the device that was being nat'ed. Brian had tried it with 
eth0 and that didn't work.

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!


More information about the TriLUG mailing list