Port Forwarding
From Pfyshnet
If you are running your node behind a router, you'll need to forward the node's listen port to the machine you're running your node on. Note, these instructions may not be exactly right depending on your router or your distribution of Linux.
- Pick an ephemeral port for your node to listen to incoming connections on. (Pick a random number between 49152 and 65535)
- Note, that if you have already started your node, it has picked a random port number already but that is ok! It will simply use the new number you picked next time.
- Find out what IP number your router has given your machine. On windows open a command window and enter ipconfig. In Linux enter ip addr show in a terminal window.
- Your machine IP number will probably look something like: 192.168.1.X or 192.168.0.X. Write this number down.
- Log into your router and forward the port number you picked to the same port number at the IP of your machine.
- This is where it is VERY router specific. Check your manual for Port Forwarding, or Port Triggering.
- Another nuance of port forwarding is that your router may give your machine a different IP the next time you boot your machine.
- Your router may allow you to reserve an IP for a specific machine. DO THIS IF YOU CAN!
- Go to the directory where you started pfyshnet.jar from. If you have not already started your node do so now. It will create a directory pfysh0. Go into that directory.
- Using your TEXT editor of choice (notepad on Windows, vi/emacs/gedit.. on Linux) create the file pfysh.props
- Add this line to the file. Where <XXX> is the listen port you've picked. (Note: there are no spaces around the "=")
PORT=<XXX>
- Now the next time you restart your node it should be able to correctly receive incoming connections.

