Ubuntu iptables -t nat -A POUSTROUTING
[@1439441942 ]# -F
[root@1439441942 root]# iptables -F -t nat
[root@1439441942 root]# iptables -t nat -A POUSTROUTING -s 10.100.26.0 /24 -j MA
SQUERANDE ech0 1 > /proc/sys/net/ipv4/ip_forward
Try `iptables -h' or 'iptables --help' for more information.
[root@1439441942 root]# iptables -t nat -A POUSTROUTING -s 10.100.26.0 /24 -j MA
SQUERANDE
Bad argument `/24'
Try `iptables -h' or 'iptables --help' for more information.
[root@1439441942 root]# iptables -t nat -A POUSTROUTING -s 10.100.26.0/24 -j MAS
QUERANDE
iptables v1.2.7a: <b style="color:black;background-color:#ffff66">Couldn't</b> <b style="color:black;background-color:#a0ffff">load</b> <b style="color:black;background-color:#99ff99">target</b> `MASQUERANDE':/lib/iptables/libipt_MASQUE
RANDE.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
[root@1439441942 root]# iptables -t nat -A POUSTROUTING -s 10.100.26.0/24 -j MAS
QUERANDE ech0 1 > /proc/sys/net/ipv4/ip_forward
Try `iptables -h' or 'iptables --help' for more information.
[root@1439441942 root]#
[root@1439441942 root]#
[root@1439441942 root]# iptables -t nat -A POUSTROUTING -s 10.100.26.0/24 -j MASQUERANDE
iptables v1.2.7a: <b style="color:black;background-color:#ffff66">Couldn't</b> <b style="color:black;background-color:#a0ffff">load</b> <b style="color:black;background-color:#99ff99">target</b> `MASQUERANDE':/lib/iptables/libipt_MASQUERANDE.so: cannot open shared object file: No
such file or directory
Try `iptables -h' or 'iptables --help' for more information.
[root@1439441942 root]# iptables -t nat -A POUSTROUTING -s 10.100.26.0/24 -j MASQUERADE
iptables: No chain/<b style="color:black;background-color:#99ff99">target</b>/match by that name
[root@1439441942 root]# iptables -t nat -A POUSTROUTING -s 10.100.26.0/24 -j MASQUERADE ech0 1 > /proc/sys/net/ipv4/ip_forward
Try `iptables -h' or 'iptables --help' for more information.
[root@1439441942 root]# iptables -t nat -A POUSTROUTING -s 10.100.26.0/24 -j MASQUERADE
iptables: No chain/<b style="color:black;background-color:#99ff99">target</b>/match by that name
[root@1439441942 root]#
exact acceasi eroare iptables: No chain/<b style="color:black;background-color:#99ff99">target</b>/match by that name
root@ubuntu-T61:~# iptables -t nat -A POSTROUTING -s 192.168.10.0/24 -o wan0 -j MASQUERADE
root@ubuntu-T61:~#
- 最新评论