Thanks for the answer.
I have already tried it like this with FORWARD:
Code:
iptables -A FORWARD -s 10.0.0.0/24 -j ACCEPT
iptables -A FORWARD -s 10.1.0.0/24 -j ACCEPT
But if I want to access 10.0.0.5 from a device with the IP address 10.1.0.100, unfortunately nothing works:
Code:
# traceroute 10.0.0.5
traceroute to 10.0.0.5 (10.0.0.5), 30 hops max, 38 byte packets
1 10.1.0.1 (10.1.0.1) 5,969 ms 3,094 ms 2,625 ms
2 * * *
From the router (10.0.0.1/10.1.0.1) I reach of course everything.
Thanks