clarify bridging for Wi-Fi

This commit is contained in:
Sergio R. Caprile committed 2025-06-11 09:31:24 -03:00
1 parent 9411f1c7b6
commit b0d0fbfd9f
2 files changed
+25 -8

No files matched your search

+8 -4
View File
@@ -81,7 +81,7 @@ $ sudo ip link set my0 up
$ sudo ip link set my1 up
```
In some systems, like for example RHEL7, _name_ is mandatory; in others you might need not to add it, that is why we represented it here using square brackets.
In some systems, like for example RHEL7, _name_ is mandatory; in others you might not need to add it, that is why we represented it here using square brackets.
### Use a virtual interface
@@ -165,7 +165,7 @@ We will attach one end of the virtual interface to a bridge, which will also be
└──────┼───────────┼───────────┼──────┘
│ │ │
│
Ethernet [WiFi]
Ethernet
│ Local LAN 10.1.0.x
│ DHCP server, router
▼
@@ -174,6 +174,8 @@ We will attach one end of the virtual interface to a bridge, which will also be
If you have _Docker_ running, it may introduce firewall rules that will disrupt your bridging.
Bridging usually does not work for Wi-Fi, see [this](../tap-driver/README.md#appendix-wi-fi)
### Forward/Masquerade
Once you have your virtual interface up and running with an IP address, you can use your Linux to NAT and forward Mongoose traffic to another interface, for example the one that connects you to the Internet. In this case, Mongoose will have access to the Internet and will also be reachable from your own workstation; but not from any other hosts in your local network (if there is one). You can use this setup with a direct connection to the Internet or being part of a network, when you want to isolate Mongoose from the rest of your network.
@@ -206,7 +208,7 @@ Once you have your virtual interface up and running with an IP address, you can
└────┬────┘
│
│
Ethernet
Ethernet [Wi-Fi]
│
▼
Internet
@@ -235,9 +237,11 @@ You can also use this setup if your NIC is part of a bridge (for example: you ha
└──────┼───────────┼───────────┼──────┘
│ │ │
│
Ethernet [WiFi]
Ethernet
│ Local LAN 10.1.0.x
│ DHCP server, router
▼
Internet
```
Bridging usually does not work for Wi-Fi, see [this](../tap-driver/README.md#appendix-wi-fi)