Revision c54ed5bc qemu-options.hx
b/qemu-options.hx | ||
---|---|---|
1115 | 1115 |
"-net nic[,vlan=n][,macaddr=mac][,model=type][,name=str][,addr=str][,vectors=v]\n" |
1116 | 1116 |
" create a new Network Interface Card and connect it to VLAN 'n'\n" |
1117 | 1117 |
#ifdef CONFIG_SLIRP |
1118 |
"-net user[,vlan=n][,name=str][,net=addr[/mask]][,host=addr][,restrict=y|n]\n"
|
|
1118 |
"-net user[,vlan=n][,name=str][,net=addr[/mask]][,host=addr][,restrict=on|off]\n"
|
|
1119 | 1119 |
" [,hostname=host][,dhcpstart=addr][,dns=addr][,tftp=dir][,bootfile=f]\n" |
1120 | 1120 |
" [,hostfwd=rule][,guestfwd=rule]" |
1121 | 1121 |
#ifndef _WIN32 |
... | ... | |
1208 | 1208 |
Specify the guest-visible address of the host. Default is the 2nd IP in the |
1209 | 1209 |
guest network, i.e. x.x.x.2. |
1210 | 1210 |
|
1211 |
@item restrict=y|yes|n|no
|
|
1211 |
@item restrict=on|off
|
|
1212 | 1212 |
If this option is enabled, the guest will be isolated, i.e. it will not be |
1213 | 1213 |
able to contact the host and no guest IP packets will be routed over the host |
1214 | 1214 |
to the outside. This option does not affect any explicitly set forwarding rules. |
Also available in: Unified diff