VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/nat-bind-sockets.dita@ 107390

Last change on this file since 107390 was 105335, checked in by vboxsync, 7 months ago

FE/Qt: bugref:10705. Merging r6149 from doc team's repo.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 996 bytes
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
3<topic xml:lang="en-us" id="nat-bind-sockets">
4 <title>Binding NAT Sockets to a Specific Interface</title>
5
6 <body>
7 <p>By default, <ph conkeyref="vbox-conkeyref-phrases/product-name"/>'s NAT engine will route TCP/IP packets through
8 the default interface assigned by the host's TCP/IP stack. The technical reason for this is that the NAT engine
9 uses sockets for communication. If you want to change this behavior, you can tell the NAT engine to bind to a
10 particular IP address instead. For example, use the following command: </p>
11 <pre xml:space="preserve">$ VBoxManage modifyvm <varname>VM-name</varname> \
12--natbindip1 "10.45.0.2"</pre>
13 <p>After this, all outgoing traffic will be sent through the interface with the IP address 10.45.0.2. Ensure that
14 this interface is up and running before changing the NAT bind address. </p>
15 </body>
16
17</topic>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette