nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Set and access apache from DSL / ADSL connection

This is a discussion on Set and access apache from DSL / ADSL connection within the Web servers forums, part of the Mastering Servers category; Hi all i have already setup and running a web server in my debian box and i wonder how can ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-16-2007, 05:56 PM
Junior Member
User
 
Join Date: May 2007
Location: Greece
My distro: Debian
Posts: 4
paul555 is on a distinguished road
Default Set and access apache from DSL / ADSL connection

Hi all i have already setup and running a web server in my debian box and i wonder how can i access it from the internet(my personal website and the box by ssh).My home LAN excepts my debian box has and a win xp box from where i connect via ssh to debian.The two of them are connected to the internet by my adsl router(Level One FBR-1407A).As far from now from the search i have done i figure out that i have to create an account to dyndns.com and then install and setup ddclient in debian.I have done that but the only i achieved is to ping my account.Does anyone have any ideas?
Reply With Quote
  #2 (permalink)  
Old 07-16-2007, 08:47 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 879
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You need to enable virtual server or port forwarding on DSL/ADSL router. So request will come to router -> forwarded to your internal apache server

Open router web /admin interface and look for server port forwarding
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 07-17-2007, 01:32 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 478
monk is an unknown quantity at this point
Default

Generally router admin IP is 192.168.1.1, open a web browser and type http://192.168.1.1

Find out port forwarding

Enter 80 as port forwarding and internal IP of apache web server such as 192.168.1.100 and port 80

Save changes and reboot router.


Make sure Linux server firewall and router firewall allowing port 80 traffic.
__________________
May the force with you!
Reply With Quote
  #4 (permalink)  
Old 07-17-2007, 01:47 AM
Junior Member
User
 
Join Date: May 2007
Location: Greece
My distro: Debian
Posts: 4
paul555 is on a distinguished road
Default

I enable virtual server on my DSL/ADSL router for web server and ssh and they are working .One more question i want to ask is if it is good to change the default port of e.g. ssh to an another for security reasons?
Reply With Quote
  #5 (permalink)  
Old 07-17-2007, 04:38 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 879
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Yes you should change default port to something else. Also activate and configure firewall. See Failed SSH login attempts and how to avoid brute ssh attacks for more information.
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to host website using adsl router zeebala CentOS / RHEL / Fedora 2 04-01-2008 09:23 PM
How to host website using adsl router zeebala CentOS / RHEL / Fedora 0 11-29-2007 07:15 PM
linex adsl woes mike Computer Networking and Internet/broadband 5 08-20-2007 09:48 PM
Debian recovery mode read only access make it write access Donavit Linux software 1 12-30-2005 12:49 AM
Help ... I mess up with my ADSL router sweta Linux software 1 09-21-2005 07:59 PM


All times are GMT +5.5. The time now is 04:05 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35