0

I am setting up two vsftp service running on port 21 and port 990. Can someone show me how I can change it to IPv4 instead of current IPv6? I can't find a way to change the setting to IPv4. Below is screenshot.

enter image description here

Tan Le
  • 1

1 Answers1

1

From vsftpd.conf

# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
# Make sure, that one of the listen options is commented !!
listen_ipv6=YES

IOW unless you want to disable IPv6 there's no need to change anything.

Artem S. Tashkinov
  • 26,392
  • 4
  • 33
  • 64