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OpbRvJrQwMYJt7kHGUF9q
VlDj98TM23u0Jv+H7cduc3AefSN/dq/hqAEuRYJmoisVTDABOe+2oJc2vo3svK7k
1/fOIgCb0zL8/9uU4J2hpEiGbu5d8j3VOcXZwUt7HIvGEeHvxcT0L9UW3CcPWRpU
GjCZO0jwDOJgUICeLoaq/0ah+M6X3LiKppMRLfy7hnucoWudGlu+snw2Ljv9ABEB
AAGJATwEGAEIACYWIQRW9Wfn28eM4KECpZ12hnum3DaK0wUCXSLhYwIbDAUJAeEz
gAAKCRB2hnum3DaK03A5B/9ruwP7frKvF8f6DKzkMtS+wcYpfo4UzaAjhYGynT66
S7jQJO6gaYK4d4T7RWYEdwne8VC9F8+HDLRLTGGHbPKG6EsWQoqntr4CiM2LAAol
zD27kkyhU0rVcFHopgtKXRje5LHVFlMMXB9EDb5UYB4TQCVa637/CqZEBsGu4Iqo
RRzmvOio2EKbaZ2vVNN/m+L9RWsOdTp2WEAfv9H+BmeiCtOgJz/j+FJakf7LI2Gu
NcEmvK/fZn6aKaiC1TXcP9OkQsn/Do0TfDki1A0vLAvpPEW0CteswyR1qGt8jbEO
7/49pHaxmv48CvdDIYoSqvbzAkHWWBjINUgOKA80fnLm
=FD9Y
-----END PGP PUBLIC KEY BLOCK-----
Sorry for top posting,

Would
https://openvpn.net/vpn-server-resources/site-to-site-layer-2-bridging-using-openvpn-access-server/

solve your problem?

Regards,
Erik

Op 31-3-2020 om 11:34 schreef Chris Rawnsley:
> In the period of The Great Isolation, a friend and I wish to play
> a game that has LAN-only multiplayer. We, however, live in different
> locations and, more importantly, different LANs. An often cited
> approach to solving this is to set up a VPN and connect the two
> devices to it. This requires that both devices run a VPN client
> that connects to the third device that manages the connection. And
> then, hey presto! You have a "LAN".
>
> The complication I have found is that we are both using a Nintendo
> Switch (NinSw) and this device comes without a VPN client. Initially,
> I thought it would be possible to use a VPN client on a computer
> which was wired in over Ethernet and then share the wireless to the
> NinSw. This setup would be mirrored on the other side. The diagram
> below tries to make this clearer. Search for "Where my thinking"
> to skip over this.
>
>
> |````````````|
> | | .________.
> | | ) ) ) |:| |:|
> |............| `========'
> .---/::::::::::::::\ [NinSw]
> | [laptop]
> |
> [VPN]
> |
> | \ /
> | _\______/_
> `-----| ... |----[uplink]----// mirrored on the other side
> ``````````
> [gateway]
>
>
> Where my thinking comes stuck is how the wired connection is shared
> to the NinSw over wireless. The laptop, running MacOS in the case
> of my friend, will setup its own NAT to isolate the wireless
> connections from the uplink. The NinSw is then unable to receive
> an IP from the VPN and therefore not appear as part of the same
> network.
>
> Ignoring the particular case of how "Internet Connection Sharing"
> works on MacOS, would it be possible to setup some "VPN bridge"
> (yes, I made that up) on OpenBSD where it handles the details of
> the VPN connection but forwards the IP address to another device?
>
> If anyone has more insight into this and can point me in the right
> direction I would be grateful. Similarly if there's been a mistake
> in my thinking please point it out as that could help too.
>
>
> --
> Chris Rawnsley
>
> P.S. the game in question is Civilization 6 and, yes, they very
> annoyingly restricted it to LAN-only multiplayer...
>

No comments:

Post a Comment