Skip to content

Instantly share code, notes, and snippets.

@chrsgrffth
Created August 18, 2014 02:59
Show Gist options
  • Select an option

  • Save chrsgrffth/c2b33896138aa1894cfd to your computer and use it in GitHub Desktop.

Select an option

Save chrsgrffth/c2b33896138aa1894cfd to your computer and use it in GitHub Desktop.

Revisions

  1. chrsgrffth created this gist Aug 18, 2014.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000