how to set up a specific home server. What I'd like to do is set up my home server to check mail from various ISP's that use either POP3 or IMAP, then make that mail available to a local IMAP server.
Meaning... Server would just check every nn minutes to see if there is new mail at 2-3 different ISP's and if so, copy/move the messages to my server where I would use an IMAP client to check locally from my server. Before anyone mentions forwarding, neither of the ISP's does not offer forwarding services.
I have some beginner questions about DHCP, Avahi, and configuring a small home LAN.Suppose I have a dynamic IP address assigned by my ISP, which requires DHCP be enabled in my dsl modem/router/"firewall" [sic]. Suppose for simplicity I have just one PC behind the dsl modem.I think "enabling DHCP" in the modem/router means that a DHCP client runs on the router, which communicates with a DHCP server run by my ISP when I boot up a PC on my LAN. Is that guess correct? Can I get DHCP to assign a particular local IP, say 192.168.1.10 (which is not the one taken by the router--- for this discussion, let's say that is 192.168.1.0) to my PC each time I boot it up?
Now suppose I want to build a stand-alone firewall, so that my LAN will have the firewall and the first PC behind the modem, with the first PC virtually behind the firewall. By default, I think these will both have DHCP clients running which I need to configure properly. The firewall should also have a DHCP server which should control how local IP addresses are assigned, correct? I should try to arrange that the LAN has only DHCP server, only one NTP timeserver, only one DNS nameserver, correct?My first PC seems to have installed an autorun client called Avahi, which performs DNS multicast services and incorporates something called zeroconf which seems to have something to do with remote desktops, which I don't need and which is a potential security hazard. But it seems that Avahi is an intrinsic part of the KDE desktop and cannot be removed. Just want to be sure that Avahi can coexist comfortably with dhcp3-client, which is also installed on that PC. They perform different tasks, correct?If I can get the stand-alone firewall to work, I know I need to turn off the commercial firewall in the dslmodem/router/firewall device. Should I purchase a bridge and try to turn off the routing function also?
I'm running gnome desktop on squeeze system. When I boot my system seems to be using my internet modem as its dhcp server. The rest of the machines on my lan are correctly using my router for that purpose. As a result, what happens then is that my debian machine frequently gets a duplicate ip address assigned to it. I would like to specify to my debian computer that I want it to use the specific fixed ip address of my router for dhcp purposes.
I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.
I have debian Lenny as an server I would like for monitoring of some network components ( switches, printers, routers ... ) and at
/usr/share/snmp/mibs I have /usr/share/snmp/mibs# ls -l total 1844 -rw-r--r-- 1 root root 17455 2008-12-16 18:22 AGENTX-MIB.txt -rw-r--r-- 1 root root 36576 2008-12-16 18:23 BGP4-MIB.txt -rw-r--r-- 1 root root 36959 2008-12-16 18:23 BRIDGE-MIB.txt .... ls -l | wc -l shows 66, what means 66 differen mibs.
snmp related packages I have installed are as : dpkg -l | grep ii | grep snmp ii libgsnmp0 0.2.0-2.1 an SNMP library implementation based on glib and gnet ii libsnmp-base 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) MIBs and documentati ii libsnmp-perl 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) Perl5 support ii libsnmp15 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) library ii snmp 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) applications ii snmpd 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) agents
My question is, how I can install additional mibs ( for Cisco, Procurve, etc ) for other hw I could have ? What is procedure. I browsed debian package base and I could not find some more packages related to snmp that could supply more mibs.
I configure squid to work with squidGuard , and all thing work properly , but there is problemfirst look to this squidGuard.confdhhome /usr/local/squidGuard/dblogdir /usr/local/squidGuard/log
As you can (maybe) see, my entire /home folder is shared. For various reasons, I'd prefer it if only say my music and videos were shared, how do I do that? I've looked around the web and seen some other people's samba.conf files but mine looks totally different and I don't want to lose the functionality I have by messing around with it.
Im trying to add users to my nfs server with a specific home directory that already exists. Can this be done? I've done some research on google and other forums but cant seem to find the answer.
I want to try and set up a server on a home PC, using Debian of course, rather than on a remote server. hosting web pages, a mail server and a file server etc. Installation looks fairly straightforward. However, there are one or two things that are not too clear to me:
A. Is it best to connect the server using Ethernet or is wireless OK with network manager or wicd or doesn't it matter? Answer: Wired ethernet is best
B. if the IP of my desktop Debian (wireless) has the same IP as the server, how do I connect from my desktop? The router has its own static IP address but assigns two different IP addresses, one to the desktop computer and the other to the PC being used as a server.
C. I have a static IP and a domain.com without hosting but it's status is "parked". Not too sure what this implies. [When domain is "parked" it means it is still hosted by the company that registered it. So it's necessary to "unpark" it.] It was very easy to unpark the domain as explained in a reply post below.
D. setting up DNS with the static IP? [Answer: in the case of the company i registered with, I didn't have to set up any DNS because the domain works with the company name servers, so it was much less complicated than i imagined.]
E. I seem to have only ONE Primary DNS for my connection.
F. it's better on a server to have no Desktop. It looks easy enough to install but, accustomed though I am to the CLI. configuring without cut and paste is very tedious.Can anyone suggest a way round this? I've thought of trying to use the lynx browser and nano. [Answer: Best to install the server without a Desktop. For editing files I used PuTTy, which enables me to cut and paste and nano having found vi pretty unfriendly. One day i'll get round to using vi or vim which may be more than a blast from the past! Once the thing is fully set up it would be nice to connect to the server from the first desktop computer using GUI tools.
Does Debian support Hibernation? I have a home file server, I'd like it to hibernate (and use least power as possible) when not in use. To access remotely we'd use wake on lan. I couldn't find any how tos on the wiki.
I might as well start off by saying that I have the Linux-based Linksys WRT54GL router running the Tomato firmware. I've come up with an idea that I'm not sure is possible. Specifically, setting a router up to ban not by the MAC address of the network card, but by the operating system the machine itself is running.
This way someone could have, say, a laptop dual-booting Windows and Linux and would be unable to access the internal network if they are in Windows. However, if they reboot into Linux (or practically any other OS) they would be able to access the local network safely without the chance of spreading worms and whatever else garbage across the internal network. Similarly, other devices like Xbox 360s, Wiis, etc. would be unaffected since they don't run Windows. [Yes, 360 probably runs some highly modified NT kernel, but almost nothing else is similar to a Windows PC and the whole system is highly locked down by Microsoft, so I'd say it could be an exception.]
I was thinking of specifically banning Windows XP and lower (honestly as f***ed up as I've seen Vista and 7 get, I would consider banning those too...). The idea is to allow, well... everything that isn't Windows (except possibly Win7) to connect wirelessly to the local network.
Unfortunately, I cannot do anything like this just yet, and I'm in the planning stages, trying to figure out if it is even possible. There are unfortunately two computers in the house that aren't mine (one running Windows XP and another Windows 7... go figure, they came with it and either my sister refuses to use anything else or my mom's computer's wireless is a massive PITA to get to work in anything *besides* Windows). My guess is that this is either not possible or would be extremely hard to pull off. What do you guys think?
On the other hand, it would probably be possible to connect two routers to the incoming cable connection, giving them both different settings (SSIDs, WPA passwords, etc.) and only giving Windows users access to the outer router, but it'd be cool to be able to accomplish something like this with one router through its settings.
i am searching for way to connect to my home network from any point only just if i have internet. i've heard about VPN and i think that this is right solution for my problem. can anyone point me to doc for beginners for setting up a VPN server? ps i've already searched for some articles and found two which were really for newbie, but it is interesting to find "best" how to for configuring vpn server.
I have 2 windows pc's in my home and an office computer that have my files strewn about. I wanted to have them all in one central location that keeps a backup copy, so i used an old machine to start building a file server. I installed debian 5.0 on the machine, command line interface only. I have gotten ssh working so that i can do all my work on the box from one of my windows pc's by logging in with putty.my current problem is how to easily use the box hard drive for storing my files in an easily accessible way. i'm still working on getting samba to work so that i could map the /home directory to a drive letter on my two home pc's, but i'd also like to access files from my work pc. Before i do that, though, i wanted to know if this is safe and secure to map a drive on a remote machine through the internet? Are there any other security concerns I need to be addressing by having this file server set up?
I've decided to try and setup a simple home server with Debian. I can either install the OS on a compact flash card and use hard disks as storage, or just install everything on the hard disk. I'd also like to set up a software raid for mirroring. I've never done this before, and most recently updated documentation i've found is for ubuntu. Any advice or good links someone can point me to on how to set up raid? I'd like to encrypt my hard disks but I don't know what my options are. It seems like people point to truecrypt, but i'm wondering what else is out there or if people have any advice on this. Would it be feasible to do this if I install the OS on a compact flash card and?
I'm trying to set up a bind9 server for my home network, I have all my IPs set to 10.0.0.X. I would like the forward and reverse to be simply "machinename", not "machinename.domain.com", as I don't want to type a domain everytime.
In my named.conf zone "net.local" in { type master; file "/etc/bind/net.local.ns"; allow-update { none; };
I am trying to set a home file and print serverwhile learning about Linux at the same time. How ever I have hit a wall...I am trying to install samba but I have the following messages...
Urbie:~# apt-get install samba Reading package lists... Done Building dependency tree
I'm trying to setup a NFS4 server (no security, local home network behind FW). It seems that I'm missing something because 'rpcinfo -p' does not list v4 for NFS: petit-pois:/home/eric# rpcinfo -p
I have a very strange problem for me. In this example dns and IP is hiden for security reason. When I try from putty manager to connect to my Debian and write next command:
Installed Ubuntu along with Debian on my Notebook and use Grub Manager to choose between them on startup. Since i like Debian now a lot (in past days it was a very hard system to handle, but there has been some progress i noticed), i have to change some things (want Debian as main system now) For Ubuntu i have: (was meant to be main system on Notebook) "/", "/home" and a "swap" partition, but since i am now going to use mainly Debian, i wanted to store my files all in the "/home"-folder of my extended Ubuntu partition (has much more space available) not in the "/home" folder of the Debian system. So i want both (Debian and Ubuntu) to use the same extended partition ("/home") which i created for Ubuntu to save their files like downloads, videos, and so on.
i recently installed apache2 mysql php exc. to run a realtime stat site for my servers.the only thing is that the buttons/ images are not showing up.i checked that my GD was up to date and installed perl5 GD. dont know what else to check.my site with problems go to:http://24.20.177.228/stats_public
To allow specific IPs login to FTP server I'm using
Code: <Limit LOGIN> Deny from all Allow from xx.xxx.xx.xx Allow from xx.xxx.xx.xx (where x there is IP numbers)
and so on, for all IPs I give access to.
But now I have question, is it possible to make something like this but just for specific users? For example there is user 'user1', how to allow login IP 77.77.77.77 to 'user1' account and deny all others ?
How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".
The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .
my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)
I want to run a specific command from one server to another. For example I have a server called A(client) and a server called B(Server). How would i fire a command on Server(B) while working on Client(A). One way of doing it is using ssh
"ssh -tq 10.180.8.231 ls -ltr"
but whenever i execute the command it ask for the password. How would i reduce effort of putting password again and again.
I want to restrict the type of files that can be accessed on my web server.For example only flash movies (SWF files) and one specific PHP file.I can think of a number of ways of doing this:1. Linux file permissions, but since the SWF files need to access various PHP files and those PHP files need access to other files themselves that may not work.2. Using mod_rewrite if that is possible, I don't know as I have never used it.
I use subversion to check out some small projects and small games from time to time. Sometimes I see the 'U' which means upgrading coming in different places or even coming twice 'UU' . Now I always wondered if there is some specific reason why it comes out that. Here's an example of the check-out done from a game called dawn-rpg. As the name suggests its a role-playing game . dawn-rpg.sourceforge.net Anyway here's the checkout :-
[Code]...
Now see that all the deviations of U from third line as to how they appear ? Put simply 'A' is for addition of new files and 'U' is for upgrading/new version of somefile but do not undertand why it behaves/d that way. I have seen this in some others svn also.