该文被密码保护。 阅读全文
posted @ 2018-01-09 20:13 PhoenixTree(梧桐树) 阅读(14) 评论(0) 推荐(0)
摘要: 1 ifconfig net-tools包 阅读全文
posted @ 2018-01-09 20:07 PhoenixTree(梧桐树) 阅读(275) 评论(0) 推荐(0)
摘要: 1 tun/tap驱动 1.1 网卡驱动 同tcp/ip协议栈打交道,接受和发送数据包 1.2 字符驱动 内核和用户态通过字符设备交换数据包。 2 tun虚拟网卡的创建 tunctl -t tun0 -u chao 为chao用户创建一个名字为tun0的虚拟网卡。 3 配置tun虚拟网卡的ip地址并 阅读全文
posted @ 2018-01-09 10:52 PhoenixTree(梧桐树) 阅读(1196) 评论(0) 推荐(0)