wget myip
wget -qO- http://ipecho.net/plain ; echo
uci set wireless.@wifi-iface[1].disabled=1
uci set wireless.radio0.disabled=1
uci set network.wan.dns='37.235.1.174 208.67.220.220'
uci commit
wget -qO- http://ipecho.net/plain ; echo
uci set wireless.@wifi-iface[1].disabled=1
uci set wireless.radio0.disabled=1
uci set network.wan.dns='37.235.1.174 208.67.220.220'
uci commit
iptables -t nat -A PREROUTING -i ethX -p udp --dport 53 -j DNAT --to $(get lan_ipaddr)
iptables -t nat -A PREROUTING -i ethX -p tcp --dport 53 -j DNAT --to $(get lan_ipaddr)
iptables -t nat -L -v -n # shows nat table
melhor:
iptables -t nat -A PREROUTING -s 10.0.100.0/24 -p udp --dport 53 -j DNAT --to 9.9.9.9:53
iptables -t nat -A PREROUTING -s 10.0.100.0/24 -p tcp --dport 53 -j DNAT --to 9.9.9.9:53
iptables -t mangle -A PREROUTING -j TTL --ttl-inc 2
http://mylinuxbook.com/utilizing-iptables-with-linux-for-network-packet…
# wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/base/libopenssl_1.0.1i-1_ar71xx.ipk
# opkg install libopenssl_1.0.1i-1_ar71xx.ipk
e o resultado deve ser:
# opkg list-installed | grep openssl
libopenssl - 1.0.1h-1