summaryrefslogtreecommitdiffstats
path: root/virtualization/templates/nat.conf
blob: 07d684f099508b53079f7d923668ee36ec2f0037 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Linux NAT configuration file
[host]
# NAT gateway address
ip = 192.168.100.2
netmask = 255.255.255.0
# or ip = 172.16.184.2/24

# enable configuration; disabled by default for security reasons
#configport = 33445

# 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

[incomingtcp]
# Use these with care - anyone can enter into your VM through these...

# FTP (both active and passive FTP is always enabled)
#      ftp localhost 8887
#8887 = 172.16.184.128:21

# WEB (make sure that if you are using named webhosting, names point to
#     your host, not to guest... And if you are forwarding port other
#     than 80 make sure that your server copes with mismatched port 
#     number in Host: header)
#      lynx http://localhost:8888
#8888 = 172.16.184.128:80

# SSH
#      ssh -p 8889 root@localhost
#8889 = 172.16.184.128:22

[incomingudp]
# UDP port forwarding example
#6000 = 172.16.184.128:6001