HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free and registered users see less advertising! If you just want to browse through the existing questions, just select the forum that you want to visit from the selection below. Otherwise, click here to register!. We highly recommend that you print a copy of our Guide for New Members. Enjoy!

iptables, samba and ftp

Currently I faced disk space problem in the ESX server, I want to move some of the files to the Windows server to free up the disk space. After doing some searching from the internet, I know I can either use samba or ftp to copy files between Linux and Windows Server.

To use either samba or ftp, I need to disable the firewall at the ESX server by issuing this command: esxcfg-firewall -U. After comleted, I then re-enable the firewall by issuing esxcfg-firewall -L command. I have to keep repeating these 2 steps whenever I need to move files between these 2 servers .

Although I know the port numbers used by samba and ftp, but I do not know how to open the port from the Linux server. I tried some examples found from the internet using the iptables command but it does not work, both samba and ftp return me connection refused . Can anyone help me on this issue?