Hello,
I can't connect to gcp ftp on my instance. the connection times out/closes.
Here's what I've done:
I installed proftpd on my instance.
I opened port 21 to listen to my ip range (in iptables)
I whitelisted my ip range in iptables for both incoming and ougoing connections
I whitelisted my ip range in GCP firewall rules (ingress and egress).
I created 2 connections in connectors (these show an error of "connectin closed"
my FTP SERVER is running and listening. However, these commands time out:
telnet xxx.xxx.xxx.xx 21
nc -vz xxx.xxx.xxx.xx 21
Filezilla also time out.
I even opened and whitelisted port 20:
# iptables -I INPUT -p tcp --sport 20 -j ACCEPT
I also opened incoming connections to a randomly-generated port on the server computer:
IPTABLES_MODULES="ip_conntrack_ftp" (in iptables-config)
I have installed the same instance on a local computer with same configurations and I could ftp.
only thing I didn't provide to this instance is Aspirin
Can someone please from google check the nic for this instance, some card might be disconnected.
I welcome any help from anyone.
Thank you in advance
Hi @GCPsurvivor ,
Noone from Google will check your case based on post here. This is community, not official Support Site. If you need Google's support help , open support case. Did you've checked logs ? Flow logs for subnet are enabled ? What is your OS ? Did you've tried to flush IPTABLES, and try sftp connection without IPTABLES?
cheers,
DamianS