ak47suk1

iptables nat sample

Sep 24th, 2012
90
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Completed on Tue Sep 25 08:50:26 2012
  2. # Generated by iptables-save v1.4.10 on Tue Sep 25 08:50:26 2012
  3. *nat
  4. :PREROUTING ACCEPT [2670872:290799231]
  5. :POSTROUTING ACCEPT [248281:17666183]
  6. :OUTPUT ACCEPT [248183:17652379]
  7. -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j SNAT --to-source 999.888.777.666 # gantikan 999.888.777.666 dengan IP server anda di sini
  8. COMMIT
  9. # Completed on Tue Sep 25 08:50:26 2012
RAW Paste Data