<div dir="ltr">
<div><span></span> <br></div><div>Package: nftables
<br></div><div>Version: 0.9.0-2</div><div><br></div><div>
<span></span>
<p style="margin-bottom:0cm">Hello guys. I have a problem with dnat of port
range. When I try to dnat:</p><br></div><div>ip daddr $ext_ip tcp dport 55900-55910
dnat to $target_lan_host:5900-5910 persistent <br></div><div><br></div><div>I want to dnat 55900 to 5900, 55901 to
5901...55910 to 5910. <br></div><div>But all range 55900-55910 was
redirected into first single port 5900
<p style="margin-bottom:0cm">
</p>
<p style="margin-bottom:0cm">If i try :</p>
<p style="margin-bottom:0cm">ip daddr $ext_ip tcp dport 5900-5910
dnat to $target_lan_host:5900-5910 persistent</p>
<p style="margin-bottom:0cm">its work well, all port was redirected
properly</p>
<p style="margin-bottom:0cm"><br>
</p>I'm using Debian: 4.19.0-10-amd64 #1
SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux
</div><div><br></div><div>Best regards, Igor<br></div>
</div>