- 论坛徽章:
- 0
|
现在使用的是固定IP地址。。。。。
两条链路都为固定IP地址。
NAT为
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE
这是NAT表
root@open:/etc/init.d# iptables -t nat -vL
Chain PREROUTING (policy ACCEPT 3461 packets, 311K bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 33 packets, 2742 bytes)
pkts bytes target prot opt in out source destination
3409 304K MASQUERADE all -- any any 192.168.0.0/24 anywhere
Chain OUTPUT (policy ACCEPT 35 packets, 2821 bytes)
pkts bytes target prot opt in out source destination
我也是使用P2P软件测试的。。。。但都只走一个接口。。使用ifconfig 可以看到另一个接口没有流量变化。。。 |
|