VirtualBox

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

最後變更 在這個檔案從105335是 105335,由 vboxsync 提交於 8 月 前

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

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.0 KB
 
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>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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