Ubuntu Networking :: Ssh Tunneling To Virtual Machine?
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?
I have a local computer (local), and remote computer (remote) behind of remote server (server). Also, I have user access to all of these 3 machines. Now, I want mount some directory, located at remote, to my local mount-point via sshfs. How should I setup my local sshfs and what should be done on server to make this mounting?
I'm stuck with ssh tunneling because the default method for tunneling requires root access while WinSCP somehow could do this with only user access (the tunnel server could be configured there in 'tunnel' panel).
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).
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"...
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
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.
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
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'
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.
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.
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.
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...
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:
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.
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.
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?
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
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.
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.
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.
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.
I want to be able to SSH into my computer that I can't expose port 22 on. I've tried the ssh -R ... several times, but can't manage to make it work.I have my home computer (want to SSH into), server (can SSH into), and some computer I want to SSH from.Do I need to install the sshd on the machine I want to SSH into? What are the commands I need to enter to forward from my server to my home computer?
I am trying to tunnel through my college's free AP so I can get access to protocols outside of http and https. The school has an in-browser DNS redirect until you log in.The output of "cat /proc/version" on the server OS is "Linux version 2.6.35-27-generic (buildd@palmer) (gcc version 4.4.5 (Ubuntu/Linar o 4.4.4-14ubuntu5) ) #48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011" The client OS is Windows 7. What I have done so far is use Proxy Cap to redirect applications to a Putty tunnel connected to the server. Eventually I want to tunnel that SSH connection through my school's firewall, so that I can keep encryption and have a reasonable amount of ease with setup.
I am not particularly educated on the inner workings of the DNS redirecting so I was not sure what to search for. My attempts to connect Firefox over normal http proxies failed and since all ports are blocked besides http and https I didn't attempt any socks or SSH. I have also tried simply hosting the SSH server on http ports with little success. I hope that I can do this without having to purchase a domain, but that's starting to seem like that won't be the case.
In windows if I want to do split tunneling, I just uncheck the Use as Default Gateway Box as seen here URL...In Ubuntu, I went to my VPN connection, IPv4 settings, routes..., checked "Use this connection only for resources on its network".And I could no longer ssh into machines on campus.
I am trying to setup a version of OzymanDNS but am not quite sure I am understanding part of the instructions found here.My domain/website is hosted with a web hosting company, using their name servers. I have added a sub domain [URL], using an A record to send any requests for [URL] to my home IP address, where I have a server running. Do I need to also add the code below to my server at home which has BIND installed or are the instructions expecting that I have full control of the main name server already?
Code:
tunnel.example.com. IN NS www.example.com. www.example.com. IN A 123.123.123.123
I have been ssh tunneling, which works great.I can browse the internet by simply tunneling my traffic through my SSH server.the following command: ssh -ND 9999 username at myserver.i cant postlinks.is all I have type, and I can connect to a SOCKS proxy server on localhost:9999.My problem is that I have an application that only supports HTTP proxies.Is there any way I can get it tunneling over the socks proxy?
In order to enable some one in the remote host to connect my machine. through the command
Code: ssh 127.0.0.1:<remote port>
However when I try to execute the first ssh command above I got the warnning
Code: Warinning: remote port forwarding failed for listen port <remote port>
The problem always happens when the remote host I have tried to connect is my Fedora 14 machine. I can do that when using an Ubuntu as the remote host.