Skip to content

Instantly share code, notes, and snippets.

@johndaley-me
Created August 20, 2015 12:59
Show Gist options
  • Save johndaley-me/1a93e98dfb46fd739029 to your computer and use it in GitHub Desktop.
Save johndaley-me/1a93e98dfb46fd739029 to your computer and use it in GitHub Desktop.
Reroute Outbound Traffic Linux
sudo iptables -t nat -A OUTPUT -p tcp --dport 25 -j DNAT --to-destination :587
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment