Linux/iptables
< Linux
Tables | Chains |
---|---|
FILTER |
|
NAT |
|
MANGLE
(modify ip headers) |
|
RAW
(connection tracking) |
|
SECURITY |
Targets |
---|
REJECT |
DROP |
ACCEPT |
RETURN |
raspi wifi to ethernet
- rc.local
- iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE
- iptables --append FORWARD --in-interface eth0 -j ACCEPT