Skip to content

Instantly share code, notes, and snippets.

@zhantong
zhantong / azuredeploy.json
Created August 14, 2018 12:41
Azure VM with IPv6 by load balancer
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"adminUsername": {
"type": "string",
"metadata": {
"description": "Admin username"
}
},
@zhantong
zhantong / padavan_ipv6.sh
Created December 27, 2017 13:29
斐讯K2 Padavan固件IPv6设置
# http://www.right.com.cn/forum/thread-196321-1-1.html
modprobe ip6table_mangle
modprobe ebtable_broute
ebtables -t broute -A BROUTING -p ! ipv6 -j DROP -i eth2.2
brctl addif br0 eth2.2
@zhantong
zhantong / dd-wrt_view_port_speed.sh
Created December 27, 2017 01:53
DD-WRT查看各端口链接速率(100M/1000M)
swconfig dev eth0 show | grep link