Score:0

vsftpd LAN and WAN access configuration

cn flag

I'm using Ubuntu Server 20.04 LTS baremetal, with the latest version of vsftpd. I have a very small FTP server at home, but I'm facing the following issue:

If I set the local IP on pasv_address (pasv_address=192.168.0.15), I can connect locally, but not externally. If I set my external IP on pasv_address, I can't connect locally.

Is there any way to be able to use the FTP server, both LAN and WAN?

codlord avatar
ru flag
I thought you just DON'T specify pasv_address as the default is `none - the address is taken from the incoming connected socket`
John Balak avatar
cn flag
do you think it's safe like that?
Score:0
cn flag

I fixed this, using my WAN IP on my internal FTP client. Probably not the best solution, but did the job.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.