瀹剁敤绾у埆璺敱鍣紝瀵?v6 鏀寔濡備綍锛?mesh 鐨勬敮鎸佸浣曪紵 AP+AC 鐨勬敮鎸佸浣曪紵
浣嗘槸鎬?AC+AP 妯″紡涓嶉€忕┛
@cpstar 璺敱鍣ㄩ槻鐏鍗充娇鍏ㄥ紑濞佽儊涔熸病鏈?IPv4 閭d箞澶с€係LAAC+闅愮鎵╁睍鐢熸垚鐨?IP 鍦板潃鍑犱箮鏃犳硶琚毚鍔涙壂鎻忋€佸彧浼氳鏈湴鎴栦富鍔ㄨ闂殑澶栭儴缃戠珯鑾风煡锛堝惈涓棿缁忚繃鐨?ISP 锛夛紝鍐嶅姞涓婄幇浠g粓绔熀鏈兘鏈夊畬澶囩殑闃茬伀澧欙紝姘戠敤鐨勫畨鍏ㄦ€у凡缁忚冻澶熶簡銆?/div>
@Kowloon 鎻愬嚭浜嗕竴绉嶄粠澶栭儴鍙戠幇 SLAAC 鍦板潃缃戝叧璁惧鐨勬柟娉曘€傝繖鏍风殑璇濊繍琛屽湪缃戝叧鐨勯珮鏉冮檺缃戠粶鏈嶅姟搴旇鑷冲皯婊¤冻 鏈?v6 鐨勫唴 /澶栭儴绔彛鎷︽埅銆佷笉鐩戝惉 IPv6 銆佸己韬唤楠岃瘉 涓殑鑷冲皯涓€涓€?br />
鑷充簬鍐呯綉鐨?SLAAC 璁惧锛屾殏鏈彂鐜版槑鏄剧殑鍏綉鏆撮湶椋庨櫓銆?/div>
::1 闂鍙槸鎬濈淮鎯€э紝鐩稿浜庢煇浜涙湅鍙嬭鐨?ipv6 鍏綉鍦板潃绻佸锛屾壂鎻忛毦鐨勮娉曪紝涓嶆槸璇翠竴瀹氭湁椋庨櫓銆?br />
浠讳綍绯荤粺鐖嗙牬閮芥槸鍩轰簬 0day 鎴栬€呭急瀵嗙爜锛屼笉瀹夊叏鎴栬€呬笉褰撹缃鑷寸殑銆?br />
姣斿 openwrt 瀹樻柟鍥轰欢涓紝榛樿鎯呭喌涓嬫槸锛寃eb 鐨?80 鍜?443 锛堝惎鐢ㄧ殑璇濓級鏄洃鍚簬 0.0.0.0:80 / 0.0.0.0:443,V6 鏄洃鍚?[::]:80 / [::]:443锛屽彧鏄竴绉嶆€濈淮鎯€э紝鎴栬€呰瀹夊叏涓庢槗鐢ㄦ槸鐩稿鐨勶紝杩欎箞璁剧疆鍙槸闃叉闄や簡鏅€氭儏鍐垫槸鐢ㄩ粯璁ょ殑 3 绫诲湴鍧€ 192.168.1.1 璁块棶锛屾湰鏈?127.0.0.1 鐨勮闂紝杩樻湁 wan 鍙h闂紝杩欐牱閰嶇疆鏄柟渚夸娇鐢紝闄ら潪涓汉瀵硅繖涓湁瀹夊叏瑕佹眰锛屽惁鍒欐湁浜涙湇鍔¢兘鏄洃鍚叏绔彛鐨勩€?br />
鍏充簬璺敱鏈韩 LAN 鍙e湴鍧€锛岀敤 ifconfig 鑳芥煡鍒帮紝瀹為檯涓婁袱涓湴鍧€鎯呭喌閮芥槸鏈夌殑锛堜釜浜哄疄娴嬶級锛?br />
1.璺敱鎷ㄥ彿锛屽厜鐚ˉ鎺ワ紝骞夸笢鐢典俊锛屽甫 V4 鍏綉锛孡AN 鍙?V6 鍦板潃涓哄叏鐞冨湴鍧€锛?鍓嶇紑::1″锛岃矾鐢?ASUS AC1900P 銆?br />2.璺敱鎷ㄥ彿锛屽厜鐚ˉ鎺ワ紝骞夸笢绉诲姩锛孷4 鍐呯綉锛孡AN 鍙?V6 鍦板潃涓哄叏鐞冨湴鍧€锛孍UI64锛岃矾鐢?ASUS AC1200P 銆?br />
绉诲姩鐨?WAN 鍙?LAN 鍙g綉娈?2409:abcd 鏄浉鍚岀殑銆?br />
涔熷彲鑳芥槸鍥轰欢鍘熷洜瀵艰嚧锛屼絾鐩墠涓ゅ湴璁惧鏃犳硶浜ゆ崲锛屾墍浠ユ病娉曟祴璇曘€?br />
涓嶈繃濡備綘鎵€璇达紝鏃犺鍝釜鍦板潃锛屼竴鑸父瑙勭殑璁惧閮戒細绂佹杩炴帴鑷韩锛屼絾杩欎釜鍙兘鍙槸 bug锛屽洜涓鸿繖涓湪鑰嶅ぇ鐗岀殑 asus 瀹樻柟鍥轰欢涓紝鏃㈢劧寮€鍚?ssh 鐨?WAN+LAN 璁块棶锛屼负浠€涔堝氨浼氱洃鍚琜::]:22锛屼絾濂囪懇鐨勬槸锛寁4 鐨勫锛屼篃灏辨槸 iptables 寮€浜嗚浆鍙戝埌鑷韩锛岃€?ip6tables锛屼篃灏辨槸 v6 鐨勫锛屽苟娌℃湁寮€鍚€傜垎鐮磋 1.2.3 閮芥弧瓒虫墠鏈夊彲鑳斤紝鎵€浠ュ儚绉诲姩锛?0锛?43 閮藉皝鏉€浜嗭紝骞垮窞鍗楁矙鐢典俊甯?v4 鍏綉鐨?443 娌℃湁绂侊紝绂佷簡 80锛屽唴缃?v4 鐨勫皝浜?v6 鐨?80锛?43.
鎵€浠ヨ杩欎釜鍙槸瀛樺湪闅愭偅锛屽鏋滅敤鍏朵粬涓嶅紑婧愬浐浠剁殑锛屽張娌℃湁寮€鏀?ssh 杩涘幓锛屼綘瀹為檯涓婁篃涓嶇煡閬撳紑浜嗕粈涔堢鍙o紝姣斿涓€鑸殑瀹剁敤璺敱銆?br />
::1+鑾悕鍏跺鐨勭鍙?鍏抽棴鐨?ipv6 澧欙紝閭f槸浠€涔堟牱瀛愩€傚彟澶栧儚 openwrt 榛樿鏄笉绂?ping 鐨勶紝::1 鍙槸鏇村鏄撴壘鍒版埧闂紝鎬庝箞杩涘眿锛屽氨鐪嬫椂鏁堜簡銆傚儚 v4 鍏綉鐨勫箍涓滅數淇★紝47锛?5 寮哄埗鏂嚎涓€娆★紝瑕佹槸鍐呯綉 v4锛屼竴鍛ㄤ笉鎹?v6 鍦板潃鐨勯偅绉嶃€?br />
鑲栫敵鍏嬪彧鏄湁瓒冲鐨勬椂闂?鍘嬪姏銆?br />
鍙﹀锛屾垜涓汉杩樻槸鍝釜瑙傜偣锛岃櫧鐒堕€昏緫涓婂唴缃戣澶囬兘鑾峰緱鐨勫叏鐞冪殑 ipv6 鍦板潃锛岃嚦灏戜粠閫昏緫閾捐矾涓婅锛岃繕鏄€氳繃 LAN—銆?WAN–銆?internet 鐨勶紝鎵€浠?ipv6 澧欏浜庡紑鏀惧唴缃戣澶囩敤鐨勬槸 FORWARD =銆? 灏辨槸淇楃О鐨勮浆鍙戯紒
寮€澧欏氨鑳介伩鍏嶅緢澶氫笉蹇呰鐨勯殣鎮o紝浠呮銆?br />
濡傛灉鏄厜鐚嫧鍙凤紝瀹為檯涓婂摢涓?TR69 鐨勫悓鍩庣綉涓嶆槸涓€涓法澶ф棤姣旂殑婕忔礊锛?/div>