192 |
- |
1 |
# VMware NAT configuration file
|
|
|
2 |
# Manual editing of this file is not recommended. Using UI is preferred.
|
|
|
3 |
|
|
|
4 |
[host]
|
|
|
5 |
|
|
|
6 |
# Use MacOS network virtualization API
|
|
|
7 |
useMacosVmnetVirtApi = 0
|
|
|
8 |
|
|
|
9 |
# NAT gateway address
|
|
|
10 |
ip = 192.168.218.2
|
|
|
11 |
netmask = 255.255.255.0
|
|
|
12 |
|
|
|
13 |
# VMnet device if not specified on command line
|
|
|
14 |
device = /dev/vmnet8
|
|
|
15 |
|
|
|
16 |
# Allow PORT/EPRT FTP commands (they need incoming TCP stream ...)
|
|
|
17 |
activeFTP = 1
|
|
|
18 |
|
|
|
19 |
# Allows the source to have any OUI. Turn this on if you change the OUI
|
|
|
20 |
# in the MAC address of your virtual machines.
|
|
|
21 |
allowAnyOUI = 1
|
|
|
22 |
|
|
|
23 |
# Controls if (TCP) connections should be reset when the adapter they are
|
|
|
24 |
# bound to goes down
|
|
|
25 |
resetConnectionOnLinkDown = 1
|
|
|
26 |
|
|
|
27 |
# Controls if (TCP) connection should be reset when guest packet's destination
|
|
|
28 |
# is NAT's IP address
|
|
|
29 |
resetConnectionOnDestLocalHost = 1
|
|
|
30 |
|
|
|
31 |
# Controls if enable nat ipv6
|
|
|
32 |
natIp6Enable = 0
|
|
|
33 |
|
|
|
34 |
# Controls if enable nat ipv6
|
|
|
35 |
natIp6Prefix = fd15:4ba5:5a2b:1008::/64
|
|
|
36 |
|
|
|
37 |
[tcp]
|
|
|
38 |
|
|
|
39 |
# Value of timeout in TCP TIME_WAIT state, in seconds
|
|
|
40 |
timeWaitTimeout = 30
|
|
|
41 |
|
|
|
42 |
[udp]
|
|
|
43 |
|
|
|
44 |
# Timeout in seconds. Dynamically-created UDP mappings will purged if
|
|
|
45 |
# idle for this duration of time 0 = no timeout, default = 60; real
|
|
|
46 |
# value might be up to 100% longer
|
|
|
47 |
timeout = 60
|
|
|
48 |
|
|
|
49 |
[netbios]
|
|
|
50 |
# Timeout for NBNS queries.
|
|
|
51 |
nbnsTimeout = 2
|
|
|
52 |
|
|
|
53 |
# Number of retries for each NBNS query.
|
|
|
54 |
nbnsRetries = 3
|
|
|
55 |
|
|
|
56 |
# Timeout for NBDS queries.
|
|
|
57 |
nbdsTimeout = 3
|
|
|
58 |
|
|
|
59 |
[incomingtcp]
|
|
|
60 |
|
|
|
61 |
# Use these with care - anyone can enter into your VM through these...
|
|
|
62 |
# The format and example are as follows:
|
|
|
63 |
#<external port number> = <VM's IP address>:<VM's port number>
|
|
|
64 |
#8080 = 172.16.3.128:80
|
|
|
65 |
|
|
|
66 |
[incomingudp]
|
|
|
67 |
|
|
|
68 |
# UDP port forwarding example
|
|
|
69 |
#6000 = 172.16.3.0:6001
|
|
|
70 |
|