Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i'm trying to setup a linux computer as a server and windows XP as a client. So, can anyone tell me step by step how to implement the configuration?? and one more things.. i'm having these dansguardian internet filter on the server. so, does it gives impact to the configuration??
you might want to be a little more clear on what you want, setting it up as a file server for a windows client? as a web server? as a proxy server? as a domain controller? making a linux server can mean so many things, check out my website listed below there are plently of how-to's for setting up all kinds of linux servers. if what your looking for isn't there, you might want to make your question a little more clear next time.
i'm having these linux as a web server and the Computer that access it is using winXP. i'm connected those two computer using the cross cable on the network card (eth1) while the linux server is using the other network card (eth0) that connected to the other server. the topology looks like below:
internet
!
!
!
main server
!
!
!
server (linux-i'm using the redhat 4 enterprise edition)
!
!
!
client (winXP)
okay, your trying to setup a web server? is that what your saying? if thats what you need help with there is plenty of information on my website about using apache in different ways.
Setup Apache2 with Access to Home Directories
Setup Apache2 with OpenLDAP Authentication
Setup Apache2 with OpenSSL
Apache2 with Webdav & htpasswd using openSSL certs
Apache2 & Virtual Hosts
Apache & Mod_Authz_Unixgroup
Apache with user access to their own home directories via webdav and openldap authentication
Mambo + MySql + PHP + Apache
but i guess the main thing you'd want to know about apache is these few things
/etc/httpd/conf/httpd.conf - main config file
/var/www/html/ - were all your webpages will go
chown apache:apache - change the ownership of your webpages so apache can serve them
/etc/init.d/httpd stop
/etc/init.d/httpd start
/etc/init.d/httpd restart
can't i just setup it without using those apache?? because i thought that i want to make it as a gateway for the XP so that my "internet filter" in linux can work as well....
the other things is how to connect the two network card.( the configuration for eth1 on linux and eth on winXP). i try to setup like this:
linux-eth0 --> to internet
ip-192.168.2.1
subnet-255.255.255.0
gateway-192.168.2.50
on my website listed below there is a how-to for setting up virtual ip addresses on machines if thats what your looking for, also you might want to look into webmin, it has some exellent networking tools on it.
it's clear that i'm not understanding what you want, but basically everything i know is on that website, check it out, if it's not up there, then i probably don't know it.
you can try once more to explain to me what your looking for,
are you looking for a proxy server? or a file server? or a web server? or all three ?
actually, i've this linux computer with (dansguardian+ squid+ iptables) as a internet filter. i want to connect the winXP as a client for the linux so that it can access the internet.
so, i just connect those two with the network card. my problem: i just wanna make winXP access the internet successfully while the internet filter that i setup on linux also can work properly!!(if access from the XP). so.. it doesn't matter whether it's web server, file server or whatever as long as the winXP can access the internet through linux and the filter work for that!! that's all..... hope u understand now.
What you want is more of a router than a server. A server serves files and whatnot from a static source (like a harddrive). A router routes traffic from one computer to another. If you want the linux box to go between you and the internet, and get you there, that's a router.
What linux distrobution do you have?
paul_mat: Does he really need squid? It seems like he could fare with just iptables. Or does dansguardian require a proxy?
Last edited by WRSpithead; 03-29-2006 at 08:59 PM.
dansguardian requires a proxy, WRSpithead is right about it being more of a router than a server and on the note of what distro are you using i see you've only had 9 posts and most are on this post i'd image, have you looked into a distro like smoothwall or IPcop? they are exellent router distro's with good web interfaces to them
thanx both you two. i used redhat 4 enterprise edition.
i got those three (iptables, DG and Squid) installed on my linux and working successfully as an internet filter. so this is the output:
and go to the networking title and something in there i can't access my webmin from were i am, but there should be a tick box around there that will allow routing
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.