Ubuntu 12.04 AFTR 配置
来源:互联网 发布:软件测试 培训学校 编辑:程序博客网 时间:2024/05/17 04:34
今天终于配置好了AFTR,并且LAN PC能够直接上网了。我测试所用的软件包是AFTR软件包。
aftr.conf
---------------------------------------------------------
defmss on
deftoobig off
acl6 3003::/16
address endpoint 3003::3000
address icmp 192.18.0.2 用来上网的IP地址,要为此地址加上NAT
pool 192.18.0.2
---------------------------------------------------------
aftr-script中aftr_start函数
---------------------------------------------------------
aftr_start()
{
set -x
# bring up the tunnel interface
ip link set tun0 up
# assign addresses (required by some systems)
ip addr add 10.0.100.1 peer 10.0.100.2 dev tun0
#ip -6 addr add fe80::21e:90ff:fefc:e897/64 dev tun0
# add routes for all endpoint, pool, prr, and nonat addresses
ip route add 192.18.0.0/16 dev tun0
ip -6 route add 3003::/64 dev tun0
}
---------------------------------------------------------
- Ubuntu 12.04 AFTR 配置
- Ubuntu 12.04 配置指南
- Ubuntu 12.04 配置指南
- Ubuntu 12.04配置指南
- Ubuntu 12.04 配置指南
- ubuntu 12.04 samba 配置
- ubuntu 12.04 输入法配置
- Ubuntu 12.04 JDK配置
- ubuntu 12.04 配置指南
- Ubuntu 12.04 配置minicom
- ubuntu 12.04 配置telnet
- Ubuntu 12.04 配置指南
- Ubuntu 12.04的配置
- ubuntu 12.04 samba 配置
- Ubuntu 12.04 配置 VPN
- Ubuntu 12.04 配置记录
- Ubuntu 12.04配置SSH
- Ubuntu 12.04配置指南
- VS2010中VAssistX破解办法
- Apache Commons Configuration 读取配置信息
- 17 在一个字符串中找到第一个只出现一次的字符
- VS2012创建静态库(Win32)
- HDFS LocalResource
- Ubuntu 12.04 AFTR 配置
- Oracle中EXECUTE IMMEDIATE的使用技巧
- UINavigationController 直接返回到第一级目录
- Android再曝重大漏洞!请及时更新你的系统
- iOS 7.0 设置长文本UILabel高度
- 教育数据挖掘
- java笔记
- QTP资源
- KMP算法next数组的循环节问题