Forum Moderators: bakedjake
I am using Redhat Linux 7.3, and have installed VMware for Windows,
which will be the guest OS.
I also installed the FTP server in my Linux (wuftpd) and checking it,
showed that the server is active. But I am not able to setup the ftp between
the my Linux and the VMware.. :-(( and also I am not able to
connect up to this machine from other comp's too..
I really tried out all availabe stuff on the web, but am not able to
get it in.. I am a biologist using comp's for mah research work, and so
there may have been something that did not catch my eye as well. Anyway.. lets forget that.
I am here now. I would be very happy to hear from someone about setting up
FTP between Linux and VMware..
Just for you info again..
Host - Redhat Linux 7.3
Guest - VMware (Windows XP professional)
Looking forward to hearing from you :-))
I'd try some standard troubleshooting steps:
Does the guest have an IP Address? (maybe 192.168.*)
On the host, can you ping the guest IP Address?
On the guest, can you ping the host IP Address?
Can the guest browse the Internet (if you've configured things to let this happen)?
Has the guest got the virtual network card installed. In the VMWare settings, is the netword adaptor set to bridged? (A
On the host, make sure the FTP server is running. Can you FTP to localhost (i.e. the ftp server running on the same machine)?
ftp localhost from a terminal. Just a few basic pointers...
HTH,
JP
Still.. here is my reply..
* Yes.. the guest has an IP address
* Yep.. I tried pinging to and fro.. but its does not work..
:-(( .. I mean it dusnt seem to recog either way..
* yep.. I have configured it under bridged networking.. and
so I can browse the net from the guest.. :)
* Yep.. virtual network card is installed ..
* And yes.. FTP server is running on the host.. and I can do
FTP localhost.. :)
Noww... am I missing something here? Looking forward to ur
reply...
-- SS
Next questions -
What is the guest IP Address?
What are the host IP Addresses (run ifconfig)?
Does the routing table on both guest and host include the IP Subnet of the other operating system? E.g., if you type route on the host, and the guest IP is 192.168.90.2, do you see an entry in the route table for 192.168.90.0 using Iface eth1/eth2?
Does the host have a firewall enabled?
JP
Do U want me to give u the result of "ifconfig"? I ran it and
and got 4 sections... one each for eth0, lo, vmnet1 and vmnet8
respectively... if U want I can give U the result screenshot in
the next post...
And I do see the entry if I type "route" on the host.. but in the
Iface column, I dun see any eth1 or eth2 .. instead, I see
only vmnet1 and vmnet8... :-¦
So do u want me to post the screen shot of the wat I got when
I did "ifconfig" and "route"? am not a comp prof U cc.. so was
jus thinking if its alrite to post such details here.. :(
Will do it though, if U say its fine.. :-))..
Luking forward to ur reply...
--SS
The Guest is running in Bridged Ethernet mode, and so has a valid public IP Address on the same subnet as the host.
I have tried to connect across the Internet to the Host IP Address ftp port, but it gets blocked. A traceroute reveals a successful trace all the way to the subnet, but it fails at the last hop to the client. This therefore leads me to believe that either the Linux host has a firewall in place, which has been configured to deny all FTP traffic, or his network provider has blocked off the FTP traffic on the router.
Since you can't FTP on the same subnet, I'm convinced that your Linux machine has a firewall in place using IP Tables.
If I remember the syntax correctly, try running the command
iptables -F as root, and see what happens. HTH,
JP
Yep.. I am inside a Firewall. and So u cant get thru I guess..
But I can access files on the net tat are available thru FTP,
by connecting thru the proxy..
But, for having a FTP setup between Linux Host and VMware guest on the same
machine, does having a firewall really matter? I mean.. I am in an university.
And the university machines are all protected by the firewall, from the outside world.
Is that rite? Now.. does it matter to having an FTP connection between
host and guest in my own machine? :(
Pllzz ignore my lack of knowledge in comp's, in case u think so.. :)..
And I did the iptables thing.. U wanna see the result here or do U want me to stickie it to you?
And finally... a lill note of wat I know.. I have set up the wu-ftpd server in my Machine ( Host - which is linux)
And then I installed VMware (Guest, which is Windows XP) since my work needed that, and now I want to have a FTP setup between
these so that I can transfer files to n fro.. The wu-ftp server is up and running..
But one imp thing u might want to hear is that, not only you.. even my labmate sitting next to me, cannot connect to my sys .. He keeps getting
"connection refused" .. which means the connection is getting thru, but there is sumthing tats blocking.. So is this where
the firewall comes into the picture? And today I tried setting up sum windows FTP servers n clients,
and tried connecting.. but no use.. :-((.. So do U feel U can get this working?
Btw.. thanks a lottt for ur help Jones.. :-)).. luking 4ward to hearing frm you.. :)
Yep.. I am inside a Firewall. and So u cant get thru I guess..
Do you know where the firewall is set? On your machine or by your network provider?
But, for having a FTP setup between Linux Host and VMware guest on the same machine, does having a firewall really matter?
If the firewall is set-up on your Linux OS, then yes. Because your guest OS has been assigned a real world IP Address, this means that to your Linux machine, the guest OS is a separate machine outside of your linux OS, and so all firewall rules apply. The firewall would do its job and treat the Windows OS as an unknown, untrusted, machine, and so protect the Linux OS from intrusion by blocking access.
And I did the iptables thing.. U wanna see the result here or do U want me to stickie it to you?
even my labmate sitting next to me, cannot connect to my sys .. He keeps getting "connection refused" .. which means the connection is getting thru, but there is sumthing tats blocking.. So is this where the firewall comes into the picture?
This gives even more weight to the fact that a firewall on your linux OS is blocking access to the FTP server running on the linux OS. To the Linux OS, your labmates' machine is an unknown machine, just like the Windows OS machine, and so it blocks access.
I have to say I'm surprised the iptables command didn't work. Did you run it as root? Running that command should have opened up your machine to allow FTP access.
JP
[root@malar sudhir]# /sbin/iptables -F
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
iptables v1.2.5: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
[root@malar sudhir]#
And rgding the firewall, am not sure about it.. I guess its set by the network provider.. but as you say,
I dun know if its on my Linux OS as well.. :(.. is there anyway where I can find that? I mean.. Find out where the firewall is?
And in the iptables thing.. I saw two more commands..
iptables-restore
iptables-save
But I have not tried these, coz I dun know wat they do :(..
So .. Wat do U say?