Been lurking for some time and can’t seem to figure this out.
I’ve got the following:
RPi 2B running OSMC 4.14.34-4 (as this is the last version that supports my Realtek Wi-Fi dongle) as a Plex frontend client. On the backend I have an OpenVPN server running, currently in TUN mode.
The VPN Server is running currently with 1 client profile, and the server is configured in TUN mode.
My desired objectives for the project is to:
1 - have a seamless VPN Server operating in the backend while the Pi operates as an always-on Plex client (installed at my parents place)
2 - allow me free access to the LAN as if I was directly connected
3 - no interruption/breaking of mapped drives/SMB shares
I’ve currently achieved objective 1, however the other 2 are proving a bit more challenging…
I’ve come to the conclusion I should modify the server to be running in TAP mode, I’ve managed to create a tap0 interface by bridging the wlan0 interface to the tap0 interface, however this then breaks the connection of the Pi to the LAN.
My addresses are as follows:
External IP: DDNS
Pi IP (static): 192.168.0.45
Pi DG: 192.168.0.1
Pi Broadcast: 192.168.0.255
OpenVPN pool start: 10.8.0.1
When connecting to the server I am allocated a 10.8.0.x address. I have pushed routes to the clients so I am able to ping servers on the LAN, however my SMB shares are broken.
Has anyone got any advice on modifying the server.conf file to enable me to meet all 3 objectives? Should I be looking at running a different OS on the Pi to more easily meet these objectives?