Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Ubuntu server causing browsing issues for other devices.

  1. #1
    Join Date
    Aug 2012
    Beans
    20

    Ubuntu server causing browsing issues for other devices.

    Hello everyone,

    I'm new to ubuntu but have a major work to do for uni that involves a server. The server is sitting behind a router with a static ip, both for the router and the server itself. Port forwarding has been set up for ports 22 and 21 so that I can work on the server from home.

    However, there are other devices also using the network that the server is on. A macbook and an iMac. The client for the project wants to use the server as a webserver for their own website but forwarding port 80 to the server interrupts the browsing on other machines, as the reply message to a http request comes in on port 80.

    Any ideas of how I can get around this so that they can have a web server and browse the web on other machines at the same time?

    External hosting is not possible and neither is changing ports used on other devices.

    Thanks,

    Kurir

  2. #2
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,247
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Ubuntu server causing browsing issues for other devices.

    Hello and welcome to Ubuntu forums.
    Your description of what you want to do is fairly normal, and many do it.
    This part:
    ... but forwarding port 80 to the server interrupts the browsing on other machines, as the reply message to a http request comes in on port 80.
    I don't think is correct, or I don't understand. The reply to an out going http request, say from the macbook or imac, woud come back on same port as the outgoing request, not port 80. So there should not be an interruption problem. If there is, we will need some more information.

  3. #3
    Join Date
    Aug 2012
    Beans
    20

    Re: Ubuntu server causing browsing issues for other devices.

    Quote Originally Posted by Doug S View Post
    Hello and welcome to Ubuntu forums.
    Your description of what you want to do is fairly normal, and many do it.
    This part:I don't think is correct, or I don't understand. The reply to an out going http request, say from the macbook or imac, woud come back on same port as the outgoing request, not port 80. So there should not be an interruption problem. If there is, we will need some more information.
    Well I know when I had my client, who is a fair way away, set up port 80 and then try to browse, she couldnt get anything in her browser anymore, and when she removed it, she could.

    So its going out on port 80 on the macbook and coming back into the router on port 80, which then gets routed to the server instead of the macbook.

    This is the problem, as I cant change the outgoing ports on the macbooks etc as I dont have general access to them.

    Thanks for the reply though.

    Kurir

    Edit: After rereading your post, I see your confusion. The problem wasnt browsing to the web server, but to external pages, such as google or facebook, from the macbook or other devices on the network.

  4. #4
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,247
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Ubuntu server causing browsing issues for other devices.

    We will need more detail about the changes made to do the port forwarding on the router.
    It should be possible to do what you want, but perhaps not with whatever router you are using.
    If the macbook is doing normal browsing to external sites, the requests source port would not be port 80, only the destination port. If port forwarding is done only on incoming port 80 requests from the external interface on the router, then things should work as you want.

  5. #5
    Join Date
    Aug 2012
    Beans
    20

    Re: Ubuntu server causing browsing issues for other devices.

    Hi,

    The router being used is a netcomm nb6plus4w. The port forwarding is done through the routers own port forwarding interface in the routers browser page.

    Achieved by giving the server a static ip behind the router(which has its own external static ip) and then forwarding port 22, 21 etc to the server instead of to the normal destinations.

    I really dont have too much experience with networking, it bores me most of the time, but I have the most experience in my group so I am doing it.

    If you need any more information, please let me know.

    James

  6. #6
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,247
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Ubuntu server causing browsing issues for other devices.

    I looked at the manual for the nb6plus4w, and it should be able to do what you want.
    So now we have to figure out why it doesn't seem to be doing the correct things.

    I have seen others on this forum recommend this site: http://portforward.com/
    and for HTTP for that router: http://portforward.com/english/route...LUS4W/HTTP.htm
    and for HTTPS: http://portforward.com/english/route...US4W/HTTPS.htm

    Is that what you are doing?

  7. #7
    Join Date
    Aug 2012
    Beans
    20

    Re: Ubuntu server causing browsing issues for other devices.

    We hadnt tried to forward https, only http. It is a little different to that with firmware changes etc but generally the same. We had it forwarded for both tcp and udp, port 80 to port 80, specifying the internal ip address as well.

    So yes, what I hope was done is that, as that is pretty much what we did to forward ports 22 and 21, and I did try to walk the client through forwarding port 80, as she has some technical knowledge at least, better then most people I've tried to teach before.

    I am going to try remote desktoping to her mac later today or tomorrow and do the port forwarding myself, but any ideas is much appreciated

    Kurir
    Last edited by Kurir; August 7th, 2012 at 07:17 AM. Reason: spelling mistake

  8. #8
    Join Date
    Aug 2012
    Beans
    20

    Re: Ubuntu server causing browsing issues for other devices.

    Bump because im a bit desperate.

  9. #9
    Join Date
    Aug 2012
    Beans
    20

    Re: Ubuntu server causing browsing issues for other devices.

    No more ideas?

  10. #10
    Join Date
    Aug 2012
    Beans
    20

    Re: Ubuntu server causing browsing issues for other devices.

    So, I've used RDP to get into the system and access the router from there, and forwarded port 80 to the server, but couldnt then access the apache server from externally. It apparently does work internally when I dont have it forwarded, but I cant access it externally when i forward port 80

    Apache must be using port 80 for connections on the same network to be able to reach it, but for some reason port forwarding doesnt let me access it from externally.

    Any ideas?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •