Skip to content

Instantly share code, notes, and snippets.

@elvisw
Created January 9, 2015 01:27
Show Gist options
  • Save elvisw/6ec83655dcdb4116d499 to your computer and use it in GitHub Desktop.
Save elvisw/6ec83655dcdb4116d499 to your computer and use it in GitHub Desktop.
ss端口转发
sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 8388
sudo iptables -t nat -A PREROUTING -p udp --dport 443 -j REDIRECT --to-ports 8388
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment