2024-05-20, 03:31 PM
Thank you for a reply back also. I greatly appreciated the help. I did a little testing from what I could gather and read/understand this is what I have gathered thus far:
I enabled and setup everything and have verified that the ip address is able to be forwarded in the logs from the reverse proxy (Caddy)
So I think the issue might be on my end as it's coming through as "client_ip" rather than the forwarded field you have mentioned earlier. So I then went into Jellyfin and input all the cloudflare cidr ip's that are being used which still resulted in negative results. I fear I may just be sol
I enabled and setup everything and have verified that the ip address is able to be forwarded in the logs from the reverse proxy (Caddy)
Code:
{"level":"info","ts":1716001808.679013,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"172.71.254.232","remote_port":"36006","client_ip":"185.695.185.518","proto":"HTTP/2.0","method":"GET","host":>
{"level":"info","ts":1716001808.6796963,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"172.71.254.233","remote_port":"32890","client_ip":"185.695.185.518","proto":"HTTP/2.0","method":"GET","host">
{"level":"info","ts":1716001808.6811714,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"172.71.254.233","remote_port":"32846","client_ip":"185.695.185.518","proto":"HTTP/2.0","method":"GET","host">
{"level":"info","ts":1716001808.6824157,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"172.71.254.214","remote_port":"29514","client_ip":"185.695.185.518","proto":"HTTP/2.0","method":"GET","host">
{"level":"info","ts":1716001808.7196763,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"172.71.254.233","remote_port":"32872","client_ip":"185.695.185.518","proto":"HTTP/2.0","method":"GET","host">
{"level":"info","ts":1716001808.8876588,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"172.71.254.232","remote_port":"35984","client_ip":"185.695.185.518","proto":"HTTP/2.0","method":"GET","host">
{"level":"info","ts":1716001814.127556,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"172.71.254.233","remote_port":"32862","client_ip":"185.695.185.518","proto":"HTTP/2.0","method":"GET","host":>
{"level":"info","ts":1716001814.207943,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"172.71.254.232","remote_port":"35994","client_ip":"185.695.185.518","proto":"HTTP/2.0","method":"GET","host":>
{"level":"info","ts":1716001814.3329265,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"172.71.254.232","remote_port":"36006","client_ip":"185.695.185.518","proto":"HTTP/2.0","method":"GET","host">
So I think the issue might be on my end as it's coming through as "client_ip" rather than the forwarded field you have mentioned earlier. So I then went into Jellyfin and input all the cloudflare cidr ip's that are being used which still resulted in negative results. I fear I may just be sol