Results 1 to 2 of 2
I am running CentOs 4.6 and am trying to get vsftpd to work with ipv6 and ipv4 simultanously. ...using vsftpd
Originally I had a single vsftp.conf file where listen=YES, and ...
- 07-13-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
vsftpd for ipv6 and ipv4
I am running CentOs 4.6 and am trying to get vsftpd to work with ipv6 and ipv4 simultanously. ...using vsftpd
Originally I had a single vsftp.conf file where listen=YES, and only ipv4 ftps would be successfull (as expected). I then commented out listen=YES and added listen_ipv6=YES, and only ipv6 ftps would be successfull (as expected). This confirmed ipv6 routing to the box.
I read a few forums and help pages that suggested I would need two versions of vsftp running, so I have since created two files in /etc/vsftpd
- vsftpd_ipv4.conf
- vsftpd_ipv6.conf
Both files are identical with the exception of the listen commands;
vsftpd_ipv4.conf
listen=YES
#listen_ipv6=YES
vsftpd_ipv4.conf
#listen=YES
listen_ipv6=YES
I can see both file start;
# /sbin/service vsftpd start
Starting vsftpd for vsftpd_ipv4: [ OK ]
Starting vsftpd for vsftpd_ipv6: [ OK ]
# /sbin/service vsftpd status
vsftpd (pid 10274) is running...
...but only the ipv4 ftps are working.
Any idea what I am missing?
- 07-14-2010 #2Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
vsftpd for ipv6 and ipv4
What I have discovered is that what ever .conf file gets "started" first will have priority.
I changed the names from;
Starting vsftpd for vsftpd_ipv4: [ OK ]
Starting vsftpd for vsftpd_ipv6: [ OK ]
(where only ipv4 ftps would work)
to;
Starting vsftpd for vsftpd_ipv6: [ OK ]
Starting vsftpd for zvsftp_ipv4: [ OK ]
(where only ipv6 ftps would work)
I still don't know how to correct this. If any one has any ideas it would be much appreciated.


Reply With Quote