Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
everything is working great on my local host. but other people can't connect to the external IP (got Ip from Ipchicken.com)
I forwarded my ports on my router (20,21,80,443,50000-50100), and added the computer to the DMZ list (just for testing if that would made any difference, but it didn't.)
but this link keep saying they're closed (http://www.yougetsignal.com/tools/open-ports/)
tested with 2 routers having same problem for both, different setup of linux though.
now using D-link DIR-300
didn't have any results on external connect, but when I close them I can't connect to the server with SSH,nor can I see the site.
so the iptables does affect the server
any suggestions, what could be the problem and how to fix it?
grt kiwi
Last edited by cskiwi; 02-06-2012 at 10:03 AM.
Reason: iptables add
Okay, so, how about dyndns instead? I suspect you're running some sort of Internet server here. Cool! The IP address is tricky as it renews/changes all the time. However, dyndns allows you to stay accessible even using an dynamic IP address. Check out their services!
How can I make that when you connect to the IP and get the mainpage?
Gonna look for myself now to, but if you know the answer feel free to reply
EDIT: They can already can connect to IP:2000 (I've set the port for hiawatha to 2000)
so now I need to make that they auto connect to that port when they connect to it
If ports 80 or 8080 are not blocked, all you need to do is set up a page called "index.htm" or something like that (see the settings in the server) and your visitors will see that page first...
But, 1 to 1023 seems to be blocked, so there's no option here. So, I assume dyndns to be an option. Set up a domain, delegate that to your IP : port and (possibly) presto! Look into the wizard they have...
Last edited by ButterflyMelissa; 02-06-2012 at 12:52 PM.
he said "Yep they block the following ports: 0 -> 1023, ..." so its likely 80 is not getting through.
for OP, what "router" are you talking about? and what do you mean by "forwarded ports"? you also say "auto connect" for clients, the only way they will "auto connect" is if, as example, they save a url shortcut with fqdn[:]port in it.
Last edited by Linux_Kidd; 02-06-2012 at 12:49 PM.
he said "Yep they block the following ports: 0 -> 1023, ..." so its likely 80 is not getting through.
Yep, did extract that out of the reply
@ OP - by the way, you may want to check with your provider's fine print. There is a healthy reason for these ports to be blocked: so you should not run a server...
I know that it's for security reasons but I mailed them asking if they would open it, probably not gonna work, but it's definitely worth the shot ;P
And for an dynds, I don't want to spend any money on this one, it's just for fun. or perhaps i saw the site wrong and it's an free service.
@Linux Kidd, as I said in first post it's an D-link DIR-300, and by forwarding I mean, I got to the page port forwarding, and add the ports, is there any other way then?
Seconding that, repo. However, a fixed IP address (with ALL the extra's that come with it) comes with a bill. Be warmed.
Depends on the ISP. TimeWarner in Texas only charges $5/mo for a static IP with their basic consumer internet package.
Comcast, on the other hand, won't give you a static IP unless you upgrade to their business class account, which is double the price...
Last edited by suicidaleggroll; 02-07-2012 at 02:19 PM.
if its a real business server then buy an IP. if its occassional access for friends and what-not then just use dyn-dns with a odd port like 2022 or 8080, whatever gets through the ISP, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.