elective-stereophonic
elective-stereophonic
public node from home? singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Author Topic: public node from home?  (Read 2619 times)

skywave

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 36
  • ..to endure to achieve..
    • View Profile
public node from home?
« on: September 22, 2014, 06:55:19 pm »

I want to try running a public node from home.

Is it enough to enter my IP address here:
nxt.myAddress=

..and open port 7874?

will I see my IP node in the Peers tab in the wallet?
If not - how can I check that I actually run a node?
Logged
NXT-M888-3RBA-HVWZ-CV4YY

forkedchain

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +74/-10
  • Offline Offline
  • Posts: 1190
  • bite me
    • View Profile
Re: public node from home?
« Reply #1 on: October 21, 2014, 03:58:36 pm »

you also need:
nxt.shareMyAddress=true
nxt.peerServerHost=0.0.0.0

to test it, from a computer on the internet go to http://youripaddress:7874  and you should get an error message that says

HTTP ERROR: 405

Problem accessing /. Reason:

    HTTP method GET is not supported by this URL

if you get that then it is a public node

Logged
NXT tips: 2319251 or NXT-8SWM-2224-YKWW-22222

Neomadra

  • Sr. Member
  • ****
  • Karma: +37/-6
  • Offline Offline
  • Posts: 441
    • View Profile
Re: public node from home?
« Reply #2 on: January 08, 2015, 03:25:22 pm »

I set up a rasperry pi as node but I haven't really protected it. My concern is about my other devices that are connected to the same router. Can they be the target of an attack, if I have my rasperry pi as public node? This question is probably stupid, but just wanna be sure. :P
Logged

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: public node from home?
« Reply #3 on: January 09, 2015, 04:09:11 pm »

I set up a rasperry pi as node but I haven't really protected it. My concern is about my other devices that are connected to the same router. Can they be the target of an attack, if I have my rasperry pi as public node? This question is probably stupid, but just wanna be sure. :P
Other devices will not be affected if you forward port 7874 to your raspberry since the router will still be blocking incoming connection requests for all other ports.  GRC ShieldsUp (http://www.grc.com) provides a port scanning service that you can use to see if any other ports are open on your router.
Logged

Neomadra

  • Sr. Member
  • ****
  • Karma: +37/-6
  • Offline Offline
  • Posts: 441
    • View Profile
Re: public node from home?
« Reply #4 on: January 09, 2015, 09:24:31 pm »

Thank you very much! :)
Logged

forkedchain

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +74/-10
  • Offline Offline
  • Posts: 1190
  • bite me
    • View Profile
Re: public node from home?
« Reply #5 on: January 22, 2015, 06:09:07 am »

to really do it right, youd setup some kind of dynamic DNS client on your local router or on whatever PC is running NXT.  then use whatever DNS name (full DNS name wirth the .com or .net or .whatever) you chose in nxt.myAddress=   instead of an IP address.

this way whnever your IP address changes you dont have to redo the config

and of course, the router needs to forward TCP7874 to your NXT machine
Logged
NXT tips: 2319251 or NXT-8SWM-2224-YKWW-22222
 

elective-stereophonic
elective-stereophonic
assembly
assembly