@wesleylc1 wrote:
Hi guys!
We set up a new nginx web server to run the “NextCloud” application, server with subnet 192.168.40.xxx/22, “http and https” traffic redirection made by firewall pfsense 2.4.4 with subnet192.168. 43.xxx/22, I run the HAProxy service version 1.8.17 to direct external access; There are currently two front end configurations, one for port 80 and one for port 443, which work for other systems already deployed.Below illustrates the settings of this new backend.
Configuration Applied to Backend
Configuration Applied to frontend
Default backend, access control lists and actions
Statistics Report
I have already performed the tests below,
root@server:/usr/share/ca-certificates# nc -zv 192.168.40.xx 80
Connection to 192.168.40.xx 80 port [tcp/http] succeeded!
root@server:/usr/share/ca-certificates# netstat -npa |grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1314/nginx: master
tcp6 0 0 :::80 :::* LISTEN 1314/nginx: master
unix 3 STREAM CONNECTED 20809 1/init /run/systemd/journal/stdout
unix 3 STREAM CONNECTED 18026 1/init /run/systemd/journal/stdout
unix 3 STREAM CONNECTED 18680 712/systemd-timesyn
unix 3 STREAM CONNECTED 20801 1/init /run/systemd/journal/stdout
unix 3 STREAM CONNECTED 19805 1/init
unix 3 STREAM CONNECTED 20805 1/init /run/systemd/journal/stdoutroot@server:/usr/share/ca-certificates# nmap localhost
Starting Nmap 7.60 ( https://nmap.org ) at 2019-09-11 21:24 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000013s latency).
Not shown: 997 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
3306/tcp open mysqlNmap done: 1 IP address (1 host up) scanned in 1.71 seconds
best regards,
Wesley Santos
Posts: 1
Participants: 1