So basicly when i run:
iptables -t nat -A POSTROUTING -o enp0s3 -j MASQUERADE
enp0s3 being my wan, it doesn’t give me any erros but when i run
it just shows that nothing is set (if the iptables were clear before using the maquarade setting but if any other setting was set it will display it as expected), every other iptables setting(such as port forwarding) works just not masquarade.
Running Debian 9.1 in a Virtual box VM with 2 NICs one nat one intnet with 2 other debian VMs (basicly trying to create a basic virtual router on debian) on the same intnet.
Any one know why that’s happening ? It has caused me a bit of a headache and googling didn’t help. I’m very new to iptables and would appricieate some help.