Linux/iptables: Difference between revisions
< Linux
mNo edit summary |
mNo edit summary |
||
Line 51: | Line 51: | ||
|RETURN | |RETURN | ||
|} | |} | ||
|} | |} | ||
Revision as of 17:21, 4 December 2023
|
|
---|
raspi wifi to ethernet
- rc.local
- iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE
- iptables --append FORWARD --in-interface eth0 -j ACCEPT