nat.conf
# Linux NAT configuration file
[host]
# NAT gateway address
ip = 172.16.12.2
netmask = 255.255.255.0
# VMnet device if not specified on command line
device = /dev/vmnet8
# Allow PORT/EPRT FTP commands (they need incoming TCP stream ...)
activeFTP = 1
# Allows the source to have any OUI. Turn this one if you change the OUI
# in the MAC address of your virtual machines.
allowAnyOUI = 1
[udp]
# Timeout in seconds, 0 = no timeout, default = 60; real value might
# be up to 100% longer
timeout = 60
[incomingudp]
[incomingtcp]
10000 = 172.16.12.10:80
10001 = 172.16.12.11:80
10002 = 172.16.12.12:80
10003 = 172.16.12.13:80
10004 = 172.16.12.14:80
10005 = 172.16.12.15:80
10006 = 172.16.12.16:80
10007 = 172.16.12.17:80
20000 = 172.16.12.10:22
20001 = 172.16.12.11:22
20002 = 172.16.12.12:22
20003 = 172.16.12.13:22
20004 = 172.16.12.14:22
20005 = 172.16.12.15:22
20006 = 172.16.12.16:22
20007 = 172.16.12.17:22
then
/usr/bin/vmware-networks --stop
/usr/bin/vmware-networks --start
沒有留言:
張貼留言