贺叶霜

Results 11 comments of 贺叶霜

老楼的话能分到原生ipv6地址,但是只有/64,可以用relay模式: http://ict.jingyan.info/openwrt-%e7%94%a8odpcpd%e9%85%8d%e7%bd%aerelay-%e6%96%b9%e5%bc%8f-ipv6/

学校的ipv6还是很稳定的,路由器本身的地址没问题,就是relay服务(aka:odhcpd)时好时坏。 野路子解决办法法有两个: ``` ping -6 [路由器v6 IP] ``` 或者 ``` /etc/init.d/odhcpd restart 连打n次 ``` 2016年3月16日 16:28,"Blaok" [email protected]写道: > 现在紫荆也有原生IPv6地址了,不过还是NAT66稳定。当年折腾relay的时候用的还是BB,一直有问题,后来就一直NAT了,不知道CC怎么样。 > > — > You are receiving this because you commented....

我是在CC RC1和DD trunk下成功的,设备是newifi mini DHCP配置 ``` # /etc/config/dhcp: config dhcp 'lan' option interface 'lan' option start '100' option limit '150' option leasetime '12h' # option dhcpv6 'server' option ra 'relay'...

现在IPV6 NAT已经不再需要NAT66了,[这里](https://wiki.openwrt.org/doc/howto/ipv6.nat6)有一个HOWTO

@Blaok 哦(手动滑稽)

Hi @jacklanda ,thanks for using this theme and nice advices. However these days I have been stuck in the 996-working-hour hell, so it's hard for me to add new features,...

我之前是在`掌上生活`APP,搜索`账单服务`找到的

似乎是好了,我也不知道我干啥了

hmmm...过几天我试试吧...如果我还能看懂的话...

对于[wireguard](https://github.com/heiher/natmap/wiki/wireguard)方式,写了一个[PowerShell脚本](https://gist.github.com/heyeshuang/0054c73e3f2762f12a16165a5cfe8213#file-wg-ps1),能够自动修改配置文件的`Endpoint`并调用`wireguard.exe`进行连接。 使用方法: 1. 安装[wireguard-windows](https://github.com/WireGuard/wireguard-windows/blob/master/docs/enterprise.md),用客户端连接测试成功。 2. 在文件夹`C:\example`下建立[wg.ps1](https://gist.github.com/heyeshuang/0054c73e3f2762f12a16165a5cfe8213#file-wg-ps1)和[nat.conf](https://gist.github.com/heyeshuang/0054c73e3f2762f12a16165a5cfe8213#file-nat-conf),粘贴Gist内容。 3. 按照实际情况修改`nat.conf`,以及`wg.ps1`中`$Hostname`部分。`Endpoint`不必修改。 4. 以管理员身份运行`PowerShell` 5. 设置`ps1`脚本运行权限:`Set-ExecutionPolicy RemoteSigned`(或Unrestricted) 6. 启动Wireguard:`C:\example\wg.ps1 -up` 7. 停止Wireguard:`C:\example\wg.ps1 -down` 在Windows 11, Powershell 5.1.22621.963测试通过,也可以配合Windows下的[sudo](https://bjansen.github.io/scoop-apps/main/sudo/)使用。 另外,在Android下,也可以用termux运行[nm-echo.sh](https://gist.github.com/heyeshuang/0054c73e3f2762f12a16165a5cfe8213#file-nm-echo-sh)来获得IP地址,可以不必更换客户端。