Results 1 to 5 of 5
  1. #1

    Server, router, and accessing services from inside of company lan ?

    Server eth0 (static IP configuration for ISP)
    Ip 89.xx.xx.xx, Under domain:

    Server eth1 has been set to Ip

    Server eth0 got masquerade to pass Internet to eth1 to router.
    Router connected to eth1 has Ip
    Server eth0 pass connections on port 8081 to eth1 > router

    DHCP for lan computers has been set at begining to
    First computer in my internal lan has and it serve IIS on port 8081

    Router pass 8081 to

    I can access server under 8081 port (from outside) and access this computer, but now i need to configure /linux server?/ so it will allow accessing from inside of my company.

    I can't use host's file in Windows because it does not accept ports.

    How to solve it ?

  2. #2
    1.Set the record in the hosts file to
    2.Configure your machine for virtual hosts.
    3.For the virtual host you setup for, create an html file that redirects to localhost:8081

    Seems to be a fair bit of work, but it would accomplish what you're asking.

    Another way could be using reverse proxy, like nginx -
    server {
    location / {

    Easier it will be if you have access to the application that listen on port 8081 and re-configure it to listen on 80 for a while.

  3. #3
    Your solutions are bit far way around, v hosts solution is nice i didn't think of that - but still i would configure every computer on my lan that way, bit problematic. is it no possible to do it with lan way ?.

    olso i can't switch to 80 port, because my linux server has apache and that would block normal apache.

  4. #4
    really no other way ?

  5. #5
    Join Date
    Mar 2005
    Maine, USA
    Why are you double NAT'ing? Makes this very complicated when it doesn't need to be. Just hang everything off the router, and portforward the ports to the server you need off the router. No need to do double NAT.

Similar Threads

  1. Router and network management services
    By itpnet in forum Systems Management Offers
    Replies: 2
    Last Post: 05-12-2010, 04:10 PM
  2. Laptop + Wireless Router = LAN?
    By rougy in forum Hosting Security and Technology
    Replies: 6
    Last Post: 10-25-2009, 12:59 PM
  3. Can't access services from within LAN
    By makko1987 in forum Web Hosting
    Replies: 7
    Last Post: 12-17-2008, 03:07 PM
  4. Problem with accessing internet through router
    By JustinRevoGaming in forum Hosting Security and Technology
    Replies: 4
    Last Post: 02-15-2005, 09:28 AM
  5. option on gateway/router to see hosted sites on own LAN ?
    By greatbeast in forum Hosting Security and Technology
    Replies: 1
    Last Post: 12-07-2003, 12:41 AM

Posting Permissions

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