Skip to content

Instantly share code, notes, and snippets.

@TzuChiehHung
Last active June 30, 2020 03:33
Show Gist options
  • Save TzuChiehHung/89e6de2ed8e9db18ee054ca93608bbd9 to your computer and use it in GitHub Desktop.
Save TzuChiehHung/89e6de2ed8e9db18ee054ca93608bbd9 to your computer and use it in GitHub Desktop.
[Raspberry Pi iptables setup] #rpi
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