-
Hi! Sorry for the newbie questions but I managed to get sftpgo working locally in Debian 10. I created a user in the web admin, I was able to add a shared folder from my NAS and I can connect to the server with my local IP. But where do I go from here if I want to be able to access the server from remote? I changed the "port": under "sftpd" to 1910 (there's 2 sftpd ports in the sftpgo.jso. I changed both because I don't know the difference between them) I opened port 1910, 50000-50100 in PFSense and pointed them to my local sftpgo machine's IP. I confirmed that port 1910 is OPEN. Here are my Pfsense settings in /Firewall/NAT/Port Forward: Port 1910: Destination: WAN address Port 50000-50100: Destination: WAN address What else do I need to do, is there a guide for people like me? I tried connecting to it but it times out so I guess I'm just going about this the completely wrong way :) Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, the default sftpgo.json configuration file has just one SFTP port:
the default is 2022. If you change the port you have to restart the SFTPGo service to apply the change. The port range |
Beta Was this translation helpful? Give feedback.
-
Hi! Thank you for the quick reply! So after a few hours of trying different things, I finally figured it out. I changed the port back to the default 2022, here:
and changed the port back to zero, here:
and restarted sftpgo: I then removed the 50000-50100 and 1910 port forwarding in Pfsense and then added a new port forwarding to 2022 like this: Destination: WAN address The NAT reflection seems to be the thing that made it work. I can now connect to it using Windows Powershell using "sftp -P 2022 user@myWANipAddress" I really appreciate your help, thanks again! :) |
Beta Was this translation helpful? Give feedback.
Hi,
the default sftpgo.json configuration file has just one SFTP port:
the default is 2022. If you change the port you have to restart the SFTPGo service to apply the change.
The port range
50000-50100
is for passive FTP. If you are only using SFTP you just need to open the configured SFTP port. Please also make sure that your debian server use your PFSense as default gateway