Replies: 3 comments
-
|
You could do this with a VPN (e.g. WireGuard from macOS to OrbStack), or if you remove macOS' automatically-added pf rules that filter bridge traffic by destination IP, you could add a default route via the machine/container IP on macOS. |
Beta Was this translation helpful? Give feedback.
-
|
I recently found out how to bypass the vmnet silent foltering that MacOS does via creation of two fake ethernet devices or "feth" devices which allows me to use Parallels Desktop to run a guest linux router that the host MacOS can then use as a gateway. However, I'm not sure how OrbStack networking works. It seems to use something equivalent to a "Shared Network" i.e. requires the host OS to have internet shard to the guest VM/container as a virtual routed gateway. To get the opposite to work in PD, I have to use host-only networking (let's call this device bridge0) and two fake ethernet devices feth0 and feth1 with feth1 bridged to bridge0 and a peer of feth0 which is setup to use the same subnet as bridge0. This bypasses Apple's mysterious packet filtering. |
Beta Was this translation helpful? Give feedback.
-
|
BTW, if it's possible to connect directly to a feth device that would make this a lot simpler as we can do away with vmnet altogether |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Now that OrbStack supports USB passthrough, I would like the option of running a Linux router which can pass through its internet connection from an external USB wifi adapter (no Mac drivers will ever be available).
Is this possible? At first blush it doesn't seem to be given it creates a virtual route where the host OS is the gateway, which is the opposite of what I need.
Beta Was this translation helpful? Give feedback.
All reactions