Skip to content

Instantly share code, notes, and snippets.

@withgod
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save withgod/96f2237f4ee956316c37 to your computer and use it in GitHub Desktop.
Save withgod/96f2237f4ee956316c37 to your computer and use it in GitHub Desktop.
[noname@sakura]sudo iptables -t nat -A PREROUTING -i eth0 -p udp --dport 65738 -j REDIRECT --to-port 64738 [/etc/ufw]
[noname@sakura] [/etc/ufw]
[noname@sakura]sudo iptables -t nat -A PREROUTING -i eth0 -p udp --dport 64748 -j REDIRECT --to-port 64738 [/etc/ufw]
[noname@sakura] [/etc/ufw]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment