VPS WireGuard NginxProxy

GPSNASa month ago

Good day
Made a VPN tunnel.
Ubuntu VPS
My server windows 10
The VPN tunnel was created using WireGuard, and NginxProxy was also installed.

Installed Traccar on home server. I configured a proxy in NginxProxy.
The Traccar server comes from the working PC, but the data from the gps tracker does not come to the server.

what could be the problem
I opened ports on Ubuntu, on Windows 10 I also created rules in firewall.

Anton Tananaeva month ago

What kind of proxy did you set up? Have enabled proxy for all TCP/UDP device ports? You would have to provide more details.

GPSNASa month ago

I will describe in more detail.

  1. My home server has a gray IP, based on windows 10.
    Traccar is installed here, ports 8082.5000-5050 are open in the firewall, both for input and output
  2. I took a VPS based on Ubuntu on AWS. I deployed WireGuard and NginxProxy on it.
    I created a tunnel between the home server and the VPS.
    The VPS opened all ports.
    In the web version of NginxProxy, I made the following settings as in the screenshot. Everything else is unchanged.
    In the browser, I go to the Traccar page. But the tracker does not transfer data to the server.

What should I do?

1.png

Anton Tananaeva month ago

I only see one port in your configuration and it's HTTP only. How do you expect devices to work?

GPSNASa month ago

How to open all these ports?
Should this be done in NginxProxy? or is it better through some other program?

Anton Tananaeva month ago

That's up to you, but they have to be open to the internet one way or another.

GPSNASa month ago

How to open ports in NginxProxy?

Anton Tananaeva month ago

This is probably not the right forum for this question.

odhiamboa month ago

I am sure ChatGPT has an answer to that question.