Last active
June 30, 2020 03:33
-
-
Save TzuChiehHung/89e6de2ed8e9db18ee054ca93608bbd9 to your computer and use it in GitHub Desktop.
[Raspberry Pi iptables setup] #rpi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo iptables -t nat -A POSTROUTING -o usb0 -s 192.168.0.0/24 -j SNAT --to-source 192.168.42.82 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment