View previous topic :: View next topic |
Author |
Message |
randallr n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Aug 2005 Posts: 3
|
Posted: Wed Aug 17, 2005 12:59 am Post subject: Domain for accessing internal network |
|
|
I have purchased a domain, lets call it "mydomain.com", and I'd like to use it to access the computers on my internal network remotely with ssh. I have a dynamic ip address and have configured a computer as a router (and webserver) to provide access to my other machines. I've had some success with No-IP in accessing the router machine, lets call it "router.mydomain.com". However, I haven't yet figured out how to configure my network so as to access the other machines behind the router, lets call them "machine1.mydomain.com, machine2.mydomain.com, etc". I've looked into a bit, and think I might have to run some dns software, but I figured I'd see what people recommend before I get too into it. So does anyone have any suggestion, or had success with a similar setup? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ter_roshak Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 31 Jan 2004 Posts: 171 Location: Everett, WA
|
Posted: Wed Aug 17, 2005 3:34 am Post subject: Re: Domain for accessing internal network |
|
|
randallr wrote: | I have purchased a domain, lets call it "mydomain.com", and I'd like to use it to access the computers on my internal network remotely with ssh. I have a dynamic ip address and have configured a computer as a router (and webserver) to provide access to my other machines. I've had some success with No-IP in accessing the router machine, lets call it "router.mydomain.com". However, I haven't yet figured out how to configure my network so as to access the other machines behind the router, lets call them "machine1.mydomain.com, machine2.mydomain.com, etc". I've looked into a bit, and think I might have to run some dns software, but I figured I'd see what people recommend before I get too into it. So does anyone have any suggestion, or had success with a similar setup? |
You could always access the other machines behind your router by IP address, although if you have a lot of them with DHCP configurations that would be less than desirable. I only have 3-10 machines up behind my router at a time so I assign them static IP addresses and access them by IP address after I connect to the one machine that is accessible from the Internet. _________________ Josh Miller -- RHCE, VCP
Ditree Consulting
http://ditree.com/
Registered Linux User #318200 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randallr n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Aug 2005 Posts: 3
|
Posted: Wed Aug 17, 2005 6:01 am Post subject: Re: Domain for accessing internal network |
|
|
Yes, I am aware of that. But I was hoping for a more elegant solution, its a bit of a nuisance to log into a machine just to log into another one. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Wed Aug 17, 2005 8:24 am Post subject: |
|
|
You could map different external port numbers to specific machine's IP and port 22. Then you ssh to [external IP] port 2201 (say) and get machine 1, 2202 etc. We do this kind of think at work. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randallr n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Aug 2005 Posts: 3
|
Posted: Wed Aug 17, 2005 2:28 pm Post subject: |
|
|
Thats actually how I have it configured now.
So is there no way to access machineX.mydomain.com, behind the router, directly without specifying port numbers or logging into the router first? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ter_roshak Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 31 Jan 2004 Posts: 171 Location: Everett, WA
|
Posted: Wed Aug 17, 2005 4:23 pm Post subject: |
|
|
randallr wrote: | Thats actually how I have it configured now.
So is there no way to access machineX.mydomain.com, behind the router, directly without specifying port numbers or logging into the router first? |
You would need a seperate Internet facing IP address for each machine in question for that to work, AFAIK. _________________ Josh Miller -- RHCE, VCP
Ditree Consulting
http://ditree.com/
Registered Linux User #318200 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Wed Aug 17, 2005 4:36 pm Post subject: |
|
|
randallr wrote: | Thats actually how I have it configured now.
So is there no way to access machineX.mydomain.com, behind the router, directly without specifying port numbers or logging into the router first? |
You need to specify the port numbers. You don't log into the router. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ter_roshak Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 31 Jan 2004 Posts: 171 Location: Everett, WA
|
Posted: Wed Aug 17, 2005 4:41 pm Post subject: |
|
|
magic919 wrote: | randallr wrote: | Thats actually how I have it configured now.
So is there no way to access machineX.mydomain.com, behind the router, directly without specifying port numbers or logging into the router first? |
You need to specify the port numbers. You don't log into the router. |
That's right, it is generally a poor security practice to allow access to your router from the Internet. That would make your router a target for many attacks -- which is a very bad thing. You should only allow access to your router from your local network. _________________ Josh Miller -- RHCE, VCP
Ditree Consulting
http://ditree.com/
Registered Linux User #318200 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|