r/WireGuard • u/defekas • 2d 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
3
u/ErnLynM 2d 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 2d ago edited 1d 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.