Link it smart 7688 MEETUP - Bangkok

19

Transcript of Link it smart 7688 MEETUP - Bangkok

OpenWrt

STA + AP

config wifi-iface 'sta' option device 'radio0' option mode 'sta' option network 'wan' option ifname 'apcli0' option led 'mediatek:orange:wifi' option encryption 'psk2' option ssid '...@ Pinn Creative Space' option key '@Pinnqwerty'

option disabled '1'

uci

uci set wireless.ap.ssid='NAT.WRW'

uci commit

/sbin/uci set wireless.sta.disabled='0' /sbin/uci commit /etc/init.d/network restart

/sbin/uci set wireless.sta.disabled='1' /sbin/uci commit

sshtunnel

ssh -R 9000:localhost:3000 [email protected]

http://blog.trackets.com/2014/05/17/ssh-tunnel-local-and-remote-port-forwarding-explained-with-examples.html

/etc/confing/sshtunnel