Delete NAT network forwarding rule

This is for discussing general topics about how to use VirtualBox.
Post Reply
futur3
Posts: 1
Joined: 15. May 2017, 09:57

Delete NAT network forwarding rule

Post 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.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Delete NAT network forwarding rule

Post 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.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply