I've been using Ubuntu for years but still consider myself and newbie.
Prior to installing OpenVPN I used to be able to access my Ubuntu file server from the outside world by port forwarding port 22 on my ISP router to the IP address of my Ubuntu server. Worked perfectly.
However, I was looking at using an OpenVPN tunnel for a backup process I'm doing. On my home network (behind the ISP Router) I've created a OpenVPN server using an old laptop. I then installed OpenVPN on my Ubuntu file server and ran it as a client. Once connected I'm able to access the VPN server laptop no trouble over tun0. However, I am no longer able to remotely access my file server from the outside world. I can SSH to it from inside my network using the non VPN IP address (using a computer not on the VPN).
After reading a number of posts I'm thinking that the Ubuntu file server is no longer using the router gateway for sending data, it using the VPN... which of course won't work. There are posts relating to using routing tables to change this but from what I understand this doesn't work with netplan... which is now used by Ubuntu?
I have no idea what to try and do next to get this work. Thanks in advance.