I am so confused, how do I unlock my iptables? I don't know how to make sense! For some reason when I put an iptables rules it's supposed to show up in my iptables list right? I am not seeing any changes.
For example I type this
I end up getting this
&&& A guide I am following says to add this
But I am getting this in return!!
The guide I am following on youtube is called "How to setup Proxmox with Single Public IP and share with VMs | Proxmox Tutorial"
I am supposed to enter this for my network to work? How do I do that when iptables won't even show the first entry.
Please help, thanks.
For example I type this
Code:
iptables -A POSTROUTING -t nat -s 10.10.10.0/24 -j MASQUERADE
I end up getting this
Code:
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
&&& A guide I am following says to add this
Code:
iptables -A POSTROUTING -t nat -s ‘10.10.10.0/24’ -o vmbr0 -j MASQUERADE
But I am getting this in return!!
Code:
iptables v1.8.7 (legacy): invalid mask `24’' specified
Try `iptables -h' or 'iptables --help' for more information.
The guide I am following on youtube is called "How to setup Proxmox with Single Public IP and share with VMs | Proxmox Tutorial"
I am supposed to enter this for my network to work? How do I do that when iptables won't even show the first entry.
Code:
iptables -A POSTROUTING -t nat -s 10.10.10.0/24 -j MASQUERADE
iptables -A POSTROUTING -t nat -s ‘10.10.10.0/24’ -o vmbr0 -j MASQUERADE
iptables -D POSTROUTING -t nat -s ‘10.10.10.0/24’ -o vmbr0 -j MASQUERADE
Please help, thanks.