Answer the question
In order to leave comments, you need to log in
How to access FTP behind NAT VirtualBox?
Good afternoon!
Configuration:
Server on Hetzner (maybe this is also important), running Ubuntu 16 with GUI, VNC connection. It costs VirtualBox, it has a Windows 7 guest system (communication via RDP with port forwarding via VB directly to the guest OS, see the screen below).
The guest OS has Ospanel with configured FTP on port 21 with authorization prntscr.com/jos1x3 (the currports utility shows that it hangs on 21, 990 and 14147 (?) ports prntscr.com/jorxt1 ), communication with FTP inside the guest system is via ftp ://localhost:21 | ftp://127.0.01:21
Configured port forwarding the same as I did for RDP from host system to guest system 2222>21 port prntscr.com/jorzen
2222 port is listening in the system,
netstat -an | grep 2222
tcp 0 0 DEDIC_IP:2222 0.0.0.0:* LISTEN
Answer the question
In order to leave comments, you need to log in
In the virtual machine network settings, select the connection type Virtual host adapter. Next, look in the guest IP address, and connect to it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question