Can we run a bootstrap node Behind a NAT

I am trying to create my own bootstrap node( and make changes with this example(

It works fine if I run bootstrap node in local network but if I run bootstrap node in different network I am getting a I/O timeout error

Note :I added libp2p.NATPortMap to the new constructor in both programs
@stebalien @raul

Are you getting the error when trying to connect to the bootstrap node? How are you doing that and what address are you using?

I resolved it Thank you,I assigned a static port and public Ip address to bootsrtap node