Hi Miro,
If your primary router (the one you are setting the rules) does not need to process proto 4 and RIP, you can drop the 2 input rules.
The prerouting DNAT should be enough.
Marius, YO2LOJ
On 2016-07-30 12:51, lz4ny@mail.bg wrote:
(Please trim inclusions from previous messages) _______________________________________________
Hello, I had a problem to let rip44d after an OpenWrt Chaos Calmer 15.05, but was dropped dmz traffic ipencap 169.228.66.251 not passed to the second router.
In openwrt menu: Network -> Firewall -> Custom Rules
I add:
iptables -A INPUT -p 4 -j ACCEPT iptables -A INPUT -p udp --dport 520 -j ACCEPT iptables -t nat -A PREROUTING -p 4 -j DNAT --to 192.168.1.2
192.168.1.2 is ip of second router or 44 gateway with rip44d