Port Forward with Double NAT
-
My apologies if this has already been answered.
My ISP provides a routable IP address. I use pfsense community edition and route a DHCP assigned IP address to 172.16.0.1 Wi-Fi router that is the gateway for a 10.10.10.0 subnet. I have a DHCP MAC assigned Unraid server hosting a Docker Emby media server providing my private movies on IP 10.10.10.x:8096. The Emby server hosts the web GUI on 10.10.10.x:8096 to the public as http://1.2.3.4:8096 (fictitious external IP). I can't seem to get the NAT rule and secondary port forward NAT correct. Please help me get the settings correct on pfsense and the secondary router if possible.
-
Can we see screenshots if how you have it configured currently?
If the ISP router is forwarding the port to pfSense correctly there should be no problem forwarding that to the server in pfSense. It's just a bit of an ugly setup but if that's all you can do it should work.
Steve
-
@stephenw10
Thank you for the quick review. I'm new to the unraid server that is hosting my media server and want to add some functionality of Nginx and maybe Cloudfare Argo. I still will need to get the double NAT functionality working, but need time to put in the new modules and see if I can troubleshoot myself. If you want to leave this question open for a week..ish, I'll reply back with more questions or my solution for future help to other people using a double NAT. -
@stephenw10
I was going to get the port forwarding working through a double NAT, but worried about leaving open ports to hackers. I decided to go with adding to my unraid server a docker container for Nginx, cloudflare with free argo tunnel, bought a domain .com from Go Daddy for $20, and used three youtube videos from IBRACORP for setting up ngix with cloudflare and free argo tunnel.Cloudflare CDN: How to Setup + Purchase Domain + NGINX Proxy Manager on Unraid (2021) (sets up SSL full encrypt)
Cloudflare: How to Set up Cloudflare Argo Tunnel FREE on Unraid - Bypass CGNAT (sets up argo tunnel (IP obfuscation))
NGINX Proxy Manager: How to Install and Setup Reverse Proxy on Unraid (2021) (sets up nginx)