User Tools

Site Tools


informatica:linux:iptables

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
informatica:linux:iptables [2012/10/17 09:16]
javi
informatica:linux:iptables [2015/04/13 22:19] (current)
Line 6: Line 6:
  
 http://​wiki.legido.com/​doku.php?​id=informatica:​linux:​red:​mapear_trafico_entre_interfaces http://​wiki.legido.com/​doku.php?​id=informatica:​linux:​red:​mapear_trafico_entre_interfaces
 +
  
  
Line 83: Line 84:
 Y veremos algo asi: Y veremos algo asi:
  
-Oct 17 09:15:13 kvm kernel: [746890.975199] IPTABLES - OUTPUT IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=40 TOS=0x10 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=666 DPT=55703 WINDOW=0 RES=0x00 ACK RST URGP=0 ​+  ​Oct 17 09:15:13 kvm kernel: [746890.975199] IPTABLES - OUTPUT IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=40 TOS=0x10 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=666 DPT=55703 WINDOW=0 RES=0x00 ACK RST URGP=0 ​ 
 + 
 +7. (OPCIONAL) Rotamos logs: 
 + 
 +<​code>​ 
 +/​etc/​logrotate.d/​iptables 
 + 
 +/​var/​log/​iptables.log 
 +
 + rotate 7 
 + daily 
 + missingok 
 + notifempty 
 + delaycompress 
 + compress 
 + postrotate 
 + invoke-rc.d rsyslog reload > /dev/null 
 + endscript 
 +
 +</​code>​
  
 ===== Ejemplo OpenVZ ===== ===== Ejemplo OpenVZ =====
informatica/linux/iptables.txt · Last modified: 2015/04/13 22:19 (external edit)