>[оверквотинг удален]
> 1) iptables -nvL FORWARD
> 2) iptables -t nat -nvL FORWARD
> 3) iptables -t mangle -nvL FORWARD
> 4) iptables -t raw -nvL FORWARD
> таблицы и правила маршрутизации:
> ip ru sh
> ip ro sh ta main
> ip ro sh ta default
> откуда пингуете?
> и трассировки.1) iptables -nvL FORWARD
Chain FORWARD (policy ACCEPT 17005 packets, 884K bytes)
pkts bytes target prot opt in out source destination
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/8
0 0 DROP all -- * * 0.0.0.0/0 127.0.0.0/8
0 0 DROP all -- * * 0.0.0.0/0 255.255.255.255
0 0 DROP all -- * * 0.0.0.0/0 224.0.0.0/4
0 0 DROP all -- * * 0.0.0.0/0 240.0.0.0/5
0 0 DROP all -- * * 0.0.0.0/0 239.255.255.0/24
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x3F
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x00
0 0 DROP icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 17
0 0 DROP icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 13
0 0 DROP icmp -f * * 0.0.0.0/0 0.0.0.0/0
2) iptables -t nat -nvL FORWARD
No chain/target/match by that name.
3) iptables -t mangle -nvL FORWARD
Chain FORWARD (policy ACCEPT 17230 packets, 896K bytes)
pkts bytes target prot opt in out source destination
4) iptables -t raw -nvL FORWARD
iptables: No chain/target/match by that name.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A FORWARD -d 0.0.0.0/8 -j DROP
-A FORWARD -d 127.0.0.0/8 -j DROP
-A FORWARD -d 255.255.255.255 -j DROP
-A FORWARD -d 224.0.0.0/4 -j DROP
-A FORWARD -d 240.0.0.0/5 -j DROP
-A FORWARD -d 239.255.255.0/24 -j DROP
-A FORWARD -p tcp --tcp-flags ALL ALL -j DROP
-A FORWARD -p tcp --tcp-flags ALL NONE -j DROP
-A FORWARD -p icmp -m icmp --icmp-type address-mask-request -j DROP
-A FORWARD -p icmp -m icmp --icmp-type timestamp-request -j DROP
-A FORWARD -p icmp --fragment -j DROP
#
COMMIT
#
*nat
-A POSTROUTING -o eth1 -s 192.168.5.0/24 -j SNAT --to 192.168.2.113
#
COMMIT
ip ru sh
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
ip ro sh ta main
192.168.5.0/24 dev eth1 proto kernel scope link src 192.168.5.1
192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.113
169.254.0.0/16 dev eth1 scope link metric 1003
default via 192.168.2.113 dev eth0
ip ro sh ta default
Ничего не вывело
Сам интернет за пределами этого сервера работает нормально.