VPS WireGuard NginxProxy

GPSNAS a year 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 Tananaev a year 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.

GPSNAS a year 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 Tananaev a year ago

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

GPSNAS a year ago

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

Anton Tananaev a year ago

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

GPSNAS a year ago

How to open ports in NginxProxy?

Anton Tananaev a year ago

This is probably not the right forum for this question.

odhiambo a year ago

I am sure ChatGPT has an answer to that question.