Hi, I'm trying to forward UDP packages coming from eth1 at port 25826
to an server on my internal network
Here is the rule that I used
Code:
iptables -t nat -A PREROUTING -i eth1 -p udp --dport 25826 -j DNAT --to-destination 192.168.5.13:25826
iptables -A FORWARD -d 192.168.5.13 -j ACCEPT
This rule is simple ignored. Before ppl ask, I have sure
that the packets are coming at that port on that interface
Code:
[root@pax2 ~]# tcpdump -nni eth1 port 25826
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
20:12:23.926427 IP 201.28.214.89.43368 > 10.129.120.47.25826: UDP, length 1326
20:12:23.931575 IP 201.28.214.89.43368 > 10.129.120.47.25826: UDP, length 1300
20:12:23.937244 IP 201.28.214.89.43368 > 10.129.120.47.25826: UDP, length 1331
What I'm missing?
[]'s