RUT 901 Firewall - Custom Rules

Hello Community,

I am trying to implement a 1:1 NAT from a VPN-Network to the LAN-Network of the RUT901.

I used the following rules:

iptables -t nat -I PREROUTING -d -j DNAT --to-destination
iptables -t nat -I POSTROUTING -s -j SNAT --to-source is my VPN subnet and is my LAN-Network of the RUT901.

It works perfectly.
But I have the problem that I not only need it for .99 but for all of the 255 IP-Adresses in the network.
Unfortunately the Custom Rules field filed only allows about 40 lines of code so it is not possible to insert these rules 255 times.

Is it possible to extend the number of lines of code allowed in the custom rules field, or is it possible to implement a rule to NAT an entire subnet?

Thanks and Best Regards,

This topic was automatically closed after 15 days. New replies are no longer allowed.