Skip to main content
100%

Gist 5383090

✓ Published0🌍 Public
Aalessioalex
Last edited Jul 20, 2012
Created on Apr 14, 2013

This example shows how to forward external HTTP traffic from port 80 to an internal Node.js server listening on port 8000 using iptables NAT rules. The text documents the command-line workflow, including listing the current NAT table, adding a PREROUTING redirect rule, and deleting faulty rules by chain and line number. It also warns against running Node as root for security reasons and acknowledges the risk of disrupting SSH access on port 22. No visualization code or data is present; the example is purely textual documentation of a system administration procedure.

AI-generated description

Similar vizzes