Post
Topic
Board Announcements (Altcoins)
Re: IOTA
by
lordoliver
on 15/01/2017, 23:31:09 UTC
Guys, I have a short question:

can IOTA wallet be successfully run on PC behind a NAT router, or should it be run on a machine with public IP only?
I mean if I want to exchange peers while being behind a NAT, will it work, or I'll need to add static mappings on the router to forward some ports IOTA uses?


Guys, is my question above too hard to nobody can answer, or it is too stipid, so nobody want to answer..? Smiley

I basically ask whether there is a way to have a IOTA-enabled machine running in the corporate LAN, or in a home network behind a NAT router..? How peer-adding needs to be done in that case?

I suppose that is a common scenario, so there should have been discussions about that. Many (I would assume - the majority of) IoT devices will run in a private LAN, being protected by NAT firewall, so botnets cannot infect them. So if we want IOTA wallet to run on them, they need to be able to connect to other nodes outside the LAN, and (the most tricky part) the nodes outside the LAN need to connect to them! With current manual peer-discovery (where the other peer needs real public IP:port to connect) it could be tricky. Opening a static mapping for any single IoT device could be a tiresome task for the net admin. UPNP then? But does IOTA client have a UPNP? Could anyone point me to some discussion or paper about this?
yes, you can run the wallet behind a NAT router http://iotasupport.com/tutorials.shtml

Very kind of you Smiley. But I see not a single page on those tutorials answering my questions above, or even touching that topic (running without static ip is completely different topic). Is there anybody here who is familiar with network administration and can answer my questions/concerns? I suppose there should be one... Undecided


The nodes outside of the lan don't have to connect to you, if you want run a local node/wallet. They only have to know your public ip in order to "allow" your access.
But the nodes you are connecting to have to be public, of course...

Edit: if you want to make your computer public available you have to configure your routers routing tables.