Advertisement
Guest User

Untitled

a guest
Jun 19th, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. root@deor:/etc/firehol# firehol stop
  2. root@deor:/etc/firehol# iptables -t nat -A POSTROUTING -j SNAT --to-source 11.22.33.44
  3. root@deor:/etc/firehol# iptables -L
  4. Chain INPUT (policy ACCEPT)
  5. target prot opt source destination
  6.  
  7. Chain FORWARD (policy ACCEPT)
  8. target prot opt source destination
  9.  
  10. Chain OUTPUT (policy ACCEPT)
  11. target prot opt source destination
  12. root@deor:/etc/firehol# iptables -t nat -n -L
  13. Chain PREROUTING (policy ACCEPT)
  14. target prot opt source destination
  15.  
  16. Chain POSTROUTING (policy ACCEPT)
  17. target prot opt source destination
  18. SNAT all -- 0.0.0.0/0 0.0.0.0/0 to:11.22.33.44
  19.  
  20. Chain OUTPUT (policy ACCEPT)
  21. target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement