VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/nat-adv-alias.dita@ 107390

Last change on this file since 107390 was 105335, checked in by vboxsync, 10 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: 1.0 KB
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-adv-alias">
4 <title>Configuring Aliasing of the NAT Engine</title>
5
6 <body>
7 <p>By default, the NAT core uses aliasing and uses random ports when generating an alias for a connection. This
8 works well for the most protocols like SSH, FTP and so on. Though some protocols might need a more transparent
9 behavior or may depend on the real port number the packet was sent from. You can change the NAT mode by using the
10 following commands: </p>
11 <pre xml:space="preserve">$ VBoxManage modifyvm <varname>VM-name</varname> \
12--nataliasmode1 proxyonly</pre>
13 <pre xml:space="preserve">$ VBoxManage modifyvm "Linux Guest" --nataliasmode1 sameports</pre>
14 <p>The first example disables aliasing and switches NAT into transparent mode, the second example enforces
15 preserving of port values. These modes can be combined if necessary. </p>
16 </body>
17
18</topic>
Note: See TracBrowser for help on using the repository browser.

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