Linux/iptables

From Wiki
< Linux
Revision as of 13:55, 1 April 2017 by Marcluer (talk | contribs)

raspi wifi to ethernet

  • rc.local
    • iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE
    • iptables --append FORWARD --in-interface eth0 -j ACCEPT