Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery router safe mode screen slow sound spyware tdlwsp.dll trojan upgrade video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
linux web server

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
emong007's Avatar
Senior Member with 111 posts.
 
Join Date: Jan 2000
07-Jan-2005, 04:51 PM #1
linux web server
i have a static ip broad band. i have the broad band running into a router and the server & work stations connected to it. i have the suse linux box runing as the local server and workstations connected to it's samba share.... that works great.. what i want to do is get to where the static ip hits the linux box from the outside & and still allow other users access to the server & the web...
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
07-Jan-2005, 05:36 PM #2
If i'm understanding right, you want to connect to your suse box outside the network? Or anyone and everyone? Basically for that the safest way would be to use SSH change the port away from 22...say something like port 20000 something you'll remember easy and then you will be pretty secure for remote access.
__________________
Gentoo Developer, and 64bit os user

"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.
emong007's Avatar
Senior Member with 111 posts.
 
Join Date: Jan 2000
07-Jan-2005, 05:54 PM #3
what is SSH?
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
07-Jan-2005, 07:31 PM #4
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
08-Jan-2005, 05:06 AM #5
Quote:
Originally Posted by emong007
i have a static ip broad band.
Is this cable or dsl? With the static IP, my guess is dsl but it's worth asking.
Quote:
i have the broad band running into a router and the server & work stations connected to it.
Is this two seperate devices? As in a cable or dsl modem that connects to a router? Or is it a combo device? Either way, the router should be getting the IP. Does the router have a web interface for configuration? You can setup how the network can access the web from that.
Quote:
i have the suse linux box runing as the local server and workstations connected to it's samba share.... that works great.. what i want to do is get to where the static ip hits the linux box from the outside & and still allow other users access to the server & the web...
I would hope you keep the server behing the router. If you know the IP, then pointing the rest of the comps on your network to the router as the default gateway should get web access for the rest of your lan.
Is that what you were asking? If so, I HTH
lynch
__________________
seldom right,but never in doubt...
Here's a few links I find helpful:
Intro to Linux:A Hands-on Guide
USALUG
A little Linux help
OpenSUSE help+
Bash Commands
tdi_veedub's Avatar
Senior Member with 590 posts.
 
Join Date: Jan 2004
08-Jan-2005, 11:17 AM #6
This is how my network is setup at home:

Internet -> Linksys router (Ports 22, 80, 25 forwarded to Linux Box, rest are closed).
|
->Linux Box(Ports 21, 22, 80, 25, 20000, 10000 open, the rest
are closed with iptables.
->Workstation (no open ports)
->Workstation (no open ports)
->Workstation (no open ports)

This allows public access to ports 80, 22, and 25 on the linux box while keeping the rest of the workstations secure. Also, since ports 21, 20000, 10000 are not forwarded by the router, only the local network has access to them.

I also have IPtables setup on the Linux box, for added security. I only want ports 20000 (usermin), 10000 (webmin), and 21 (ftp) open for the LAN. Having them open to the internet is a BIG security risk. for outside FTP, SFTP using SSH is used. This is much more secure than wide open FTP or TELNET.

The Workstations have no restrictions, and share files amongst themselves and the server freely. This setup does pretty much everything you need to do with the exception of samba (wich could be setup very easily, I don't need it though)

Hopefully this helps you a little.
__________________
Computer specs:
----------------------------------
Dell XPS 1530
Centrino 7500 2.2Ghz
GeForce 8600GT
120GB/2GB
Squashman's Avatar
Distinguished Member with 14,988 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: IIAHYAYCESA,YAADA!
08-Jan-2005, 02:12 PM #7
So what is the problem. You got 22 and 80 being forwarded to the Linux box. If SSH and Apache are running, you should be able to access the box from the Internet.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 12:54 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.