Skip to content

Instantly share code, notes, and snippets.

@askaidau
Created July 24, 2014 03:50
Show Gist options
  • Save askaidau/21fc306cf37ce45cefe1 to your computer and use it in GitHub Desktop.
Save askaidau/21fc306cf37ce45cefe1 to your computer and use it in GitHub Desktop.
Node.js HTTP Port Enabler
#!/bin/bash
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment