[Fedora-users-br] Porta 80 no 2 Links
redes em habil.eti.br
redes em habil.eti.br
Quinta Junho 11 11:51:16 UTC 2009
Ok...
Alejandro..... Somente estou alterando o inicio do IP do Link por
segurança...
eth0 Link encap:Ethernet HWaddr 00:0F:1F:F8:5E:8B
inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20f:1fff:fef8:5e8b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:221080 errors:0 dropped:0 overruns:0 frame:0
TX packets:203356 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:26978630 (25.7 MiB) TX bytes:130872606 (124.8 MiB)
Interrupt:21
eth1 Link encap:Ethernet HWaddr 00:83:08:00:69:B4
inet addr:10.0.0.2 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::283:8ff:fe00:69b4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:134 errors:0 dropped:0 overruns:0 frame:0
TX packets:245 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10995 (10.7 KiB) TX bytes:19653 (19.1 KiB)
Interrupt:25 Base address:0x4c00
eth2 Link encap:Ethernet HWaddr 00:48:54:00:4D:6A
inet addr:200.200.200.18 Bcast:187.4.253.23 Mask:255.255.255.248
inet6 addr: fe80::248:54ff:fe00:4d6a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:205978 errors:0 dropped:0 overruns:0 frame:0
TX packets:197827 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:130334971 (124.2 MiB) TX bytes:18278175 (17.4 MiB)
Interrupt:24 Base address:0x2c00
ip route list
200.200.200.16/29 dev eth2 proto kernel scope link src 200.200.200.18
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.254
169.254.0.0/16 dev eth2 scope link
10.0.0.0/8 dev eth1 proto kernel scope link src 10.0.0.2
default via 187.4.253.17 dev eth2
ip route list table adsl
200.200.200.16/29 dev eth2 scope link
192.168.0.0/24 dev eth0 scope link
10.0.0.0/8 dev eth1 scope link
default via 10.0.0.1 dev eth1
iptables -t nat -L -nxv
Chain PREROUTING (policy ACCEPT 32806 packets, 8009883 bytes)
pkts bytes target prot opt in out source
destination
Chain POSTROUTING (policy ACCEPT 226 packets, 15190 bytes)
pkts bytes target prot opt in out source
destination
46 6662 MASQUERADE all -- * eth1 0.0.0.0/0
0.0.0.0/0
8987 456574 MASQUERADE all -- * eth2 0.0.0.0/0
0.0.0.0/0
Chain OUTPUT (policy ACCEPT 1044 packets, 77074 bytes)
pkts bytes target prot opt in out source
destination
iptables -t mangle -L -nxv
Chain PREROUTING (policy ACCEPT 419076 packets, 148934988 bytes)
pkts bytes target prot opt in out source
destination
Chain INPUT (policy ACCEPT 6475 packets, 1228800 bytes)
pkts bytes target prot opt in out source
destination
Chain FORWARD (policy ACCEPT 389119 packets, 140213962 bytes)
pkts bytes target prot opt in out source
destination
Chain OUTPUT (policy ACCEPT 6532 packets, 1124530 bytes)
pkts bytes target prot opt in out source
destination
0 0 MARK tcp -- * * 10.0.0.2
0.0.0.0/0 tcp dpt:80 MARK set 0x8
Chain POSTROUTING (policy ACCEPT 395651 packets, 141338492 bytes)
pkts bytes target prot opt in out source
destination
Bom é isso
Aguardo seu retorno...
Forte abraço...
Roberto
Mais detalhes sobre a lista de discussão br-users