› Forums › Network Management › Networking › VLAN to VLAN blocked routing not working (SOLVED) › Reply To: VLAN to VLAN blocked routing not working (SOLVED)
I put these commands in the “Pre-Boot” section of the script Editor.
iptables -t nat -l 1 POSTROUTING –src 172.30.0.0/16 -o eth1 vlan 20 -j MASQUERADE
iptables -t nat -l 2 POSTROUTING –src 192.168.1.0/24 -o eth1 vlan 30 -j MASQUERADE
iptables -t nat -l 3 POSTROUTING –src 152.93.0.0/16 -o eth1 vlan 70 -j MASQUERADE
We are getting the follow errors with the above commands.
iptables v1.4.0: Unknown arg _-l’
Try _iptables -h’ or ‘iptables –help’ for more information.
iptables v1.4.0: Unknown arg _-l’
Try _iptables -h’ or ‘iptables –help’ for more information.
iptables v1.4.0: Unknown arg _-l’
Try _iptables -h’ or ‘iptables –help’ for more information.[Pre Boot]: ERROR (2)
Thoughts?