poate ca ne-ar lumina un output la
´iptables -vL´
da-ne si iptables -vL -t nat
Asta ar fi:
Chain PREROUTING (policy ACCEPT 4940K packets,
394M bytes)
pkts bytes target prot opt in out
source destination
48 2304 REDIRECT tcp -- eth0 any
boby anywhere tcp dpt:http redir
ports 8080
0 0 REDIRECT tcp -- eth0 any
dany anywhere tcp dpt:http
redir ports 8080
84 4032 REDIRECT tcp -- eth0 any
172.27.37.12 anywhere tcp
dpt:http redir ports 8080
0 0 REDIRECT tcp -- eth0 any
tiger anywhere tcp dpt:http redir
ports 8080
0 0 REDIRECT tcp -- eth0 any
radu anywhere tcp dpt:http redir ports
8080
0 0 REDIRECT tcp -- eth0 any
johny anywhere tcp dpt:http redir
ports 8080
0 0 REDIRECT tcp -- eth0 any
fluffy anywhere tcp dpt:http redir
ports 8080
0 0 REDIRECT tcp -- eth0 any
172.27.37.6 anywhere tcp
dpt:http redir ports 8080
0 0 REDIRECT tcp -- eth0 any
sandy anywhere tcp dpt:http redir ports
8080
Chain POSTROUTING (policy ACCEPT 148K packets,
8366K bytes)
pkts bytes target prot opt in out
source destination
0 0 SNAT all -- any any
172.27.37.20 anywhere
to:82.77.126.77
0 0 SNAT all -- any any
boby napomar.ro to:82.77.126.77
0 0 SNAT all -- any any
172.27.37.12 napomar.ro
to:82.77.126.77
0 0 SNAT all -- any any
tiger napomar.ro to:82.77.126.77
0 0 SNAT all -- any any
radu napomar.ro to:82.77.126.77
0 0 SNAT all -- any any
johny napomar.ro to:82.77.126.77
0 0 SNAT all -- any any
fluffy napomar.ro to:82.77.126.77
0 0 SNAT all -- any any
dany napomar.ro to:82.77.126.77
0 0 SNAT all -- any any
172.27.37.6 napomar.ro
to:82.77.126.77
Chain OUTPUT (policy ACCEPT 138K packets, 7683K
bytes)
pkts bytes target prot opt in out
source destination
_______________________________________________
RLUG mailing list
RLUG@lists.lug.ro
http://lists.lug.ro/mailman/listinfo/rlug