Any to Nginx (DMZ 172.16.16.16) port 443 SNAT
Nginx (DMZ 172.16.16.16) to Plex (LAN 192.168.20.20) port 32400 SNAT
Nginx Conf:
events {
worker_connections 1024;
}
http{
server {
listen 80;
if ($host = nginx.gotdns.ch) {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
server_name nginx.gotdns.ch;
#Cert Managed by Certbox
ssl_certificate /etc/letsencrypt/live/nginx.gotdns.ch/fullchain.pem; #Managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/nginx.gotdns.ch/privkey.pem; #Managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; #Managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; #Managed by Certbot
Remote Access: And now my issue
the Plex Server told me fully accessible from outside to network and after a few minutes not available outside your network. Your server is signed in to Plex, but is not reachable from outside your network
Private 192.168.20.220 : 32400 178.195.80.80 : 443 Internet
And if I click an retry it works again for a few second or minutes.
Dec 23, 2020 00:55:14.464 [0x7f32bebe1700] DEBUG - MyPlex: async reachability check - current mapped state: ‘Mapped - Publishing’.
Dec 23, 2020 00:55:14.464 [0x7f32bebe1700] DEBUG - MyPlex: we already have requested a connectivity refresh for async identifier c1a3adb6-1df8-4fb9-935d-341e967fcaca which has not yet expired.
Dec 23, 2020 00:55:14.465 [0x7f32bf3e2700] DEBUG - Completed: [192.168.222.81:2275] 200 PUT /myplex/refreshR eachability (15 live) TLS GZIP 0ms 274 bytes (pipelined: 4)
Dec 23, 2020 00:55:14.513 [0x7f32bfbe3700] DEBUG - EventSource: Got event [data] ‘’
Dec 23, 2020 00:55:14.513 [0x7f32bfbe3700] DEBUG - PubSub: Got notified of reachability for async identifier c1a3adb6-1df8-4fb9-935d-341e967fcaca: 0 for MyPublicIP:443 (responded in 523 ms)
Dec 23, 2020 00:55:14.513 [0x7f32bfbe3700] DEBUG - MyPlex: reachability check - current mapping state: ‘Mapp ed - Publishing’.
Dec 23, 2020 00:55:14.513 [0x7f32bfbe3700] DEBUG - MyPlex: mapping state set to ‘Mapped - Not Published (Not Reachable)’.
Dec 23, 2020 00:55:14.527 [0x7f32bf3e2700] DEBUG - Request came in with unrecognized domain / IP ‘nginx.gotd ns.ch’ in header Referer; treating as non-local
Dec 23, 2020 00:55:14.527 [0x7f32bf3e2700] DEBUG - Auth: authenticated user 1 as ogret
Dec 23, 2020 00:55:14.534 [0x7f32bfbe3700] DEBUG - Request came in with unrecognized domain / IP ‘ng1nx.gotd ns.ch’ in header Referer; treating as non-local
What is this error mean?
Dec 23, 2020 00:55:14.527 [0x7f32bf3e2700] DEBUG - Request came in with unrecognized domain / IP ‘nginx.gotd ns.ch’ in header Referer; treating as non-local