Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recommend using OpenVPN with unique digital certificates and tls-auth. This gives you a very well-protected entryway which is concealed from view: those "scanning" your system will not detect that anything is there. So, there will be zero "unauthorized access attempts." Yet, to an authorized user, opening the tunnel is as quick and easy as clicking a button. Every piece of data that passes between the systems – each of which can securely identify the other – will be encrypted automagically.
Last edited by sundialsvcs; 05-19-2023 at 09:55 AM.
as that distro supports ssh, open that port and configure the sshd to accecpt X11 forwarding if you want access to the webUI without opening that to the world. Id also configure passwordless connection and mandate RSA token for login.
As for your phone getting access to the webUI, for that you will require a VPN. As mentioned above OpenVPN would be free and eventhough not easy, is still something you can find good documentations to install/configure/test.
Most phones also have the option of installing a Terminal that can be used to issue ssh commands. dont think the X11 forwarding will work on a phone, but i know ssh does work without to much issue, at least in the Android world. Cannot say for iOS devices.
Distribution: Ubuntu based stuff for the most part
Posts: 1,089
Rep:
I use Tailscale to connect to my home server from my laptop or phone. Setup is stupid easy, but has all the security of Wireguard that it is build on.
Plus I have my NAS set to run as an end-point, so I can use it as a VPN exit from my other devices.
I once again recommend OpenVPN precisely because it is a (digital-certificate secured) tunnel. Functionally, it behaves as a TCP/IP router (or switch), but which is cryptographically secured. It is therefore exactly what the name implies: a truly-private and reliable network connection that is also "virtual," taking place over an insecure public network. The users of the system not only do not need to "know how the trick is done," but they don't even need to know that "trick" is being done at all. And, unlike a simple "password," a digital certificate cannot be "hacked."
Authorized users bearing non-revoked certificates simply click on the icon at the top of their screen and wait a few seconds for it to turn from gray to black. They then think nothing further of it ...
Last edited by sundialsvcs; 05-24-2023 at 02:44 PM.
Apart from the technical issues, keep in mind that unless you pay for a static (aka Business ctc) IP from your ISP, many will block home based servers / ports.
You should check with them before you try to implement a soln.
Distribution: Ubuntu based stuff for the most part
Posts: 1,089
Rep:
Quote:
Originally Posted by elsmandino
Thanks guys - much appreciated.
I am really not very good when it comes to networking, so I have been looking up some of the above. Am a bit out of depth on this one!
Is Cloudflare worth considering as an option?
I am not quite sure whether that counts as a VPN or not.
Cloudflare is a CDN, Content Delivery Network they do not have a VPN service they offer that I know of. You might be thinking of their DNS service 1.1.1.1
To save you a bit of time, if you do go with OpenVPN and will not have more then 2 users, then download the trial version of Access Server from openvpn.org as that has the web interface that makes everything easy. It is free to use but only allows 2 users to connect.
The opensource version you can get from your distro repository does not have the web interface so it needs to be setup and configured from the command line, but has no user limit.
Last edited by uteck; 05-25-2023 at 09:33 AM.
Reason: typo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.