SLIRP: Enrich help info to clarify NAT option parameters

This commit is contained in:
Mark Pizzolato 2019-01-22 11:18:04 -08:00
parent cb9876ce65
commit b57b1b99ba

View file

@ -414,12 +414,16 @@ fprintf (st, "%s",
" DNSSEARCH=domain{:domain{:domain}} specifies DNS Domains search suffixes\n" " DNSSEARCH=domain{:domain{:domain}} specifies DNS Domains search suffixes\n"
" GATEWAY=host_ipaddress{/masklen} specifies LAN gateway IP address\n" " GATEWAY=host_ipaddress{/masklen} specifies LAN gateway IP address\n"
" NETWORK=network_ipaddress{/masklen} specifies LAN network address\n" " NETWORK=network_ipaddress{/masklen} specifies LAN network address\n"
" UDP=port:address:internal-port maps host UDP port to guest port\n" " UDP=port:address:address's-port maps host UDP port to guest port\n"
" TCP=port:address:internal-port maps host TCP port to guest port\n" " TCP=port:address:address's-port maps host TCP port to guest port\n"
" NODHCP disables DHCP server\n" " NODHCP disables DHCP server\n\n"
"Default NAT Options: GATEWAY=10.0.2.2, masklen=24(netmask is 255.255.255.0)\n" "Default NAT Options: GATEWAY=10.0.2.2, masklen=24(netmask is 255.255.255.0)\n"
" DHCP=10.0.2.15, NAMESERVER=10.0.2.3\n" " DHCP=10.0.2.15, NAMESERVER=10.0.2.3\n"
" Nameserver defaults to proxy traffic to host system's active nameserver\n\n" " Nameserver defaults to proxy traffic to host system's active nameserver\n\n"
"The 'address' field in the UDP and TCP port mappings are the simulated\n"
"(guest) system's IP address which, if DHCP allocated would default to\n"
"10.0.2.15 or could be statically configured to any address including\n"
"10.0.2.4 thru 10.0.2.14.\n\n"
"NAT limitations\n\n" "NAT limitations\n\n"
"There are four limitations of NAT mode which users should be aware of:\n\n" "There are four limitations of NAT mode which users should be aware of:\n\n"
" 1) ICMP protocol limitations:\n" " 1) ICMP protocol limitations:\n"