Networking :: Connections In Virtual Machine Getting Dropped?
Mar 17, 2011
I've forwarded incoming connections on port 25 to my virtual machine with the following commands:
sudo iptables -t nat -A PREROUTING -p tcp -i eth0 -d 10.1.1.3 --dport 25 -j DNAT --to 192.168.56.101:25
sudo iptables -A FORWARD -p tcp -i eth0 -d 192.168.56.101 --dport 25 -j ACCEPT
The strange thing is the connections coming through in the virtual machine seem to be getting dropped. A port scan from the internet says the port is closed, but it is not the case as I can see the connection coming through. As you've probably worked out, I am running a mail server. When I send myself test mail, the connections from the senders mail server also gets dropped.
View 1 Replies
ADVERTISEMENT
Oct 1, 2010
One of our RHEL 5.3 servers has trouble about 30% of the time with TCP-based communications, but it does not seem to be firewall issues. From another computer on the same switch, you can SSH to the server sometimes and other times the SSH command will just hang. When it hangs, you can often just Ctrl+C and try it again and it works. Same with HTTP connections. You'll get part of a web page and then FireFox will just hang waiting for the rest and eventually time out. Same goes for communication initiated FROM the server. SSH'ing from the server to any outside server or connecting to any web site works sometimes, but most times not. iptables if off. No other firewalls are running. Tcpdump shows communication gets so far and then stops. It does not matter whether tou run tcpdump on that server or the client connecting to it. Either way you see the connection stops working. MEANWHILE, pinging with small or large packets works flawlessly. 10,000 packets, zero drops.
View 5 Replies
View Related
Jul 4, 2011
I'm working right now with ubuntu 11.04 on my asus ul30vt-x1, my wireless n network is working on a linksys e3000 router, my issue is basically with long file transfers. When the issue started i was reaching speeds of 100 Mbps through my wireless network even when I'm connected at 150 Mbps. However when at this speed, I don't know why, the connection is dropped after some minutes or even seconds. I made some testing on windows, I'm reaching 70 Mbps there and no problem at all with dropping the connection.
So my conclusion is that for some reason the linux driver, in my case, is not able to handle such speed of 100 Mbps. I know that a wireless network will have a throughput of aprox 60% the wireless speed. Right now im trying to apply traffic shapping to my transfers so i can get 70 to 80 Mbps, its being working so far.
View 1 Replies
View Related
Jun 15, 2010
My wireless is flakey -- dropped connections, poor speed, etc. As diagnosis, I loaded the 'wavemon' utility so that I might watch the radio and signal and noise.Things will be good, then fall off, then get better, then go away entirely. Repeat continuously and randomly. For these experiments, my laptops -- more than one -- are on a table.The table is roughly 15-20 ft laterally from the access point. The access point is also 8 ft above the floor vs. 3 ft table height.(grin) While the signal "wobbles" everything else is mechanically stable and otherwise not moving.
View 11 Replies
View Related
Jun 12, 2010
I run Fc11 on my desktop and Fc11 in virtual machine to test the connections that could be established between two linux machine, all the connection from virtual machine to the physical machine are refused the only thing that answer is ping to default gateway.
View 7 Replies
View Related
Dec 3, 2008
I have ubuntu-8.04.1-server installed on virtual machine. It works perfect. Now, I made copy of this virtual machine. I started that copied machine and it works fine, except one thing: network does not work!
I have several others VMs with freeBSD, openBSD or Windows on it, but only ubuntu machine hes network problem after coping. I tried some other VM with ubuntu on it - same problem! I downloaded VM with ubuntu - same problem.I take a look into /etc/network/interfaces file and it looks just as it should (same as before coping) but ifconfig command returns parameters for lo only (before coping there was eth0 and lo).
View 2 Replies
View Related
Jul 3, 2009
apache virtual host to limit the concurrent connections of virtual hosts? Taking into account the host of each virtual user's home directory can also have more than one subdirectory, which should be restricted to a subdirectory. Is beyond the control of the operation of these sites in a subdirectory. Best local restrictions or limitations to the overall situation.
View 1 Replies
View Related
May 27, 2010
I have installed CentOS on a VMwareWorktation and that CentOS, i also install VMware Server (suscess) and setup a guest OS that, but i start this Guest OS, an error show "You may not power virtual machine in virtual machine"...
View 3 Replies
View Related
Mar 22, 2011
I've got the following two subnets.
Code:
Subnet 1: 10.1.0.0/24
Subnet 2: 172.16.0.0/24
A machine in subnet 1 is natted to a static address in subnet 2. For instance 10.1.0.10 is natted to 172.16.0.10.
I have achieved this with the following iptables rule. (in addition to enabling forwarding)
Code:
iptables -t nat -A POSTROUTING -s 10.1.0.10 -j SNAT --to 172.16.0.10
So far this works perfectly. What I want to do now is to add another rule that only nats the machine in case it is NOT accessing subnet 1.
In other words, when this machine accesses any other machine in subnet 1, it should show up as 10.1.0.10. Whenever it accesses subnet 2 of anything else, it should appear as 172.16.0.10.
View 1 Replies
View Related
Jan 2, 2011
I have a strange problem where my machine will suddenly stop responding to connections while still remaining partially connectible. Here's an example sequence of events I have taken (numerous times). If anyone can spot something else I should check or has seen these symptoms before please let me know.1) System is using an Edimax 7318-usg, Ubuntu 10.042) Wifi connection is working, with power management turned off (iwconfig)3) Signal strength does not cause the connection to drop (confirmed with router logs)4) When in a ssh session on the problem machine suddenly the ssh session is dropped "host is down"5) When I attempt to re-initiate ssh it fails, no route to host...6) Pinging it fails, accessing a webpage hosted on it fails, all access fails7) The machine I'm pinging/sshing from still has a good network connection8 ) I check my routers DHCP leases, problem machine still has a valid lease.
9) Router still shows problem machine in routing & arp table & shows active traffic going to and from (I checked the routers states and bandwidth monitor for this)10) I try sshing and pinging the problem machine from the laptop on the local network, it still fails, no route to host, wtf?11) I go to the problem machine physically, wifi connection is up with decent signal12) ifconfig indicates it still holds an IP address13) I open a browser on the problem machine, any webpage loads fine14) I ping the laptop from the problem machine, ok15) I ssh from the problem machine to my laptop, it works16) At this point I ssh from the laptop to the problem machine, sometimes it works sometimes it fails(it seems that pinging/sshing the laptop FROM the problem machine sometimes makes it connectable again).
17) Usually if I wait a while the problem machine will randomly become connectable again at random intervals18 ) The only reliable way to make the problem machine connectable again is manually reconnecting it to the wireless network19) I tailed auth.log ufw.log, etc. nothing suspicious disallowing my ssh connection20) dmesg shows nothing unusual, as far as I can tell, just some activity negotiating WPA keys and suchBy looking at the timestamp for the WPA negotiation and cross referencing the router bandwidth monitor I can tell the WPAnegotiation doesn't make it drop the conectionSo that's it, lol.
View 6 Replies
View Related
Jun 16, 2010
I have a 10.04 on virtual machine (VMWare) Network card is bridged. I wanted to change the connection from DHCP to static IP. Tried both ways already:
[Code]....
The connection is established and ifconfig shows the correct IP, but nobody can ping me and i cannot ping anybody!! I have no connection to the internet.
Code:
vm_ll@me:~$ ifconfig -a
eth1 Link encap:Ethernet HWaddr 00:0c:29:e6:87:69
indirizzo inet:10.1.1.45 Bcast:10.1.1.255 Maschera:255.255.255.0
indirizzo inet6: fe80::20c:29ff:fee6:8769/64 Scope:Link
[Code].....
View 1 Replies
View Related
Mar 6, 2011
I am a linux beginner and dont know that much about networks! I have access to a linux VM. The machine is remote and i access via putty. If i can access this machine via SSH and putty, is there any reason why i should not be able to use ssh tunnelling to connect to a vnc server?
I don't know the details of the server and what firewall is set up but i believe that tunnelling uses port forwarding over the ssh connection that is already set up. Where does the port forwarding actually occur? At the actual linux VM or on the router the VM is connected to?
View 1 Replies
View Related
Aug 28, 2010
I've a weird problem about my honeypot project. All start from installation until running process is going smoothly but when I try to ping my honeyd vm from honeyd host it couldnt but it can be ping from other machine inside my local network. I am also usinng arpd for ARP request reply and standard honeyd config.
View 1 Replies
View Related
Oct 22, 2010
I have removed Network Manager Gnome from my Ubuntu which is a virtual machine(Guest OS),I see the internet is no more running inside this Virtual Machine.While in other Virtual Machines (Other Linux) I had not removed Network Manager Gnomeand I see internet is running fine in them.
View 3 Replies
View Related
Apr 19, 2011
I'm running Red Hat as a virtual machine on VMWare and the network configuration on VMWare is a bridge and i have had this problem, some times does not get network o others do, i have verified code...
View 2 Replies
View Related
Feb 21, 2010
I installed a minimal ubuntu (minimal.iso) on a virtual machine (vmware) on my windows pc using following packages:
Code:
sudo apt-get install install gnome-core gdm network-manager-gnome human-theme x11-xserver-utils tangerine-icon-theme gnome-themes-ubuntu ubuntu-artwork jockey-gtk gnome-utils firefox
I'm using the Ubuntu VM as my local http server. It is reachable via ip - so http://IP-ADDRESS works. I also use samba for shared folders... but ubuntu is not listed in my network. What means that i cannot access files from outside the vm. Do I have to install further packages, because "normal" ubuntu distributions are listed in my network connections. Samba packages are correctly installed.
View 2 Replies
View Related
Jun 8, 2010
I am using Ubuntu 10.04, 64-bit. I am trying to set up a virtual machine on it using vmbuilder. As I understand, I need to set up bridging. If I set up br0, then I cannot get out of the machine. Even a ping to 192.168.1.1 (my gateway) comes back as network unreachable. If I comment out #auto br0, then I can get out (on eth0), but i get an error from libvirt. My /etc/network/interfaces file (eth0 networking works, but libvirt does not):
#auto eth0
#iface eth0 inet dhcp
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.154
netmask 255.255.255.0
[Code]...
View 1 Replies
View Related
Jul 7, 2011
I am currently running ubuntu on a qemu-kvm virtual machine, and the host is fedora. I would like to mount a folder of the host machine on my VM, but never succeeded. The result of the command is :
root@armnlib-kvm:~# mount -v 192.168.1.10:/nfs /nfs
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Thu Jul 7 06:02:43 2011
mount.nfs: text-based options: 'addr=192.168.1.10'
[Code]....
View 2 Replies
View Related
Mar 16, 2011
I had been running my SMTP server with WINE, as the SMTP server software is a Windows-based program (MERCURY), but I cracked the shits with WINE and removed it. Now I am running my SMTP server in a Windows virtual machine.This virtual machine has a different IP address from my host machine, so what I need is for my computer (the host) to redirect incoming traffic on port 25 to the virtual machine at 192.168.56.101 on port 2525.Can someone please help me with it? I think its done with iptables.
View 1 Replies
View Related
Jan 28, 2010
I'm trying to ssh into a virtual installation of ubuntu I have, named "ubuntu-x86" but I can't get it to work for some reason. I have two network cards, both assigned to NAT, on the virtual machine, but one has a static IP address, while the other uses DHCP. For some reason, the command:
[Code]....
View 7 Replies
View Related
Jul 27, 2011
I am a newbie trying to enable virtual hosting and run it on a local machine without fqdn. I checked the http://9.9.9.92/ (my IP address) site and saw my (default) page. I would like to virtuly host a asdf.com If virtualy hosting is setup properly - how do I access the new setup? Just type http://asdf.com ? or is there more to it?
View 6 Replies
View Related
Aug 14, 2010
Can I copy my virtual box VM windows XP virtual-machine files to another Linux computer and run the machine on that computer while I keep on running it on the original computer?
This question is about technical possibilities, not licences.
View 2 Replies
View Related
Feb 3, 2010
how to use CTRL-ALT-DELETE on a virtual Windows machine on my Virtual Box?
View 2 Replies
View Related
Jan 2, 2011
How do I program a virtual machine to auto-start/boot upon boot up of the host system? I am experimenting with SNORT network intrusion detection system and have installed it inside a virtual ubuntu box which I want to start automatically.
View 1 Replies
View Related
Jul 6, 2010
I have a problem with my wired connection. The problem started when I tried and failed to install vmware virtual machine.... now I have no internet connection at all that I can see. This is output of:
ifconfig
eth0 Link encap:Ethernet HWaddr 90:e6:ba:97:64:f0
inet6 addr: fe80::92e6:baff:fe97:64f0/64 Scope:Link
[code]....
View 3 Replies
View Related
Oct 31, 2009
I have a WindowsXP virtual machine which I need to isolate from the host machine completely (have the host act as a bridge but not be visible on the IP layer at all.) It still needs to have Internet access. Obviously it has to be able to contact the router but I would like to be able to block port 80 (or even just block all SYN packets addressed to the router.) I also want to allow port forwarding from the router to the virtual machine. I can use basic iptables but this is way beyond me.
The host OS is probably going to be Debian Lenny but this is not built yet so if someone can recommend a different distro which is as lightweight as possible but will support VMWare, iptables and tcpdump then that would be great. I was thinking of Slackware but I have not used it in ages and from what I can remember their is no real package management.
View 1 Replies
View Related
Jan 3, 2010
I read once that you could use VMWare's converter to convert a physical machine into a virtual machine to run in VirtualBox. Can someone point me in the direction of a tutorial or just give me instructions on how to do this? I was very confused by the converter and how to get the image to work with virtualbox.
View 1 Replies
View Related
Jul 29, 2009
I successfully installed the virtual box on my fedora 8 system, and also created a virtual machine with windows xp OS, it works nicely, I try to configure the serial port of my virtual machine and try to configure the path for the port "screen shot are attached" it gives me the error message also the "screen shot are attached" for your review.Is kind of mistake is going on during the path setting, and how to set the path for configuring the serial port of my virtual machine so that I can use the hyper terminal tool of windows.
View 4 Replies
View Related
Nov 14, 2009
I have Linux server with VMware Server 1.0.8. When I creating a virtual machine, I can not "send" a PING to the virtual machine. In the virtual machine, I have installed CentOS 5.3 (32bit). In the virtual machine I have defined the addresses IP. So, whey I can't "sent" a ping to the virtual machie? I have to set something on the Linux server?
View 3 Replies
View Related
Oct 1, 2010
My wireless connection keeps getting dropped very frequently. I am on a Dell XPS m1530 and I will just be on the interent and it just disconnects from wireless and I have to connect back. It is super annoying. I am on the latest version of ubuntu.
View 4 Replies
View Related