Quantcast
Viewing all articles
Browse latest Browse all 4814

Networking and servers • Re: Using a Pi as a "router"

A TAP connection might be a better choice.

If memory serves, TUN conections cannot be part of a network bridge so you need routing and/or NAT at the server end in order to access the network teh server is connected to. You also need a separte subnet (distinct from the university's and your parent's) for the VPN connections.

A TAP device can be added to a bridge which makes remote machines connecting over the VPN full members of the server's network. With a Pi at your parents place, connect to their network via ethernet, run an OpenVPN server, and add the TAP interfaces to a network bridge along with the ethernet interface.

Do not bridge at the remote (university) end unless you want to upset their IT guys and give access to your parent's network to everyone on the Uni one.

One downside with TAP is that it is not supported by all OS.

Wireguard is an alternative to OpenVPN but also cannot be part of a bridge.

Lastly you may want to investigate PiVPN.

Statistics: Posted by thagrol — Sun Jul 21, 2024 12:23 pm



Viewing all articles
Browse latest Browse all 4814

Trending Articles