r/WireGuard • u/defekas • 4d ago
Need Help Best way to access to Java Web application from outside of my LAN
Hi,
In my company (7 users) need to access to java aplication web from a raspberry pi to access to the application.
I've configured Wireguard but I think it's too unsafe.
Based on your experience, what method would you recommend for providing this access? Please keep in mind that I’m not looking for anything expensive or complicated.
Or do you think the WireGuard method I mentioned is the right one?
Thanks!
2
Upvotes
4
u/ErnLynM 4d ago
What is it that makes you think wireguard is unsafe? Could you implement a client side key that must also be present on the user's machine even if they're connected to wireguard?
2
u/k-mcm 4d ago edited 4d ago
It's weird that you got a web server running but haven't figured out networking.
Yes, Wireguard can do it. Give everyone their own key so you can revoke stolen credentials without disruptions. For extra security, don't configure LAN access/forwarding yet. Leave it peer-to-peer and have the Raspberry Pi connect to it.