mirror of
https://github.com/86Box/docs.git
synced 2026-02-21 17:15:33 -07:00
Changes to network page
This commit is contained in:
@@ -50,7 +50,7 @@ The following advanced features can be accessed by directly editing the virtual
|
||||
MAC address
|
||||
^^^^^^^^^^^
|
||||
|
||||
The MAC address used by each emulated network card is stored in its respective configuration file section. Only the suffix (last three octets) of the MAC address is stored; the prefix (first three octets) will always be the card manufacturer's `OUI <https://en.wikipedia.org/wiki/Organizationally_unique_identifier>`_, such as 00:E0:4C for Realtek.
|
||||
All emulated network cards store their MAC address in the ``mac`` directive of the card's configuration file section. Only the suffix (last three octets) of the MAC address is stored; the prefix (first three octets) will always be the card manufacturer's `OUI <https://en.wikipedia.org/wiki/Organizationally_unique_identifier>`_, such as 00:E0:4C for Realtek.
|
||||
|
||||
.. rubric:: Example: MAC address 00:E0:4C:35:F4:C2 for the Realtek RTL8029AS
|
||||
|
||||
@@ -64,11 +64,11 @@ SLiRP port forwarding
|
||||
|
||||
Port forwarding allows the host and other devices on its network to access TCP and UDP servers running on the emulated machine. This feature is configured through the ``[SLiRP Port Forwarding]`` section of the configuration file.
|
||||
|
||||
Port forwards are numbered starting from zero. The following configuration directives are available under the ``[SLiRP Port Forwarding]`` section (assuming port forward number 0):
|
||||
Each port forward must be assigned a number, starting at 0 and counting up (skipping a number will result in all subsequent port forwards being ignored), which replaces ``X`` on the following directives:
|
||||
|
||||
* ``0_udp``: If this directive is missing or set to 0, forward a TCP port. If set to 1, forward an UDP port.
|
||||
* ``0_from``: Port number on the host.
|
||||
* ``0_to``: Port number on the emulated machine. If this directive is missing, use the same port number as the host.
|
||||
* ``X_udp``: If this directive is missing or set to 0, forward a TCP port. If set to 1, forward an UDP port.
|
||||
* ``X_from``: Port number on the host.
|
||||
* ``X_to``: Port number on the emulated machine. If this directive is missing, use the same port number as the host.
|
||||
|
||||
The host can access forwarded ports through 127.0.0.1 or its own IP address, while other devices on the network can access them through the host's IP address.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user