Wednesday, July 24, 2019

DDWRT Stupid USB Tethering

DDWRT V3
WAN Set as auto

cd /lib/modules/4.4.89 
insmod usbnet.ko 
insmod cdc_ether.ko 
insmod rndis_host.ko 
ifconfig usb0 up 
udhcpc -i usb0

It should auto up and just need the following iptables
iptables --table nat --append POSTROUTING --out-interface usb0 -j MASQUERADE 
iptables --append FORWARD --in-interface br0 -j ACCEPT 

No comments: