Re: iptables nat com rotas, não acessa
*# iptables -t filter -L -n -v*
Chain INPUT (policy ACCEPT 3364K packets, 1637M bytes)
pkts bytes target prot opt in out source
destination
Chain FORWARD (policy ACCEPT 44488 packets, 56M bytes)
pkts bytes target prot opt in out source
destination
6 272 ACCEPT 0 -- eth1 * 0.0.0.0/0
0.0.0.0/0
Chain OUTPUT (policy ACCEPT 4003K packets, 2018M bytes)
pkts bytes target prot opt in out source
destination
*# iptables -t nat -L -n -v*
Chain PREROUTING (policy ACCEPT 67574 packets, 3536K bytes)
pkts bytes target prot opt in out source
destination
Chain POSTROUTING (policy ACCEPT 9856 packets, 803K bytes)
pkts bytes target prot opt in out source
destination
94 5825 MASQUERADE 0 -- * eth0 0.0.0.0/0
0.0.0.0/0
Chain OUTPUT (policy ACCEPT 93685 packets, 6975K bytes)
pkts bytes target prot opt in out source
destination
*# ip route show all*
201.66.170.5/29 dev eth0 proto kernel scope link src 201.66.170.5
160.201.154.0/24 dev eth1 proto kernel scope link src 160.201.154.1
192.168.1.0/24 via 160.201.154.99 dev eth1
192.168.1.0/24 via 160.201.154.1 dev eth1 scope link
default via 201.66.170.5 dev eth0
eth0 -> 201.66.170.5 (Internet)
eth1 -> 160.201.154.1 (Intranet)
AP1
Endereço Externo -> 160.201.154.99
Endereço Rede Local -> 192.168.1.1
PEdroARthur_JEdi escreveu:
# iptables -t filter -L -n -v
# iptables -t nat -L -n -v
# ip route show all
Reply to: