mhjdg 发表于 2009-5-5 22:11:14

Vyatta基础教程5.0.2版本

Vyatta基础教程5.0.2版本

1、设置内网地址
set interfaces ethernet eth0 address 192.168.0.253/24
2、用同样的方法设置外网地址
set interfaces ethernet eth1 address 222.88.140.165/28
3、设置网关,当然是外网的
set system gateway-address 222.88.140.166
4、设置转发源地址
set service nat rule 1 source address 192.168.0.0/24
5、设置转发出口
set service nat rule 1 outbount-inerface eth1
6、设置网络转换类型
set service nat rule 1 type masquerade
7、提交以上更改
commit
==============================================
教程完毕,后续的步骤请参考我以前的教程
http://www.yioxi.cn/article.asp?id=11

lys76 发表于 2009-5-5 23:09:35

呵呵,不错哈。能不能共享哈你的限速脚本啊,这个偶没研究走!

cuiliang921 发表于 2009-8-4 16:23:05

谢谢!分享!

hgzlcy 发表于 2009-11-27 09:21:05

6.0 的a版已经出来了
页: [1]
查看完整版本: Vyatta基础教程5.0.2版本