← Back to team overview

sslug-teknik team mailing list archive

RE: Problem med ftp på en e-smit server Del 2

 

Problemet er løst.

MVH Jan

> -----Original Message-----
> From: Jan larsen [mailto:jan@xxxxxxxxxxxxx]
> Sent: 6. maj 2002 19:59
> To: sslug-netvaerk@xxxxxxxx; sslug-teknik@xxxxxxxx
> Subject: [TEKNIK] Problem med ftp på en e-smit server Del 2
> 
> Er der nogen der har en e-smith server, hvor de bruger ftp (proftp) på
> den.
> 
> Når jeg inde fra, eller ude fra, skriver "ftp www.ringtoften.dk elle
ftp
> 
>  -A www.ringtoften.dk" eller ftp 10.1.1.2 så kan jeg komme ind.
> 
>  Se her hvad den skriver.
>  "
>  ftp 10.1.1.2
>  Tilsluttet 10.1.1.2
>  220 ****.*****.dk FTP server ready
>  bruger (10.1.1.2:(none)): ***
>  331 Password required for ***
>  Adgangskode:
>  230 User *** Loged in.
>  ftp> ls
>  200 PORT command successful.
>  425 can't build data connection: No route to host
>  ftp> dir
>  200 PORT command successful.
>  425 can't build data connection: No route to host
>  ftp> bye
>  221 Goodbye
>  "
> 
>  10.1.1.2 er serveren på dmz
>  Det ser ud til at jeg kan komme ind I til den, men at den ikke kan
>  sende data tilbage.
> 
>  Serveren er en e-smith V. 4.1.2
> 
>  Når jeg er på server (den selv) og skriver ftp 10.1.1.2 som er den
> selv, så er der ingen problemer. Ftp programmet er proftp.
> 
>  Er der nogen der kan se mit problem, og som også har et svar til mig
>  ??
> Jeg har åben for port 20 og 21, samt 6000 til 6005 ind ude fra, på min
> firewall.
> 
> Vis jeg skriver "masqueradeAddress 10.1.1.1 ( ip på min firewall
netkort
> på dmz), så kan man ikke komme ind på den.
> 
> Det den smider i hovet på mig " No route to host " den kan jeg ikke
> forstå ??
> proftpd.conf ser sådan ud.
> 
> ""fil start"
> 
> DefaultRoot	/home/e-smith/files
> DefaultServer	on
> DenyFilter \*.*/
> AllowChmod		false
> DisplayFirstChdir	.message
> DisplayLogin	welcome.msg
> Group		public
> MaxInstances	30
> ServerAdmin	admin@xxxxxxxxxxxxx
> ServerIdent	off
> ServerName		"ProFTPD e-smith installation"
> ServerType		inetd
> PassivePorts 	6000 6005
> UseFtpUsers	on
> User		public
> Port		21
> <Directory /*>
>   <Limit WRITE>
>     DenyAll
>   </Limit>
> </Directory>
> 
> <Limit LOGIN>
>   AllowAll
> 
> </Limit>
> <Directory /home/e-smith/files/primary/*>
>     AllowOverwrite on
>     GroupOwner shared
>     Umask 027
>     <Limit WRITE>
>         AllowAll
>     </Limit>
> </Directory>
> 
> 
> <Directory ~/home>
>     AllowOverwrite on
>     Umask 007
>     <Limit WRITE>
>         AllowAll
>     </Limit>
> </Directory>
> 
> <Directory /home/e-smith/files/ibays/filer/*>
>     AllowOverwrite on
>     GroupOwner shared
>     Umask 007
>     <Limit WRITE>
>         AllowAll
>     </Limit>
> </Directory>
> 
> <Directory /home/e-smith/files/ibays/r_nyt/*>
>     AllowOverwrite on
>     GroupOwner shared
>     Umask 002
>     <Limit WRITE>
>         AllowAll
>     </Limit>
> </Directory>
> 
> <Directory /home/e-smith/files/ibays/sysinfo/*>
>     AllowOverwrite on
>     GroupOwner shared
>     Umask 002
>     <Limit WRITE>
>         AllowAll
>     </Limit>
> </Directory>
> 
> <Directory /home/e-smith/files/ibays/b_jl/*>
>     AllowOverwrite on
>     GroupOwner shared
>     Umask 002
>     <Limit WRITE>
>         AllowAll
>     </Limit>
> </Directory>
> 
> <Directory /home/e-smith/files/ibays/b_ca/*>
>     AllowOverwrite on
>     GroupOwner shared
>     Umask 002
>     <Limit WRITE>
>         AllowAll
>     </Limit>
> </Directory>
> 
> <Directory /home/e-smith/files/ibays/b_nho/*>
>     AllowOverwrite on
>     GroupOwner shared
>     Umask 002
>     <Limit WRITE>
>         AllowAll
>     </Limit>
> </Directory>
> 
> <Anonymous /home/e-smith/files/primary/files>
>     User public
>     Group public
>     UserAlias anonymous public
>     UserAlias ftp public
>     AnonRequirePassword off
>     UseFtpUsers on
>     MaxClients 10
>     DisplayLogin welcome.msg
>     DisplayFirstChdir .message
>     <Limit LOGIN>
>         AllowAll
>     </Limit>
>     <Directory *>
>         <Limit WRITE>
>             DenyAll
>         </Limit>
>     </Directory>
> </Anonymous>
> 
> <Anonymous /home/e-smith/files/ibays/filer/files>
>     User filer
>     Group filer
>     AnonRequirePassword off
>     UseFtpUsers on
>     MaxClients 10
>     DisplayLogin welcome.msg
>     DisplayFirstChdir .message
>     <Limit LOGIN>
>       Order Allow,Deny
>       Allow from all
>       Deny from all
>     </Limit>
>     <Directory *>
>         <Limit WRITE>
>             DenyAll
>         </Limit>
>     </Directory>
> </Anonymous>
> 
> <Anonymous /home/e-smith/files/ibays/r_nyt/files>
>     User r_nyt
>     Group r_nyt
>     AnonRequirePassword off
>     UseFtpUsers on
>     MaxClients 10
>     DisplayLogin welcome.msg
>     DisplayFirstChdir .message
>     <Limit LOGIN>
>       Order Allow,Deny
>       Allow from all
>       Deny from all
>     </Limit>
>     <Directory *>
>         <Limit WRITE>
>             DenyAll
>         </Limit>
>     </Directory>
> </Anonymous>
> 
> <Anonymous /home/e-smith/files/ibays/sysinfo/files>
>     User sysinfo
>     Group sysinfo
>     AnonRequirePassword off
>     UseFtpUsers on
>     MaxClients 10
>     DisplayLogin welcome.msg
>     DisplayFirstChdir .message
>     <Limit LOGIN>
>       Order Allow,Deny
>       Allow from all
>       Deny from all
>     </Limit>
>     <Directory *>
>         <Limit WRITE>
>             DenyAll
>         </Limit>
>     </Directory>
> </Anonymous>
> 
> <Anonymous /home/e-smith/files/ibays/b_jl/files>
>     User b_jl
>     Group b_jl
>     AnonRequirePassword off
>     UseFtpUsers on
>     MaxClients 10
>     DisplayLogin welcome.msg
>     DisplayFirstChdir .message
>     <Limit LOGIN>
>       Order Allow,Deny
>       Allow from all
>       Deny from all
>     </Limit>
>     <Directory *>
>         <Limit WRITE>
>             DenyAll
>         </Limit>
>     </Directory>
> </Anonymous>
> 
> <Anonymous /home/e-smith/files/ibays/b_ca/files>
>     User b_ca
>     Group b_ca
>     AnonRequirePassword off
>     UseFtpUsers on
>     MaxClients 10
>     DisplayLogin welcome.msg
>     DisplayFirstChdir .message
>     <Limit LOGIN>
>       Order Allow,Deny
>       Allow from all
>       Deny from all
>     </Limit>
>     <Directory *>
>         <Limit WRITE>
>             DenyAll
>         </Limit>
>     </Directory>
> </Anonymous>
> 
> <Anonymous /home/e-smith/files/ibays/b_nho/files>
>     User b_nho
>     Group b_nho
>     AnonRequirePassword off
>     UseFtpUsers on
>     MaxClients 10
>     DisplayLogin welcome.msg
>     DisplayFirstChdir .message
>     <Limit LOGIN>
>       Order Allow,Deny
>       Allow from all
>       Deny from all
>     </Limit>
>     <Directory *>
>         <Limit WRITE>
>             DenyAll
>         </Limit>
>     </Directory>
> </Anonymous>
> 
> 
> #------------------------------------------------------------
> # TEMPLATE END
> #------------------------------------------------------------
> 
> ""Fil slut""
> 
> _________________________________________
> Jan Larsen
> web: http://www.ringtoften.dk
> mail: jan@xxxxxxxxxxxxx
> ICQ#: 16178172
> http://wwp.icq.com/16178172
> http://web.icq.com/whitepages/about_me?Uin=16178172
> _________________________________________
> 
> 
> 




References