i have an old WD network storage, that i can reach from outside per ftp using dstnat rule.
my ISP already has support of ipv6, but unfortunately NAS itself can't ipv6. is this possible to forward request to WAN ipv6 address on 21st port to NAS ipv4, similar like socat can do?
Code: Select all
/ip firewall filter add action=accept chain=input comment="Accept (established, related)" connection-state=established,related add action=accept chain=input comment="Accept (FTP)" dst-port=21 in-interface-list=WAN protocol=tcp add action=drop chain=input comment="Drop external" in-interface-list=WAN /ip firewall nat add action=masquerade chain=srcnat comment=NAT out-interface-list=WAN add action=dst-nat chain=dstnat comment="Forward to FTP" dst-port=21 in-interface-list=WAN protocol=tcp to-addresses=192.168.xxx.xxx to-ports=21
socat TCP6-LISTEN:1234,fork TCP4:188.8.131.52:1234