baptx

internet_usb_send.sh

Jan 3rd, 2018
116
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. echo 1 > /proc/sys/net/ipv4/ip_forward
  2. /sbin/iptables -t nat -A POSTROUTING -o rmnet0 -j MASQUERADE
  3. /sbin/iptables -A FORWARD -i rmnet0 -o rndis0 -m state --state RELATED,ESTABLISHED -j ACCEPT
  4. /sbin/iptables -A FORWARD -i rndis0 -o rmnet0 -j ACCEPT
RAW Paste Data