Page 1 of 1

Delete NAT network forwarding rule

Posted: 15. May 2017, 10:23
by futur3
Hi,

I'm wondering how to delete a forwarding rule from a NAT network. I've added it using "vboxmanage natnetwork" and the "port-forward-4" parameter, but I'm afraid there's no way to delete it as "vboxmanage natnetwork remove" seems not the way to delete anything but the complete network, and I can't find the way to delete a rule using "vboxmanage natnetwok modify". So my question here is: can a nat network forwarding rule be deleted from CLI?

Thanks.

Re: Delete NAT network forwarding rule

Posted: 15. May 2017, 10:33
by socratis
From the user manual, ch. 6.4 Network Address Translation Service:
VBoxManage natnetwork modify --netname <name> --port-forward-4 delete <blahblah>
I'm sure there's more where that came from. Try a searchable PDF version of the User Manual.