daily pastebin goal
64%
SHARE
TWEET

iptables

a guest Jun 28th, 2012 13 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo iptables -t nat -N REDSOCKS
  2. sudo iptables -t nat -A REDSOCKS -d 10.0.0.0/8 -j RETURN
  3. sudo iptables -t nat -A REDSOCKS -d 127.0.0.0/8 -j RETURN
  4. sudo iptables -t nat -A REDSOCKS -d 192.168.0.0/16 -j RETURN
  5. sudo iptables -t nat -A REDSOCKS -p tcp -o eth0 -j DNAT --to 127.0.0.1:1081
  6. sudo iptables -t nat -A OUTPUT -p tcp -j REDSOCKS
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top