View Single Post
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#24
big thank you dude!
NAT really working here!
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables --flush -t nat
iptables --table nat --append POSTROUTING --out-interface gprs0 -j MASQUERADE
iptables --append FORWARD --in-interface usb0 -j ACCEPT
and my N9 is usb internet router
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 3 Users Say Thank You to coderus For This Useful Post: