Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have setup my server with Debian Lenny and using ISPConfig 3. I followed the tutorial by Falko over on howtoforge, but I cannot connect to my server remotely via putty, ftp, or even ispconfig using a web browser and port 8080.
The only way I can connect is via a computer inside my network and using the server's ip address. I have setup my server to be a DMZ host so it is fully exposed and all ports opened, (my website pops up over the 'net) but I still cannot log into ispconfig 3, ftp, or putty. I would really like to remotely administer this machine so I can put it in a secure location instead of my wet basement, so remoting in is a must.
Any insight?
Give me commands you would like to see output of and I will post the results. Thanks everyone!
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
if you are talking about accessing it via the internet then you need to configure your router (assuming you have a router) to forward requests on the necessary ports from your internet connection to the ip address of the server
how to do this varies depending on what make and model of router and the firmware that router is using however but most home use routers have a web based interface available from your internal network
usually on 192.168.0.1, 192.168.1.1, or some other similar address depending on the make/model of the router
also note to do this properly you need to configure your server to a static ip if this hasn't been done already
welcome to lq btw
My router is indeed configured properly (I have my server set with a static ip), and that ip is set as a DMZ Host (all ports open to that IP). I also tried individually forwarding those ports in a port forwarding rule contained in the firewall setting.
I double checked just to be sure, but the settings are looking good in there. In the post, I mentioned how I can see the website files from outside my network with no problem, I just cant seem to connect via putty or using the ISPConfig 3 dashboard located on mysite.mydomain.com:8080
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
you could try forwarding port 22 and SSHing into the machine via putty, if that works ssh is similar to telnet but encrypted, and can create a tunnel to forward other protocols, including X (the gui)
I currently use GoDaddy.com to purchase my domains, and I manage the DNS from their console. I have pointed my domains (I have 2 atm) to my routers WAN address and my router forwards all traffic to my server's LAN address via a DMZ Host.
As for the file you want me to check, will post back later on when I am able to get to the server. I cannot access the server remotely (hence why I humbly ask here) =)
just for laughs, try connecting using the IP address to your router and bypass your domain name with GoDaddy.
Code:
ssh -l username xxx.xxx.xxx.xxx
It may be a problem with the host and not the server.
*EDIT
Also, where are you trying to connect from? The ports you are trying to access may be blocked by a firewall from whatever LAN you are trying to access your server from.
OK, on my mac here (on the same LAN as my server) I am able to access the server via terminal and the command you displayed (using the LAN address)
When I try to connect to the server via the ipadress of the router, I get this:
$ ssh -l root 12.345.678.910
ssh: connect to host 12.345.678.910 port 22: Connection refused
$
I understand from previous discussions that my router may not be "looping back" and thats why I can't adress the websites by name from inside the LAN. I still didnt figure out how to fix that either.
try taking it off the dmz ( I know, I know ) On my router ( A D-Link ) I have a virtual server page. I can forward a specific port to a paticular IP address on the LAN.
Just trying to nail down the particulars here. It seems to be a problem with the configuration of the router.
Not to say you don't know how to configure your router or anything, but there is step by step as well as a port checker tool at the bottom of the page.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.