Hi, if your setup looks similar to this:
You can read this Install Nethserver as AD with linux and windows clients in the section where the internet interface (RED) is configured.
Also the same is found here for a more quick information, go to point 6:
http://wiki.nethserver.org/doku.php?id=howto:create_a_nethserver_virtualbox_instance