Portál AbcLinuxu, 15. června 2025 17:27


Dotaz: prihlaseni k ftp ze site

16.3.2005 08:10 josef skladanka
prihlaseni k ftp ze site
Přečteno: 171×
Odpovědět | Admin
dobry den, na serveru jsem rozchodil proftpd 1.2.9 mam ale problem s prihlasenim se - pokud zkousim `ftp localhost` tak vsecko funguje jak ma, kdyz ale odnekud ze site zkusim `ftp ip_serveru` zahlasi mi to
>ftp 10.2.0.198
Connected to 10.2.0.198.
500 Sorry, no server available to handle request on 10.2.0.198
mohli byste mi prosim poradit co delam spatne ? diky moc josef skladanka

pro jistotu prikladam i konfigurak:
# This sample configuration file illustrates configuring two
# anonymous directories, and a guest (same thing as anonymous but
# requires a valid password to login)

ServerName                      "Oltis"
ServerType                      standalone

# Port 21 is the standard FTP port.
Port                            21

# If you don't want normal users logging in at all, uncomment this
# next section <
#<Limit LOGIN>
#  DenyAll
#</Limit>

# Set the user and group that the server normally runs at.
User                            ftp
Group                           ftp

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances                    30

# Set the maximum number of seconds a data connection is allowed
# to "stall" before being aborted.
TimeoutStalled                  300

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin                    welcome.msg
DisplayFirstChdir               .message

<Limit LOGIN>
        AllowAll
</Limit>

# Our "basic" anonymous configuration, including a single
# upload directory ("uploads")
<Anonymous ~ftp>

  # Allow logins if they are disabled above.
  GroupOwner            oltis
  <Limit LOGIN>
    AllowAll
  </Limit>

  # Maximum clients with message
  MaxClients                    10 "Sorry, max %m users -- try again later"

  User                          ftp
  Group                         ftp
  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAlias                     anonymous ftp

  # dovoli zapisovat vsude po ~ftp
  <Limit WRITE>
    AllowAll
  </Limit>

  # An upload directory that allows storing files but not retrieving
  # or creating directories.

</Anonymous>

<Anonymous ~ftp/radar>
        User    radar
        Group   radar

        <Limit LOGIN>
                Order   allow,deny
                Allow   from all
        </Limit>

        <Limit READ DIRS>
                IgnoreHidden    on
        </Limit>

        <Limit WRITE>
                AllowAll
        </Limit>

</Anonymous>
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Na otázku zatím nikdo bohužel neodpověděl.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.