Page 1 of 2 12 LastLast
Results 1 to 16 of 21

Thread: Accessing my apache site which is behind a firewall router

  1. #1
    Flak Monkey! Dorza's Avatar
    Join Date
    Jul 2003
    Location
    UK - South Wales
    Posts
    1,762
    Thanks
    34
    Thanked
    17 times in 15 posts
    • Dorza's system
      • Motherboard:
      • Asus P5B Deluxe - WiFi
      • CPU:
      • Q6600 @ 3.06Ghz
      • Memory:
      • 2GB Crucial
      • Storage:
      • 500GB Samsung SpinPoint
      • Graphics card(s):
      • Geforce 9600GT
      • PSU:
      • Cosair HX520W
      • Case:
      • LianLi something something or other
      • Monitor(s):
      • Eizo FlexScan S1910 (1280*1024)
      • Internet:
      • 2mb Virgin (when they want to give me that: else 1mb)

    Accessing my apache site which is behind a firewall router

    How do i allow people to access to my site which is hosted on my machine? Before im pretty sure i supplied my ip addy. But now im behind a firewall enabled router and i havent got a clue how to get around it. My router has my REAL ip and my machine IP starts off as 192 like on a network. Any ideas what i need to provide people if i sent them the link?

    EDIT: My router is a Linksys BEFSX41 btw
    Last edited by Dorza; 31-03-2005 at 01:09 AM.

  2. #2
    I'm just looking Tifosi's Avatar
    Join Date
    Feb 2004
    Location
    127.0.0.1
    Posts
    843
    Thanks
    8
    Thanked
    5 times in 4 posts
    • Tifosi's system
      • Motherboard:
      • DFI LanParty UT nF4 SLI-DR
      • CPU:
      • AMD64 Venice 3200 s939
      • Memory:
      • 2x 1GB DDR400 Corsair XMS
      • Storage:
      • OCZ Vertex 2.5" 64GB SSD
      • Graphics card(s):
      • Geforce G210T / Geforce 7800GT
      • PSU:
      • ?
      • Case:
      • Lian Li PC-V1110
      • Operating System:
      • Ubuntu 12.04
      • Monitor(s):
      • Dell 2405FPW
      • Internet:
      • VM
    need to tell you're router to forwards traffic on port 80 to your IP of 192.168.0.XXX

    probably just need to add it to ther firewall rules, in incoming and outgoing rules.

  3. #3
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    I'm guessing that most home users with have dynamic IP address range.

    the 192.168 address range is private (not visible on the internet) and therefore normally gets nat'ed to a dynamic IP.

    so if you are on your network you could probably hit the IP address of your box or router direct (depending on your network configuration) if you want to hit it from the internet you'll need to know your nat'ed IP address.

    If its on a dyanmic range, I wouldn't bother
    It is Inevitable.....


  4. #4
    Senior Members' Member Matt1eD's Avatar
    Join Date
    Feb 2005
    Location
    London
    Posts
    2,462
    Thanks
    0
    Thanked
    0 times in 0 posts
    • Matt1eD's system
      • Motherboard:
      • MSI K9N6SGM-V GeForce 6100
      • CPU:
      • Athlon 64 LE-1620 2.41GHz
      • Memory:
      • 2 GB DDR2
      • Storage:
      • 1.25 TB
      • Graphics card(s):
      • Onboard
      • PSU:
      • eBuyer Extra Value 500W!
      • Operating System:
      • XP Pro
    Set port forwarding of port 80 (more complicated if you are using FTP aswell) to your Apache webserver's IP - if it's dynamic then make it a fixed IP.

    Then if you are accessing it from the world use dyndns or no-ip

  5. #5
    Flak Monkey! Dorza's Avatar
    Join Date
    Jul 2003
    Location
    UK - South Wales
    Posts
    1,762
    Thanks
    34
    Thanked
    17 times in 15 posts
    • Dorza's system
      • Motherboard:
      • Asus P5B Deluxe - WiFi
      • CPU:
      • Q6600 @ 3.06Ghz
      • Memory:
      • 2GB Crucial
      • Storage:
      • 500GB Samsung SpinPoint
      • Graphics card(s):
      • Geforce 9600GT
      • PSU:
      • Cosair HX520W
      • Case:
      • LianLi something something or other
      • Monitor(s):
      • Eizo FlexScan S1910 (1280*1024)
      • Internet:
      • 2mb Virgin (when they want to give me that: else 1mb)
    Ok so this is what i got:



    .100 is the IP of MY machine. Is this all i need to do? Say if person X wanted to access the site what would they need to type?

    Matt1eD im restricted to useing a 192.168 style of ip i dont seem to be able to change the forwarding to my apaches IP (which i do know btw). I may have missunderstood somthing however since i find this router config stuff rather confusing . Thanks for your help so far

  6. #6
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    they would need to type in the internet facing ip address, not the 192 address as that is none internet routable
    It is Inevitable.....


  7. #7
    Senior Members' Member Matt1eD's Avatar
    Join Date
    Feb 2005
    Location
    London
    Posts
    2,462
    Thanks
    0
    Thanked
    0 times in 0 posts
    • Matt1eD's system
      • Motherboard:
      • MSI K9N6SGM-V GeForce 6100
      • CPU:
      • Athlon 64 LE-1620 2.41GHz
      • Memory:
      • 2 GB DDR2
      • Storage:
      • 1.25 TB
      • Graphics card(s):
      • Onboard
      • PSU:
      • eBuyer Extra Value 500W!
      • Operating System:
      • XP Pro
    Do you have a static IP? Then If you don't download www.dyndns.org and use that or www.no-ip.org and

    Are you using a domain name? If so, set forwarding on that to re-direct it to your dyndns or no-ip subdomain (spoof the address bar if you like) and then dyndns will constantly ping their servers so that your chosen subdomain always follows your IP. Then if entered to a browser your subdomain (or your re-directing domain) it should go through your port forwarding to your server. I think!

    There was an article on this in CPC a couple of issues back. What are you hosting on this?

    any help just ask

  8. #8
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    I'd advise again using dynamic IP addresses for hosting, especially on broadband.

    Hosting a webpage can be considered a breach in the TOC by some ISP's
    It is Inevitable.....


  9. #9
    Senior Members' Member Matt1eD's Avatar
    Join Date
    Feb 2005
    Location
    London
    Posts
    2,462
    Thanks
    0
    Thanked
    0 times in 0 posts
    • Matt1eD's system
      • Motherboard:
      • MSI K9N6SGM-V GeForce 6100
      • CPU:
      • Athlon 64 LE-1620 2.41GHz
      • Memory:
      • 2 GB DDR2
      • Storage:
      • 1.25 TB
      • Graphics card(s):
      • Onboard
      • PSU:
      • eBuyer Extra Value 500W!
      • Operating System:
      • XP Pro
    Quote Originally Posted by ikonia
    Hosting a webpage can be considered a breach in the TOC by some ISP's
    Would they notice if it's a small site with only a few visitors?

    Is it slower to host at home, cause it depends on your upload speed?

  10. #10
    You're god damn right Barry's Avatar
    Join Date
    Jul 2003
    Posts
    1,484
    Thanks
    70
    Thanked
    75 times in 59 posts
    • Barry's system
      • Motherboard:
      • Gigabyte Z270M-D3H
      • CPU:
      • Intel i7 7700
      • Memory:
      • 16GB (2x8GB) Avexir 2400
      • Storage:
      • Samsung 860 256GB SSD, Sandisk Ultra 3D 500GB, LG BR Writer
      • Graphics card(s):
      • Evga GeForce GTX Titan X 12GB
      • PSU:
      • Corsair RM750I
      • Case:
      • Fractal Design Focus G
      • Operating System:
      • Windows 10 Professional
      • Monitor(s):
      • 28" Acer UHD 4K2K
      • Internet:
      • Sky Fibre
    Alot of ISPs won't allow servers and scan your ports for servers (used to get this with blueyonder) but alot of ISPs allow it like Zen

  11. #11
    I'm just looking Tifosi's Avatar
    Join Date
    Feb 2004
    Location
    127.0.0.1
    Posts
    843
    Thanks
    8
    Thanked
    5 times in 4 posts
    • Tifosi's system
      • Motherboard:
      • DFI LanParty UT nF4 SLI-DR
      • CPU:
      • AMD64 Venice 3200 s939
      • Memory:
      • 2x 1GB DDR400 Corsair XMS
      • Storage:
      • OCZ Vertex 2.5" 64GB SSD
      • Graphics card(s):
      • Geforce G210T / Geforce 7800GT
      • PSU:
      • ?
      • Case:
      • Lian Li PC-V1110
      • Operating System:
      • Ubuntu 12.04
      • Monitor(s):
      • Dell 2405FPW
      • Internet:
      • VM
    Hmmm I notice Port Triggering option in your screenshots, not heard of that before anyone care to explain what it is?

    EDIT
    What Is Port Triggering?
    I think of Port Triggering as a way to dynamically forward ports to a LAN PC that needs them at a particular time. That particular time is when it runs a certain application that performs some event that "triggers" the router. This event must be an outbound access of a particular port range.

    that's pretty sweet


    Matt1eD im restricted to useing a 192.168 style of ip i dont seem to be able to change the forwarding to my apaches IP (which i do know btw). I may have missunderstood somthing however since i find this router config stuff rather confusing . Thanks for your help so far
    Your Apache box must have an IP of 192.168.x.x if its behind your router and using DHCP.
    Last edited by Tifosi; 31-03-2005 at 09:00 PM.

  12. #12
    Senior Members' Member Matt1eD's Avatar
    Join Date
    Feb 2005
    Location
    London
    Posts
    2,462
    Thanks
    0
    Thanked
    0 times in 0 posts
    • Matt1eD's system
      • Motherboard:
      • MSI K9N6SGM-V GeForce 6100
      • CPU:
      • Athlon 64 LE-1620 2.41GHz
      • Memory:
      • 2 GB DDR2
      • Storage:
      • 1.25 TB
      • Graphics card(s):
      • Onboard
      • PSU:
      • eBuyer Extra Value 500W!
      • Operating System:
      • XP Pro
    Just found:-

    http://www.portforward.com/
    http://www.jungo.com/openrg/doc/3.14...l/node156.html

    haven't read them, just look relevant

  13. #13
    Senior Members' Member Matt1eD's Avatar
    Join Date
    Feb 2005
    Location
    London
    Posts
    2,462
    Thanks
    0
    Thanked
    0 times in 0 posts
    • Matt1eD's system
      • Motherboard:
      • MSI K9N6SGM-V GeForce 6100
      • CPU:
      • Athlon 64 LE-1620 2.41GHz
      • Memory:
      • 2 GB DDR2
      • Storage:
      • 1.25 TB
      • Graphics card(s):
      • Onboard
      • PSU:
      • eBuyer Extra Value 500W!
      • Operating System:
      • XP Pro
    I don't know what OS you are running Apache on, but looking at some Server 2003 documentation (was tidying up); it says a web server needs ports 80 AND 443? Anybody want to clarify that?

  14. #14
    You're god damn right Barry's Avatar
    Join Date
    Jul 2003
    Posts
    1,484
    Thanks
    70
    Thanked
    75 times in 59 posts
    • Barry's system
      • Motherboard:
      • Gigabyte Z270M-D3H
      • CPU:
      • Intel i7 7700
      • Memory:
      • 16GB (2x8GB) Avexir 2400
      • Storage:
      • Samsung 860 256GB SSD, Sandisk Ultra 3D 500GB, LG BR Writer
      • Graphics card(s):
      • Evga GeForce GTX Titan X 12GB
      • PSU:
      • Corsair RM750I
      • Case:
      • Fractal Design Focus G
      • Operating System:
      • Windows 10 Professional
      • Monitor(s):
      • 28" Acer UHD 4K2K
      • Internet:
      • Sky Fibre
    Quote Originally Posted by Tifosi
    Your Apache box must have an IP of 192.168.x.x if its behind your router and using DHCP.

    No, don't use DHCP should work by just setting your IP as static and using port forwarding

  15. #15
    I'm just looking Tifosi's Avatar
    Join Date
    Feb 2004
    Location
    127.0.0.1
    Posts
    843
    Thanks
    8
    Thanked
    5 times in 4 posts
    • Tifosi's system
      • Motherboard:
      • DFI LanParty UT nF4 SLI-DR
      • CPU:
      • AMD64 Venice 3200 s939
      • Memory:
      • 2x 1GB DDR400 Corsair XMS
      • Storage:
      • OCZ Vertex 2.5" 64GB SSD
      • Graphics card(s):
      • Geforce G210T / Geforce 7800GT
      • PSU:
      • ?
      • Case:
      • Lian Li PC-V1110
      • Operating System:
      • Ubuntu 12.04
      • Monitor(s):
      • Dell 2405FPW
      • Internet:
      • VM
    out of interest what is the Apache IP address?

  16. #16
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    I think he's talking about the IP addresses that apache is running on
    It is Inevitable.....


Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ADSL Firewall Router replacement
    By Zak33 in forum Networking and Broadband
    Replies: 1
    Last Post: 06-02-2005, 06:56 PM

Posting Permissions

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