露齿邦:linux如何设置共享上网?

来源:百度文库 编辑:中科新闻网 时间:2024/04/29 20:43:51
版本:redhat 7.0
[root@localhost /etc]# iptables -t nat -I POSTROUTING -s 192.168.0.1/24 -j SNAT --to xxx.xxx.xxx.xxx
iptables v1.1.1: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
怎么老是出这个提示,究竟问题出在哪???

modprobe iptable_nat
启动nat模块