2014-03-03 00:24:26 +04:00
|
|
|
# slirp config
|
|
|
|
# The line above is mandatory
|
|
|
|
|
2014-03-04 22:58:51 +04:00
|
|
|
# Supported options:
|
|
|
|
#
|
|
|
|
# RESTRICTED if set to 1, only built-in services are available
|
|
|
|
# NET base IP address of the virtual network
|
|
|
|
# MASK netmask of the virtual network
|
|
|
|
# HOST IP address of the DHCP and TFTP server
|
|
|
|
# HOSTNAME DHCP client hostname
|
|
|
|
# DHCPSTART start address of DHCP pool
|
|
|
|
# DNS IP address of the virtual DNS server
|
|
|
|
# BOOTFILE boot filename returned by DHCP
|
2014-03-09 20:41:36 +04:00
|
|
|
# DNSSEARCH comma-separated list of DNS suffixes to search (DHCP extension)
|
2014-03-20 22:02:44 +04:00
|
|
|
# SMB_EXPORT absolute path to the shared folder (non-Windows SMB support)
|
2014-03-21 22:47:14 +04:00
|
|
|
# SMB_SRV alternative IP address of the SMB server (default is 10.0.2.4)
|
2014-04-18 13:27:48 +04:00
|
|
|
# HOSTFWD map guest port to host port for host-to-guest access
|
|
|
|
# (format: protocol:hostaddr:hostport-guestaddr:guestport)
|
2014-03-04 22:58:51 +04:00
|
|
|
|
2014-03-20 22:02:44 +04:00
|
|
|
# This is the default (classic slirp) setup
|
2014-03-03 00:24:26 +04:00
|
|
|
# restricted = 0
|
|
|
|
# net = 10.0.2.0
|
|
|
|
# mask = 255.255.255.0
|
|
|
|
# host = 10.0.2.2
|
2014-03-04 22:58:51 +04:00
|
|
|
# dhcpstart = 10.0.2.15
|
2014-03-03 00:24:26 +04:00
|
|
|
# dns = 10.0.2.3
|
|
|
|
|
|
|
|
# This is the vnet setup
|
2014-03-04 22:58:51 +04:00
|
|
|
# restricted = 1
|
|
|
|
# net = 192.168.10.0
|
|
|
|
# mask = 255.255.255.0
|
|
|
|
# host = 192.168.10.1
|
2020-06-04 19:08:03 +03:00
|
|
|
# dhcpstart = 192.168.10.15
|
|
|
|
# dns = 192.168.10.2
|
2014-03-04 22:58:51 +04:00
|
|
|
# bootfile = pxelinux.0
|
2014-04-18 13:27:48 +04:00
|
|
|
|
|
|
|
# Host forwarding example (access guest SSH server from host port 12345)
|
|
|
|
# hostfwd = tcp::12345-:22
|
2020-05-19 20:55:15 +03:00
|
|
|
|
|
|
|
# Enable packet logging in text format (similar to vnet)
|
|
|
|
# pktlog = slirp-pktlog.txt
|