# How do I start my node? I have CGNAT and ngrok now I am totally confused what's next

**URL:** <https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285>\
**Category:** getting started\
**Created:** [January 31, 2020, 2:35pm UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285 "2020-01-31T14:35:27Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![avllrl](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/avllrl/32/68_2.png) [@avllrl](https://forum.storj.io/u/avllrl)\
**Post date:** [January 31, 2020, 2:35pm UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/1 "2020-01-31T14:35:27Z")

</div>

Can someone help me step by step? I’m stuck with ngrok.  
When I run the Storj GUI it doesn’t show.

---

<div class="post-metadata">

**Author:** ![nerdatwork](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/nerdatwork/32/1135_2.png) [@nerdatwork](https://forum.storj.io/u/nerdatwork)\
**Post date:** [January 31, 2020, 2:40pm UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/2 "2020-01-31T14:40:15Z")

</div>

Welcome to the **forum** @avllrl !

> [@avllrl](#):
>
> Storj GUI it doesn’t show

Can you tell us more on what is not being shown ? Do you see any error messages?

---

<div class="post-metadata">

**Author:** ![avllrl](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/avllrl/32/68_2.png) [@avllrl](https://forum.storj.io/u/avllrl)\
**Post date:** [January 31, 2020, 3:04pm UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/3 "2020-01-31T15:04:05Z")

</div>

Hi!

So, I have a dynamic IP address with my ISP. which is Converge here in the Philippines. I heard they use CGNAT.

I am having trouble port forwarding. Not sure if my router allows me to. Though I’ve downloaded ngrok and I created a domain using no-ip.

I’m really confused like hell.

---

<div class="post-metadata">

**Author:** ![cameron](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/cameron/32/69_2.png) [@cameron](https://forum.storj.io/u/cameron)\
**Post date:** [January 31, 2020, 9:40pm UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/4 "2020-01-31T21:40:40Z")

</div>

Hi @avllrl  
Are you running your node through docker?

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [January 31, 2020, 10:10pm UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/5 "2020-01-31T22:10:49Z")

</div>

Hello @avllrl,  
Welcome to the forum!

If you have only free ngrok account, then please, consider to use the [portmap.io](http://portmap.io) instead.  
ngrok on the free account will provide you a dynamic hostname with random port. So, every time when you will run the ngrok, you should update your port mapping and the external address (ADDRESS option) in the `docker run` command: [https://documentation.storj.io/resources/faq/how-do-i-change-my-parameters-such-as-payout-address-allotted-storage-space-and-bandwidth](https://documentation.storj.io/resources/faq/how-do-i-change-my-parameters-such-as-payout-address-allotted-storage-space-and-bandwidth)

In case of [portmap.io](http://portmap.io) your hostname and port will be static and can be used directly in your configuration. You even do not need a DDNS hostname from no-ip

---

<div class="post-metadata">

**Author:** ![avllrl](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/avllrl/32/68_2.png) [@avllrl](https://forum.storj.io/u/avllrl)\
**Post date:** [February 1, 2020, 1:39am UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/6 "2020-02-01T01:39:28Z")

</div>

Ok.

So I switched to [portmap.io](http://portmap.io)

I installed the openvpn software, created a configuration and mapping rules on the [portmap.io](http://portmap.io) website.

The software on my PC says connected.  
I checked netstat and it says 0.0.0.0:28967 is listening.

I downloaded the storj GUI and no, I am not using docker.

What next?

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [February 1, 2020, 2:35pm UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/7 "2020-02-01T14:35:44Z")

</div>

Check your external address and port on [https://www.yougetsignal.com/tools/open-ports/](https://www.yougetsignal.com/tools/open-ports/), place your external address, which is given by [portmap.io](http://portmap.io) to the `Remote Address` field and your external port to the `Port Number` field then click `Check`.

---

<div class="post-metadata">

**Author:** ![guarez](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/guarez/32/66_2.png) [@guarez](https://forum.storj.io/u/guarez)\
**Post date:** [August 6, 2020, 9:22pm UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/8 "2020-08-06T21:22:51Z")

</div>

Hello, I am trying to use [portmap.io](http://portmap.io) to be able to configure my storj node, I have installed the openvpn client and configured the rules on the [portmap.io](http://portmap.io) website, but I am not able to access any port, but I have not managed to make it work

---

<div class="post-metadata">

**Author:** ![guarez](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/guarez/32/66_2.png) [@guarez](https://forum.storj.io/u/guarez)\
**Post date:** [August 6, 2020, 11:00pm UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/9 "2020-08-06T23:00:17Z")

</div>

Finally I have configured [portmap.io](http://portmap.io) and apparently it is working, the problem I have is the following:

I need the IP ranges of the satellites (write some by hand)

I attach the log I have in debug mode, but I don’t see any activity

[root@storj storj]# docker run -d --restart unless-stopped -p 28967:28967 -p 192.168.0.8:14002:14002 -e WALLET=“0xXXXXXXXXXXXXXXXXXXXXXXX” -e [EMAIL="asdcasdc@gmail.com](mailto:EMAIL=%22asdcasdc@gmail.com)" -e ADDRESS=“xxxxxx-21507.portmap.host:21507” -e BANDWIDTH=“6TB” -e STORAGE=“1.7TB” --mount type=bind,source="/root/.local/share/storj/identity/storagenode",destination=/app/identity --mount type=bind,source="/mnt/storj",destination=/app/config --name storagenode storjlabs/storagenode:latest  
[root@storj storj]# docker logs -f storagenode  
2020-08-06T22:51:22.421Z INFO Configuration loaded {“Location”: “/app/config/config.yaml”}  
2020-08-06T22:51:22.456Z DEBUG Anonymized tracing disabled  
2020-08-06T22:51:22.499Z INFO Operator email {“Address”: “[xxxxxxx@gmail.com](mailto:xxxxxxx@gmail.com)”}  
2020-08-06T22:51:22.499Z INFO Operator wallet {“Address”: “0xxxxxxxxxxxxxxxxxxxxxxxxxxxx”}  
2020-08-06T22:51:22.702Z DEBUG Version info {“Version”: “1.9.5”, “Commit Hash”: “xxxxxxxxxxxxxxxxxx7”, “Build Timestamp”: “2020-07-28 13:44:10 +0000 UTC”, “Release Build”: true}  
2020-08-06T22:51:23.734Z DEBUG version Allowed minimum version from control server. {“Minimum Version”: “1.3.0”}  
2020-08-06T22:51:23.734Z DEBUG version Running on allowed version. {“Version”: “1.9.5”}  
2020-08-06T22:51:23.735Z INFO Telemetry enabled  
2020-08-06T22:51:23.735Z DEBUG Initialized batcher {“ID”: “1HJzmgjrzd7dyCDYyN1NpkcmUF2CaFZpo3mREyXgjXZVNH3Hpr”}  
2020-08-06T22:51:23.951Z INFO db.migration Database Version {“version”: 43}  
2020-08-06T22:51:24.647Z DEBUG trust Fetched URLs from source; updating cache {“source”: “[https://tardigrade.io/trusted-satellites](https://tardigrade.io/trusted-satellites)”, “count”: 6}  
2020-08-06T22:51:24.659Z DEBUG trust Satellite is trusted {“id”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”}  
2020-08-06T22:51:24.659Z DEBUG trust Satellite is trusted {“id”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”}  
2020-08-06T22:51:24.659Z DEBUG trust Satellite is trusted {“id”: “121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6”}  
2020-08-06T22:51:24.659Z DEBUG trust Satellite is trusted {“id”: “118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW”}  
2020-08-06T22:51:24.659Z DEBUG trust Satellite is trusted {“id”: “1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE”}  
2020-08-06T22:51:24.659Z DEBUG trust Satellite is trusted {“id”: “12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB”}  
2020-08-06T22:51:24.659Z INFO preflight:localtime start checking local system clock with trusted satellites’ system clock.  
2020-08-06T22:51:25.576Z INFO preflight:localtime local system clock is in sync with trusted satellites’ system clock.  
2020-08-06T22:51:25.576Z DEBUG servers started {“items”: [“debug”, “server”]}  
2020-08-06T22:51:25.576Z DEBUG services started {“items”: [“version”, “trust”, “contact:chore”, “PieceDeleter”, “pieces:trash”, “piecestore:cache”, “piecestore:monitor”, “retain”, “orders”, “nodestats:cache”, “console:endpoint”, “gracefulexit:blobscleaner”, “gracefulexit:chore”, “collector”, “bandwidth”]}  
2020-08-06T22:51:25.576Z INFO bandwidth Performing bandwidth usage rollups  
2020-08-06T22:51:25.578Z INFO Node 1HJzmgjrzd7dyCDYyN1NpkcmUF2CaFZpo3mREyXgjXZVNH3Hpr started  
2020-08-06T22:51:25.578Z INFO Public server started on [::]:28967  
2020-08-06T22:51:25.578Z INFO Private server started on 127.0.0.1:7778  
2020-08-06T22:51:25.578Z INFO trust Scheduling next refresh {“after”: “8h21m58.107255796s”}  
2020-08-06T22:51:25.578Z DEBUG pieces:trash starting emptying trash  
2020-08-06T22:51:25.579Z DEBUG contact:chore Starting cycle {“Satellite ID”: “118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW”}  
2020-08-06T22:51:25.579Z DEBUG contact:chore Starting cycle {“Satellite ID”: “1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE”}  
2020-08-06T22:51:25.579Z DEBUG contact:chore Starting cycle {“Satellite ID”: “121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6”}  
2020-08-06T22:51:25.579Z DEBUG contact:chore Starting cycle {“Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”}  
2020-08-06T22:51:25.579Z DEBUG contact:chore Starting cycle {“Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”}  
2020-08-06T22:51:25.579Z DEBUG contact:chore Starting cycle {“Satellite ID”: “12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB”}  
2020-08-06T22:51:25.901Z DEBUG version Allowed minimum version from control server. {“Minimum Version”: “1.3.0”}  
2020-08-06T22:51:25.901Z DEBUG version Running on allowed version. {“Version”: “1.9.5”}  
2020-08-06T22:51:27.526Z DEBUG contact:endpoint pinged {“by”: “118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW”, “srcAddr”: “10.9.0.1:51060”}  
2020-08-06T22:53:45.268Z DEBUG orders cleaning  
2020-08-06T22:53:45.268Z DEBUG orders cleanup finished {“items deleted”: 0}  
2020-08-06T22:55:34.855Z DEBUG orders sending  
2020-08-06T22:55:34.953Z DEBUG orders no orders to send

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [August 7, 2020, 7:04am UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/10 "2020-08-07T07:04:08Z")

</div>

> [@guarez](#):
>
> I need the IP ranges of the satellites (write some by hand)

It useless. All data transfers are happening between your node and customers across the globe.

---

<div class="post-metadata">

**Author:** ![guarez](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/guarez/32/66_2.png) [@guarez](https://forum.storj.io/u/guarez)\
**Post date:** [August 7, 2020, 12:36pm UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/11 "2020-08-07T12:36:06Z")

</div>

Thanks for the help, I have configured everything and it is working, slow but it works. I was making a mistake giving only permissions to the IPs of the satellites, I have changed it to the range 0.0.0.0/0 and I see traffic again!

---

<div class="post-metadata">

**Author:** ![Hkup859](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/hkup859/32/1121_2.png) [@Hkup859](https://forum.storj.io/u/Hkup859)\
**Post date:** [December 10, 2022, 11:07pm UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/12 "2022-12-10T23:07:07Z")

</div>

@Alexey I know this is an old thread, but your recommendation of [portmap.io](http://portmap.io) does exactly what I’ve been looking for! I do have 1 question though, do you recommend using the free version or the paid one? I’m wanting to use it specifically for storj node hosting, though I may have other services running in the future that also need port forwarding.

Thanks!

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [December 11, 2022, 1:04am UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/13 "2022-12-11T01:04:01Z")

</div>

Before you configure everything, create a mapping and check latency to the host.

From where I live it’s 180ms. This can be a factor in winning races and ultimately, payouts, depending on where you live. Free version not letting you choose a region does not help either.

Maybe consider implementing the same idea yourself on a nearby VPS that offers sufficient bandwidth, with WireGuard and a couple of iptables rules for packet forwarding.

Some providers offer sufficiently capable free tiers, but if you were going to pay for [portmap.io](http://portmap.io) – might as well pay for VPS instead, especially since you planning to do more later.

---

<div class="post-metadata">

**Author:** ![Hkup859](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/hkup859/32/1121_2.png) [@Hkup859](https://forum.storj.io/u/Hkup859)\
**Post date:** [December 11, 2022, 2:03am UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/14 "2022-12-11T02:03:51Z")

</div>

Thanks for the recommendation, would you mind going in more details as to how the iptables work with a vps option? I’m not super great with networking and while I know some basics about port forwarding and ip’s, I don’t know anything about iptables or creating custom rules for a vpn.

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [December 11, 2022, 2:57am UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/15 "2022-12-11T02:57:47Z")

</div>

It’s a pretty common configuration, you can google “WireGuard VPS forward”, there are a few write-ups. This one for example: [Hide your homelab IP with a VPS, WireGuard and iptables :: Cavelab blog — Stories from the Cavelab](https://blog.cavelab.dev/2021/03/vps-wireguard-iptables/)

I’m contemplating to set it up on oracle cloud for myself for some time now, as a backup for when my IPS craps out to maintain the service over cellular hotspot. This may be last kick for me to actually do that, and I can document directions (there are some oracle specific oddities – as their VMs come with pre-defined iptables rules, one need to be careful to insert rules in the correct position: for example, appending rules to INPUT table will do nothing, because there is a DENY rule in position 6)… I’ll make sure to document steps and post somewhere. But that would be oracle specific, and existing articles should be enough for general use and adaptation to your specific VPS. Just make sure your VPS provides sufficient monthly bandwidth

---

<div class="post-metadata">

**Author:** ![Hkup859](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/hkup859/32/1121_2.png) [@Hkup859](https://forum.storj.io/u/Hkup859)\
**Post date:** [December 12, 2022, 2:50am UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/16 "2022-12-12T02:50:12Z")

</div>

Thanks for your insight on this! I really appreciate it!

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [December 12, 2022, 12:03pm UTC](https://forum.storj.io/t/how-do-i-start-my-node-i-have-cgnat-and-ngrok-now-i-am-totally-confused-whats-next/4285/17 "2022-12-12T12:03:49Z")

</div>

Confirmed it’s working on Oracle’s compute instance:

 ![image](https://storj-s3.bcdn.literatehosting.net/original/2X/f/f0e01c9aa9b70cb4e553efe9a0448352c2284a7e.png)

Here is the summary:

> <https://gist.github.com/arrogantrabbit/217a9845eaf9642537eb80d2f700a434>

The most important bit – the iptables rules – are in the end.
