Re: linux solutions for private network
From: Øyvind Henriksen (oyvind_at_increo.no)
Date: 07/27/03
- Next message: Bruno Wolff III: "Re: DNS Questions"
- Previous message: Øyvind Henriksen: "Re: Re-booting Windows machine from Linux box"
- In reply to: Lin Qi: "Re: linux solutions for private network"
- Next in thread: Les Mikesell: "Re: linux solutions for private network"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Jul 2003 03:55:29 +0200
The easiest solution, if you can open the firewall:
1. Open up port 80 and/or 443 (ssl) in the firewall
(if you need password protection you need ssl)
2. Install a http server (iis or pws is easiest).
3. Turn on directory index so users get a list of the files available
(no need for html editing this way :-).
4. Then password protect the directory/files through NTFS permissions if
needed.
If you want to use the linux server, this is how I
synchronize files from windows to linux via ftp: (not very pretty ;-)
1. Make a wsh script (or whatever) which records all files (filenames)
in a directory, and puts them in a textfile (c:\sync\ftpcommand.txt) in
a certain format. This textfile will be fed to ftp.exe later.
It should look like this:
user ftpuser ftppassword
lcd c:\sync\files
put file1.zip
put file2.zip
quit
2. Then create a batch file (c:\sync\dosync.bat) like this:
ftp -n -d -s:c:\sync\ftpcommands.txt [linux-ip-address]
3. Make a new entry in sheduled tasks, and browse for the batch file
Hope this helps,
- Øyvind Henriksen
"Lin Qi" <linqi@linqi.my.net-yan.com> skrev i melding
news:bfrhl0$1nvm$2@news.hgc.com.hk...
> I forgot. Internet users are using windows and they are not good at
> technical approach.
>
> > there is a private network:
> >
> > {internet}
> > |
> > |
> > {firewall} ---- {DMZ}
> > |
> > |
> > {FILE_SERVER}
> >
> > FILE_SERVER is running windows os
> > DMZ server is running linux
> >
> > Is there any good solution for internet users to get files from the
> > FILE_SERVER?
> > We can make use of the DMZ linux server (like to do synchronization...)
> >
>
- Next message: Bruno Wolff III: "Re: DNS Questions"
- Previous message: Øyvind Henriksen: "Re: Re-booting Windows machine from Linux box"
- In reply to: Lin Qi: "Re: linux solutions for private network"
- Next in thread: Les Mikesell: "Re: linux solutions for private network"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|