Sponsored Content
Special Forums UNIX and Linux Applications VSFTPD slow download outside of LAN Post 302790737 by mantas1 on Saturday 6th of April 2013 03:15:58 PM
Old 04-06-2013
VSFTPD slow download outside of LAN

Hello all. I have VSFTP up and ruining on ubuntu 10.04. It works great inside LAN, however when it comes to using it outside i have some problems. If i try to connect from filezila i get the listing and if i try to download it shows it will take forever to receive a file which is larger then 1mb, if one is less its ok. When i try to download from explorer i get time out error. I use passive mode, here is my vsftpd.conf:
listen=YES
anonymous_enable=no
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
log_ftp_protocol=yes
pasv_enable=YES
virtual_use_local_privs=YES
pasv_min_port=2000
pasv_max_port=2010
connect_from_port_20=NO
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd-virtual
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
hide_ids=YES
user_config_dir=/etc/vsftp/vsftpd_user_conf
dual_log_enable=YES
guest_enable=YES
guest_username=ftp
local_root=/var/vsftp
If i switch to active mode it does work with filzilla, but then i cant login wia explorer. Maybe somebody has any ideas?
 

10 More Discussions You Might Find Interesting

1. Linux

VSFTPD, cannot login

I setup vsftpd.conf as follows and tried to login using root and normal user 'winston' but failed authentication. Any idea what's wrong? ======================== CONTENTS OF /etc/vsftpd/vsftpd.conf anonymous_enable=NO local_enable=YES dirmessage_enable=YES connect_from_port_20=YES... (3 Replies)
Discussion started by: panggou
3 Replies

2. Solaris

How to configure private LAN and coporate LAN on the same machine-Solaris10

Hi , I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10. How can I achieve this? Thanks (1 Reply)
Discussion started by: deedee
1 Replies

3. UNIX for Dummies Questions & Answers

VSFTPD

Hi, I am using VSFTPD. I have instructed it to send all logging informartion to /var/log/messages. I would like it to record the names of users who have failed loggin attempts. I have read up on it but have not found out how to do this. Any ideas? (1 Reply)
Discussion started by: mojoman
1 Replies

4. IP Networking

Slow LAN FTP Transfers with FreeBSD...

Hello, I've got a FreeBSD 6 server running on my network that I used as a file server for my main computer. However I've really become frustrated with the slow up/down speeds I'm getting, about 100KB/s, which is about as bad as if I was using a "real" server. My setup is as follows: ISP |... (4 Replies)
Discussion started by: CyberCat
4 Replies

5. IP Networking

Local Lan, no-ip directed DNS forward, surf within lan

Hi, We have a website running on a local centos 5.4 surfer, static IP. The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server. My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine. However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies

6. Red Hat

Different hostnames with reboot while lan cable, no lan cable

I am facing strange problem regarding hostname on my Linux(2.6.18-164.el5xen x86_64 GNU/Linux), the hostname changes if reboot with lan cable and with NO lan cable Reboot with lan cable: The hostname is ubunut Unable to connect Oracle database using sqlplus some times database is not... (2 Replies)
Discussion started by: LinuxLearner
2 Replies

7. Solaris

Miniroot download slow from WANBoot server

I recently configured a WANBoot server on a Ldom 2.0 running Solaris10u9 with ZFS root. When i start the installation form the client with Ok Boot net - install , it takes at least 20-25 minutes just to download the miniroot on the client .. i read there was a bug on T servers firmware... (2 Replies)
Discussion started by: fugitive
2 Replies

8. UNIX for Dummies Questions & Answers

Vsftpd is not working

Hi, I installed debian jessie and friend asked me to install for him vsftpd, of course, first I try at my vps, but I don't get it to work. there are many tutorials to install ftp server but as i said, it is not working and beside running ftp server, I need for him and some GUI to use it, he is... (2 Replies)
Discussion started by: alanford
2 Replies

9. UNIX for Dummies Questions & Answers

Vsftpd

Hello I am new to linux. I have recently installed vsftpd in my Centos server. I have set the local_umask=0037. But now i can't understand how the window users added in a centos server can see each-other folder. ---------- Post updated at 05:59 AM ---------- Previous update was at 05:55 AM... (7 Replies)
Discussion started by: Maham Zahid
7 Replies

10. UNIX for Advanced & Expert Users

Does vsftpd support user access with client certificate with priv/pub key + vsftpd certificate?

:rolleyes:I am trying to setup all certificate based client-server environment in Linux using vsftpd and curl with openssl. I would like to make a user access with vsftpd certificate and user own client certificate (self-signed) with private/public key. I don't see google posts about the my plan... (4 Replies)
Discussion started by: gogogo
4 Replies
atmelan(8)						      System Manager's Manual							atmelan(8)

NAME
atmelan - Configures LAN-Emulation clients as network interfaces. SYNOPSIS
/usr/sbin/atmelan command arguments OPTIONS
This section is organized by the tasks you can perform with the atmelan command. Each task subsection provides the atmelan command syntax and the arguments to use to complete the tasks. Creating a LAN-Emulation Client Syntax: /usr/sbin/atmelan create driver=name [type=type] [mtu=mtu] [name=elan_name] [lecs=addr [,addr, addr, addr] | les=addr] [unit=unit_number | elan=unit_number] Creates a new LAN-Emulation Client (LEC) and configures it as a network interface. If no additional arguments are specified, the defaults are 802.3 type and an MTU of 1516 bytes. Specifies the physical interface with which to associate the new LEC. Specifies the interface type. The following types are supported: Ethernet/802.3. Specifies the message transfer unit (MTU) size. The following MTU sizes are sup- ported: 1516, 4544, 9234, and 18190. When specified with the name option, the emulated LAN must already be configured on the ATM switch to support the specified MTU size. If it is not configured for the specified MTU size, the request is ignored. Specifies the name of the emulated LAN to join. The emulated LAN name must already be configured on the ATM switch. If the name is not configured on the ATM switch, the LEC joins the default emulated LAN. Note You can join an emulated LAN on a switch only once for each adapter; do not join the same elan multiple times from the same adapter. If you want to join the same emulated LAN on the same switch, you must install another adapter and join the emulated LAN from it. Specifies that the LEC connect to the LAN-Emulation Configuration Server (LECS) at the ATM address specified by the addr arguments for the emulated LAN configuration. You can specify up to 4 addresses. The LEC tries the addresses in order until a successful configuration has been completed. If all addresses fail, the "well known address" is tried before the process begins again. If no lecs option is specified (default), the LEC connects to the LECS at the "well known address". Do not use the lecs option with the les option. Specifies that the LEC go directly to the LAN-Emulation Server (LES) at the ATM address specified by addr argument and bypass the configuration phase. If this argument is not specified, the LEC contacts a LAN-Emulation Configuration Server (LECS) to obtain a LES address. Do not use the les option with the lecs option. Specifies a LEC interface unit number. Specifies an ELAN unit number. For example, to create an emulated LAN interface using Ethernet frame format and Fiber Distributed Data Interface (FDDI) frame sizes, enter: # atmelan create driver=lta0 mtu=4544 To create an emulated LAN interface that bypasses the configuration phase and directly contacts a LAN-Emulation Server (LES), enter: # atmelan create les=LES_A The ATM address is an alias that is in the /etc/atmhosts file. Detaching a LEC Interface from an ATM Network Syntax: /usr/sbin/atmelan detach unit=unit_number | elan=unit_number Detaches a LEC interface specified by either unit or elan arguments from an ATM network. Specifies a LEC interface unit number. The unit_number is obtained by the netstat -i command. Specifies an ELAN unit number. The unit_number is obtained by the netstat -i command. Attaching a LEC Interface to an ATM Network Syntax: /usr/sbin/atmelan attach driver=name unit=unit_number | elan=unit_number [lecs=addr [,addr, addr, addr] | les=addr] [name=elan_name] [type=type] [mtu=mtu] Attaches the specified, previously detached LEC network interface to an ATM network. After the LEC interface is attached, issue the ifcon- fig elanx up command to configure the interface. Specifies the physical interface with which to associate the LEC. Specifies a LEC inter- face unit number. This is the unit number that was previously detached. Specifies an ELAN unit number. This is the unit number that was previously detached. Specifies that the LEC connect to the LAN-Emulation Configuration Server (LECS) at the ATM address specified by the addr arguments for the emulated LAN configuration. You can specify up to 4 addresses. The LEC tries the addresses in order until a suc- cessful configuration has been completed. If all addresses fail, the "well known address" is tried before the process begins again. If no lecs option is specified (default), the LEC connects to the LECS at the "well known address". Do not use the lecs option with the les option. Specifies that the LEC go directly to the LAN-Emulation Server (LES) at the ATM address specified by addr argument and bypass the configuration phase. If this argument is not specified, the LEC contacts a LAN-Emulation Configuration Server (LECS) to obtain a LES address. Do not use the les option with the lecs option. Specifies the name of the emulated LAN to join. The emulated LAN name must already be configured on the ATM switch. If the name is not configured on the ATM switch, the LEC joins the default emulated LAN. Speci- fies the interface type. The following types are supported: Ethernet/802.3. Specifies the message transfer unit (MTU) size. The following MTU sizes are supported: 1516, 4544, 9234, and 18190. When specified with the name option, the emulated LAN must already be configured on the ATM switch to support the specified MTU size. If it is not configured for the specified MTU size, the request is ignored. Displaying State and Counters for an LEC Interface Syntax: /usr/sbin/atmelan show | status [unit=unit_number] Shows the state and counters for a LEC interface. If no unit number is specified, information for LEC unit 0 (elan0) is displayed. Shows the state and counters for a LEC interface. If no unit number is specified, information for LEC unit 0 (elan0) is displayed. Specifies a LEC interface unit number, if you want to display LEC information for LEC unit numbers other than unit 0 (elan0). The unit_number is obtained by the netstat -i command. For example, unit 0 is elan0, unit 1 is elan1, and so on. DESCRIPTION
The atmelan command creates and configures LAN-Emulation Clients (LEC) as network interfaces. The first interface created appears as elan0, the second as elan1, and so on. The atmelan command can also show counters, parameters, and the state of each LEC. SEE ALSO
Commands: atmconfig(8), atmsig(8), learp(8) Files: atmhosts(4) Asynchronous Transfer Mode Network Administration atmelan(8)
All times are GMT -4. The time now is 10:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy