I have a problem with a white ip

Hello. I found out about storj. I have available Rpa4 and a pair of hdd of 6 tb. How do I start a node? More precisely, I have a problem with a white ip. In order for my machine to go online under a white ip, I set up a vpn via a vps server. But I don’t understand how to forward the ports and configure the node.

Hello @gunter ,
Welcome to the forum!

On your server:

iptables -t nat -A PREROUTING -p tcp --dport 28967 -j DNAT --to-dest
iptables -t filter -A FORWARD -p tcp -d --dport 28967 -j ACCEPT - the client’s IP
You also need to configure your ADDRESS option in the docker run command to use the external (public IP or hostname) of your server.
If this is a binary version of storagenode, then you need to configure the option contact.external-address: in the config file.
In both cases the external IP should be provided with port, i.e. -e ADDRESS=your.external.address:28967 or

contact.external-address: your.external.address:28967