三宫六院模拟人生4贴吧:linux如何设置共享上网?

来源:百度文库 编辑:高校问答 时间:2024/05/02 18:38:07
版本: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模块