From 4bc257c7e74bd16912152d4e29cd5adc30b97f95 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Sun, 20 Jun 2021 07:02:48 +0000 Subject: [PATCH] post(nixos): cloudflared replaced port forwarding & open inbound port --- source/_posts/caddy-nixos-part-2.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_posts/caddy-nixos-part-2.md b/source/_posts/caddy-nixos-part-2.md index 178df03..e9abbcf 100644 --- a/source/_posts/caddy-nixos-part-2.md +++ b/source/_posts/caddy-nixos-part-2.md @@ -240,7 +240,9 @@ In my case, I configure iptables to port forward 443 to 4430, so any traffic tha }; ``` -(Note: Most probably you would need `ip46tables` to open ports in both IPv4 and IPv6. If the server doesn't support IPv6 (!), just use `iptables`) +Most probably you would need `ip46tables` to open ports in both IPv4 and IPv6. If the server doesn't support IPv6 (!), just use `iptables`. + +Edit (20 Jun 2021): {% post_link cloudflare-argo-nixos 'cloudflared' %} replaced my port forwarding setup, my web server now binds to localhost and no longer needs open inbound port. ## Unattended upgrade