Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Domain for accessing internal network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
randallr
n00b
n00b


Joined: 17 Aug 2005
Posts: 3

PostPosted: Wed Aug 17, 2005 12:59 am    Post subject: Domain for accessing internal network Reply with quote

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
View user's profile Send private message
ter_roshak
Apprentice
Apprentice


Joined: 31 Jan 2004
Posts: 171
Location: Everett, WA

PostPosted: Wed Aug 17, 2005 3:34 am    Post subject: Re: Domain for accessing internal network Reply with quote

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
View user's profile Send private message
randallr
n00b
n00b


Joined: 17 Aug 2005
Posts: 3

PostPosted: Wed Aug 17, 2005 6:01 am    Post subject: Re: Domain for accessing internal network Reply with quote

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
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Wed Aug 17, 2005 8:24 am    Post subject: Reply with quote

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
View user's profile Send private message
randallr
n00b
n00b


Joined: 17 Aug 2005
Posts: 3

PostPosted: Wed Aug 17, 2005 2:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
ter_roshak
Apprentice
Apprentice


Joined: 31 Jan 2004
Posts: 171
Location: Everett, WA

PostPosted: Wed Aug 17, 2005 4:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Wed Aug 17, 2005 4:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
ter_roshak
Apprentice
Apprentice


Joined: 31 Jan 2004
Posts: 171
Location: Everett, WA

PostPosted: Wed Aug 17, 2005 4:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum