Bitcoin Forum
June 22, 2024, 09:23:38 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to assign (external IP) to a local IP? for co-location and login remotely  (Read 1175 times)
papaminer (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


Free World


View Profile WWW
May 23, 2013, 07:22:28 PM
 #1

Hi,

I was able to wire all my rigs (3) into a router and I check my routers LAN connection...

There I can see all the IPs of the rig... from http://192.168.1.2/ to http://192.168.1.3/

now... I am planning on putting a similar setups at a garage of my friend... (he has 2 car garage and only have 1 car)... plus my electricity is already almost max out in terms of kw and house electric panel... so yeah I think it is better to have an extra rig in a friends garage than of a commercial building... which costs $1000+ versus a friends garage would only be around $200 + electric bills and a free internet... Smiley

now my problem is how do I access those rigs via putty or assign unique IPs for each rig?

I know about logmein but I am running xubuntu 12.10 (LINUX)... and I don't think logmein supports that? plus I already like putty or shell access...

I also have done similar project before but with (RDP) REMOTE DESKTOP PROTOCOL... but that was only for one computer... (you will have to forward the computers local ip to a port you want it to work and just login via the internet ip and that connects you to that computer...)

But I do not know how to do this on multiple computers or rigs...

for example: my External IP is
97.240.50.1

Generally only 1 IP (not even static) for COMCAST RESIDENTIAL...

how do i login to RIG1 or RIG2 or RIG3

from an IP of: 97.240.50.1 with SSH port 22

Huh

Any help/ideas is appreciated... thanks...

฿: 1L7dSte4Rs4KyyxRCgrqSWYtkXdAb4Gy1z

MORE INFO ABOUT ME: BTC
rayfloyd
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
May 23, 2013, 08:42:48 PM
 #2

If your friend have a static IP, great, else sign up for dyndns.org (they have free dns services)

In your router forward port ex. 2345 to port 22 of your 192.168.1.2, port 2346 to port 22 of 192.168.1.3 etc.

So you assign different ports of a single IP to single ports of multiple IPs.

Be aware though that opening ports on your router leaves open holes that can be breached (you must make sure your machine on the other end of the port is secure), so make sure you put a steel door on it, google some methods to protecting your network after port forwarding.

Edit: DD-WRT would give you the best options as far as security is concerned, default firmwares of home routers such as d-link are good at security as much as a strainer would be good at covering you during heavy rain...

Edit2: The DD-WRT wiki has a pretty nice explanation of how port forwarding works, and also a tutorial for DD-WRT users. http://www.dd-wrt.ca/wiki/index.php/Port_Forwarding

Edit3: How to know if your router supports DD-WRT, http://www.dd-wrt.ca/site/support/router-database

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!