LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2014, 08:24 PM   #1
HypnotiComp
LQ Newbie
 
Registered: Feb 2014
Posts: 3

Rep: Reputation: Disabled
Accessing Linux Server Remotely


I have an old windows box which I have been trying to turn into a server to host some webpages and apps on. I have installed Ubuntu server and setup a static IP (192.168.0.xxx) for the box. Locally I can access the server over SSH, FTP and HTTP. I have also forwarded ports TCP: 22,80 and UDP: 21 for 192.168.0.xxx. However when I try to access the server remotely the page says it is not available. Any help would be greatly appreciated. Thanks!
 
Old 02-20-2014, 08:57 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
So all three are being blocked by public IP. Does the router have any firewall features. Could try dmz on it just to see if that is the case. I'd do it only for a test.

I assume you do have proper external ip of router/modem. I'd also assume you have a single router/modem and not two devices.
 
Old 02-20-2014, 09:17 PM   #3
HypnotiComp
LQ Newbie
 
Registered: Feb 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
My box is plugged directly into my only router. Also I know my external IP is right because when I go to that IP locally it works. It also doesn't work with DMZ.
 
Old 02-20-2014, 09:33 PM   #4
HypnotiComp
LQ Newbie
 
Registered: Feb 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
The only thing I can think of is that my ISP is blocking ports.
 
Old 02-21-2014, 04:37 AM   #5
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Check your ISP service contract, you may find that under your contract terms you aren't allowed to "host" using your connection. If that is the case then the ISP may be blocking traffic on those ports higher up the "chain".

You can try turning your server firewall off, if that allows access then check your server firewall policies carefully.

Try setting your router up with port forwarding of non-standard ports and see if that works. For example set up port 8080 on your external IP to route to port 80 on your DMZ server and see if that works.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing my Linux machine remotely aarsh Linux - Newbie 2 08-24-2011 08:32 PM
What security issues should be kept in mind when accessing a server remotely or tkmsr Linux - Security 4 04-21-2010 09:11 PM
Accessing server remotely through internet? redrobin77 Fedora 5 11-19-2005 07:03 PM
newbie help on accessing my new linux remotely please natbrazil Linux - Software 3 08-28-2003 04:26 PM
Accessing server remotely keymoo Linux - General 2 01-25-2002 01:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration