Problem with Nat/Forwarding IP ranges

Hey guys, i am having a tad bit annoying problem, that forwarding IP ranges just doesn’t work. Maybe i am making a human error, but i don’t see it.

 action=dst-nat chain=dstnat  dst-address=***.***.***.205 \
    dst-port=49222-49271 protocol=udp to-addresses=192.168.1.123 to-ports=\
    49222-49271

What am i doing wrong?

Try it in the GUI then export it to see how to do this …

I have done it in the GUI.

This is just the exported entry that i already have.

I mean forwarding single ports works fine, but as soon as you add a range, it just does nothing. Every single port counts as closed.

I’m new, but dst-address=..***.205 does not look right.
Perhaps it should be dst-address=0.0.0.205/24

vaivars is just not showing us his complete IP :smiley:

:blush:
Sorry, yes that is correct … vaivars try “ports” instead of “to-ports”

Yep, i just covered the IP.

As for the suggestion to just try with Ports instead of to-ports, tried it, but it didn’t help :frowning: