Linux/iptables

From Wiki
< Linux
Revision as of 22:05, 25 March 2014 by Marcluer (talk | contribs) (Die Seite wurde neu angelegt: „== raspi wifi to ethernet == *iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE *iptables --append FORWARD --in-interface eth0 -j A…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

raspi wifi to ethernet

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