-
Notifications
You must be signed in to change notification settings - Fork 7
Examples
Shreyas Atre edited this page Aug 21, 2021
·
3 revisions
- Note: You'll have to configure your host Following is an example script:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables --table nat --append POSTROUTING --out-interface wlp4s0 -j MASQUERADE
iptables --append FORWARD --in-interface wlp4s0 -j ACCEPT