General :: Virtualbox With Local And External Networking?

Jul 31, 2010

I've installed Debian inside Virtualbox on Mac OS 10.5.

I want to set up networking so I can (a) reach the outside internet from inside Debian (Virtualbox), and (b) reach the virtual Debian from my Mac. (I don't need to be able to reach the virtual Debian from anywhere but the Mac.)

I can't seem to figure it out. If I set the Virtualbox networking to "NAT", I can reach the outside world from Debian, but I can't reach Debian from Mac OS. If I set the Virtualbox to "Host Link Adapter", I can reach Debian from Mac OS, but I can't reach the internet from Debian.

I'm sure I've set up the way I want before, and I don't remember doing anything special for that, so I must be missing something simple today.

View 3 Replies


ADVERTISEMENT

Networking :: External Nic Unreachable From Local Network

Jan 11, 2010

I've got router with: eth2 - local network (192.168.1.1), ppp0 - uplink (x.y.z.a)

my firewall:

Code:

# Generated by iptables-save v1.4.5 on Mon Jan 11 12:22:25 2010
*raw
:PREROUTING ACCEPT [1038480:666298388]

[code]....

somehow iptables -t nat -A PREROUTING -i eth2 -d x.y.z.a -j DNAT --to-destination 192.168.1.1 helps, but imho there should be some other solution. kernel is 2.6.31.6, architecture is x86_64.

P.S. i've also tried iptables -A POSTROUTING ! -d x.y.z.a -s 192.168.1.0/24 -j MASQUERADE that didn't help either.

View 10 Replies View Related

Fedora Networking :: Telnet Works External In DMZ Not With Local IP

Jun 8, 2011

I'm running Telnet Server, VFTP, and VNC on a Fedora 14 box. The box's internal IP is 192.168.1.222 This machine is configured to live in the DMZ, The firewall is up on both the router and this box. I can remote in from home using our external IP. I can FTP. I can Telnet. All using our external IP. When i'm in the office, i can remote in using our external IP. I can FTP. I can Telnet. Again, all with the external IP. If i attempt to telnet 192.168.1.222 i get a connection refused. i can ping the 192.168 address

nmap tells me that all 1000 ports on 192.168.1.222 are closed
nmap tells me that my expected ports are open on the external IP.

.... This is a relatively new conundrum as it "used to work", and only appears not to since our last reboot (power outage). I know i have to be missing something simple here, but i differ to the experts.

View 5 Replies View Related

Networking :: Connect To External Computer Using Local Address?

Apr 9, 2011

I couldn't find an answer to this question (not including vpn) on different threads so decided to eventually post it, though it's probably easy one. I would like to connect to some application on known IP and port in the internet from my LAN computer. However to do so (I have some application, not any administrative constraints or not being allowed to) I would like to use local addresses. So, let's say - I want to connect to the external host VV.XX.YY.ZZ, port AA using 192.168.EE.FF port BB. Baically so far I have limitation in my application (too many places for possible error, to correct it right now - will change it in future). Is it possible that after my application sends request to 192.168.1.EE port BB, my Linux transparently translates it to VV.XX.YY.ZZ:AA? I tried iptables tutorials and some forums, but nothing seems to be addressing this issue. I don't know if it's event possible with iptables but am pretty sure this should be possible.

View 5 Replies View Related

Ubuntu Networking :: Can See All Devices On Local Network And Their Local Ip Addresses

May 16, 2010

I'd like a way to see all of the devices on my local network and what their local IP address is. I recall that I used wireshark to troubleshoot a similar problem a while back, but it doesn't seem to have a way to see all of the devices- only the traffic. (I'd like to do this without having to physically interface with my router if possible, and I am in an encrypted network if that matters)

View 6 Replies View Related

Ubuntu Networking :: Unable To See Local Web Sites From Local Network

Jun 28, 2011

I have installed a web server on my local network. Everything is well configured and web pages are shown correctly from Internet (outside the local network) using the domain or the public IP.The issue is if I try to see that web pages (using the domain or the public IP) from inside the local network. In that case the router config page (192.168.1.1) is shown instead of the web pages.From inside the local network I'm only able to see the web pages using the internal IP address (192.168.1.XX).

View 2 Replies View Related

Ubuntu Servers :: Local IP Works External IP Doesn't

Feb 9, 2010

I am having an issue with my server I have setup. I have apache running and can access the files via all other computers on my network via the ip address i have it set to default to the /var/www folder with index.html as the main file. I am however having issues trying to access it from my other IP the one i found at what is my ip. I have even setup a no-ip address to it. I've forwarded port 20 and port 80 i've even given it the default dmz. I disabled the firewall on my router and I checked and my Ubuntu machine doesn't have a firewall whatsoever i can access my outside ip on the local machine and have access the problem i'm having is trying to access it from anywhere but home. [URL]

View 9 Replies View Related

Software :: Local Machines Showing Up With External Addresses?

Nov 9, 2009

I'm running a "relatively standard" home network environment. That is, I've got a DSL connection to my ISP, and am running a router/NAT environment that connects a number of machines -- Mac, Windows, and Linux -- to the external network. Internally, all the machines have addresses in the range of 192.168.0.x. However, because of the static/NAT address mapping, the machines whose internal addresses are mapped to external static addresses show up at external hosts as 216.xxx.yyy.zzz (the address range assigned to me by my ISP).

The other machines, which are on the network via NAT, show up as 66.xxx.yyy.zzz, the address assigned by my ISP. Finally, I'm running a local DNS server that handles addressing issues for my domains and sub-domains that are hosted on local machines. All the machines use this local server for their DNS, with my ISP's DNS server as secondary. All of this is to say that it's more or less a pretty typical configuration, and, in general, everything is working fine.

Here's where it gets tricky:

* Machine A is a Fedora 10 linux box, which hosts an externally visible domain and runs, among other things, a web server. It's assigned to one of the addresses that's mapped to a static IP address.

* Machine B is a MacBook Pro, running Snow Leopard (10.6). It typically runs at 192.168.0.6, which is NOT one of the addresses mapped to a static address, but "just" a NAT address.

Now, suppose Machine B hits the web browser run by Machine A: the log files should show the traffic arriving from the local address, 192.168.0.6. However, it instead shows up as coming from 66.xxx.yyy.zzz, the external NAT-affiliated address. This seems wrong, especially since all the other machines on my network show 192.168-type addresses when hitting the web server.

I now change Machine B's address to 192.168.0.5 -- one of the statically-mapped addresses. Browsing traffic is now arriving from 192.168.0.5, which is (I think) as it should be. I now change Machine B's address back to 192.168.0.6. The web traffic on Machine B is now reported to be arriving from 192.168.0.6 -- NOT 66.xxx.yyy.zzz. It's complicated by the fact that I don't know where to look for the problem. All the log files on all the machines seem relatively normal; there are least no glaring problems screaming out from them.

View 1 Replies View Related

Ubuntu :: Show Local Hard Disk As External USB Storage To TV?

Aug 17, 2010

I have this unique situation, I think. My TV plays certain files only through external USB storage. My Ubuntu server stores all of these files on local hard disks. I do not want to buy an external hard disk and then keep moving it between both. Now, strange as it may sound, is it possible to somehow connect my server to the PC and expose a given local hard disk connected to the server, as an external USB drive to the TV?

View 1 Replies View Related

Slackware :: : Move My Home Folder Out In An External Local Server

Dec 2, 2010

Each time I'm moving my new files and directories from my local slackware PC to my NAS (Linux based) in the LAN.

This NAS is 24/7 online and I can access it from the net.More than that it's backed up every day.

I was thinking of making my home directory directly in this NAS.

I didn't made a separate partition for my Home during the installation of slackware in the PC.

View 6 Replies View Related

CentOS 5 :: Opening Console On External Server From Local Machine?

Mar 16, 2011

I would like to connect via SSH or similar to my servers located in a remote DC from a laptop running centos5. I normally do this on a puter running dows, and using secureCRT. Just wondering if centos has something built in for this, or if there is some preferably free software I can get.

View 7 Replies View Related

Ubuntu Networking :: Use Local IP Only On Local Network?

May 25, 2010

I've got an Ubuntu server hosting our websites and other various things here in our own home. We recently switched to a router that doesn't support loopback (abomination), so I've set up hosts files on our computers so we can access our own sites when on our home LAN.

However, we often take our laptops as we travel about, and I'm guessing due to the hosts files when we try to access our sites, it'll look on whatever local network we're connected to for our server, which won't work, obviously.

Is there a way to set up something like a hosts file that'll only try to look up the local IP of the server when we're on a specific network (our home one), or have one that tries to look for the local IP first, then proceeds to try and resolve the domain name and use the external IP if the local IP doesn't work?

View 6 Replies View Related

General :: Konqueror Updates To Local Files / Executing Local Binaries?

Dec 9, 2010

One of Konqueror's unique features is that i can name a local process as the action in a form. When i submit that form, the local process is executed. Very helpful for certain offline tasks. What would make it even better is if i could find a way to pass some data to that local process from the html page. This could be the content of a hidden input item, etc. Alternatively, if there is a way for Konqueror to create or update a local file with data from the html page, that would acheive the same end.

View 1 Replies View Related

General :: Read A Local Man Page For Sync That Was Kept In The /usr/local/share/man?

Sep 27, 2010

What command would you use to read about the sync system call (not the sync command)? How would you read a local man page for sync that was kept in the /usr/local/share/man?

View 2 Replies View Related

General :: Yum Local Install - Package And All Dependencies In Local Directory?

Dec 9, 2009

I am trying to install tilp, a program for the link between a computer and a Texas Instruments calculator. I have downloaded all the packages to a local directory. I tried telling yum to install all the packages at the same time, though, the dependencies still fail to resolve (though they are all in the directory). I don't know if it would be safe to force install without the dependencies (even though I would install them later).

View 4 Replies View Related

Networking :: 3 Nics - Connect To Internet - Share To Local Net - And Connect To Local Net - Not Working

Sep 15, 2009

I have a Dell PowerEdge 1650 server with 3 NICs in it. I am trying to use one NIC (eth0) to connect to the internet, the second NIC (eth1) to share the internet connection to a LAN, and the third NIC (eth2) to connect to the LAN.

It is running Ubuntu server 8.10

The problem that I'm having is that NetworkManager (version 0.7.0) keeps setting eth2 as the default connection, and then I don't get any internet at all from the server.

My main goal is to be able to share files from the server to computers on the LAN. The secondary goal is to have a virtual machine hosting a Halo server, connected through eth2, so that it can host LAN games. But that is a secondary goal after I get the connections to work.

I've been looking around and finding other people who have done bits and pieces of this, but not the whole thing. I had been hoping to simply use the NetworkManger, but I don't mind editing config files.

Also I can't seem to find any good instructions on editing the /etc/network/interfaces file. The man file is incomplete, and everything seems to point back to the man file.

View 2 Replies View Related

Ubuntu Networking :: Combine Rsync And SSH Pass - Backup File From Each Host With General Password In Local Network??

May 13, 2011

I made a script to backup file from each host with general password in local network. This script using SSH Pass and Rsync with this

syntax:
rsync --rsh="sshpass -p password ssh -l root" hostath destinationpath
Everything is okay under 9.10 version until I migrate to Ubuntu 11.04, there is always give an error:
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(541) [Receiver=3.0.7]

I am using bash version: GNU bash, version 4.2.8(1)-release (i686-pc-linux-gnu) and 2.6.38-8-generic kernel

View 3 Replies View Related

General :: How To Change Xfs Journal From External To Internal / If External Log Is Gone

Dec 27, 2010

I have an external hard drive with an xfs partition on it. It was using an external journal, but in re-installing Slackware I removed the partition holding the external journal, forgetting what it was at the time. I didn't touch the contents of the external hard drive, but now I can't mount it and the various xfs programs seem to demand that it be mounted in order for them to change anything.Anyone have any ideas on how to change an xfs partition from external log to internal? Failing that, how do I get the information off it?

View 1 Replies View Related

General :: External DVD-RW (ASUS) - Which /dev/ File Associated With External Dvdrom

Dec 11, 2010

I plugged in my external dvd-r (asus) via usb. It showed me some message on shell, that it has detected the cdrom(although its dvd rom as well but nevermind) and its of ASUS. But how do i know which dev it was associated with in /dev/? Since i had to test something, i plugged it out, and save the output of ls /dev/ > ~/result.txt

after plugging the dvd-rom, i compared the results and was able to find that it was associated with simple cdrom i.e. /dev/cdrom. I wanted to know that is there any command that will tell me which /dev/ file was associated with external dvdrom? i tried to see in the following result

1) df -h ( no results, just the already mounted partitions)
2) fdisk -l ( same as above)
3) dmesg | tail (shown almost the same result as was shown on shell at the time of plugging the dvd)

View 9 Replies View Related

Ubuntu Networking :: Remote Desktop Access "Your Desktop Is Only Reachable Over The Local Network. Others Can Access Your Computer Using The Address 127.0.0.1 Or Tabatha.local"

Feb 19, 2010

Running Ubuntu 9.10. In the Remote Desktop config dialog I get: "Your desktop is only reachable over the local network. Others can access your computer using the address 127.0.0.1 or tabatha.local." I understand this means only the loopback ip address is available. All my other machines show their true local ip address (e.g., 192.168.1.104) in this dialog. Thus I cannot log on to this desktop from other machines.

When I try to do a remote logon from another Ubuntu 9.10 box (or from an XP box using a VNC viewer), I get: "Connection to 192.168.1.102 has been closed." What steps are needed to make this machine show its actual ip address? All file sharing between the various machines is working properly and all windows shares back and forth between XP and 'nix, and among the the vaious XP boxes and linux boxes are available as designed.

View 1 Replies View Related

Ubuntu Networking :: Virtualbox And Wireless Networking + USB Support?

Feb 17, 2010

Virtualbox, is great, except that I have no wireless networking or USB support. Problem one, is USB support. As far as I know there is a personal free use version of Virtualbox that includes USB support, however I can't find this copy to download it. Any ideas where I can find it? Second problem, I have an integrated wireless networking card in my laptop, that Ubuntu recognizes with no problems, but Virtualbox can't even "see" the device. I found a tutorial that addresses this know issues with wireless and Virtualbox, but I don't understand the instructions

[URL]

Quote:

Wireless Networking Setting up a normal bridged network generally doesn't work if you're bridging from a wireless card to VirtualBox. A simple script that utilises the parprouted tool will allow your VM full access to the wireless network. You will require parprouted to do this: sudo apt-get install parproutedNext, using your favorite text editor, create and edit the script, for example:

sudo nano /etc/network/if-up.d/vbox_networkThen, enter the script (replacing $USER with your username (or whoever you intend to run virtualbox as)). Replace wlan0 with the name of your wireless interface. Use an available IP address on your network for tap0 (I have used 192.168.1.100 in this case):

sysctl net.ipv4.ip_forward=1
VBoxTunctl -b -u $USER
ip link set tap0 up
ip addr add 192.168.1.100/24 dev tap0

parprouted wlan0 tap0Finally, make sure the new file is executable by root: sudo chmod 700 /etc/network/if-up.d/vbox_networkNow your networking script is installed, the virtual interface tap0 will be available on boot for VirtualBox. Rather than reboot, let's just run the script now:

sudo /etc/network/if-up.d/vbox_networkThe final thing to do is tell VirtualBox to use the new virtual device tap0. Open VirtualBox, highlight a VM and click settings. Now choose the network option and select Host Interface on the 'attached to' drop down menu.

In the Interface Name text box, enter: tap0 Click ok and start your VM. The VM should now behave as though it was another physical machine on your network!! For more information on the process up to this point, please visit Bridged Networking with VirtualBox on Linux Hosts Using DHCP in the Guest VM It was possible to get DHCP to work on the guest virtual machine. Instructions were taken from here. Because parprouted does not relay multicast, we need to use an additional helper daemon to manage this. I tried dhcp-helper and bcrelay, and had the most success with bcrelay.

Use it as follows:

sudo apt-get install bcrelay
sudo bcrelay -i tap0 -o wlan0At this point, my /etc/network/if-up.d/vbox_network is as follows:
#!/bin/sh
sysctl net.ipv4.ip_forward=1

[code]....

bcrelay -i tap0 -o wlan0 &It seems that I have to start the script by hand after boot. Other than that, host networking now seems to work fine (this issue should be solved by adding the "#!/bin/sh" line just at the beginning of the script.

View 7 Replies View Related

Debian :: VirtualBox Error - 'install Virtualbox-ose-modules Package For Kernel And Execute 'modprobe Vboxdrv'

Apr 27, 2010

my error when trying to run a VB (Virtualbox). Error as copied from error box. install the virtualbox-ose-modules package for your kernel and execute 'modprobe vboxdrv' as root. VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).


[code]...

I get this when trying to launch a VB after making one with wizzard.

View 6 Replies View Related

Networking :: Networking Script Doesn't Allow Local Machines To Connect To Each Other?

Jan 21, 2009

I wanted to be able to have separate NICs with separate IPs connecting to separate gateways on a machine so I could put an ftpd on each one. I tried binding an ftpd to each, and running separate instances of the ftpd. I tried virtual hosts.

NOTHING worked. I could either use one ftpd or the other. I could either connect via ssh on one IP or the other. the second I turned one NIC off stuff would work again. I messed with basic iproute commands, andnothng worked until I got this script to run, which allowed me to use each NIC independant of the other.

Code:
#!/bin/sh
#ip route flush all
ip route del default dev eth1
ip route del default dev eth0
ip route del table 1
ip route add table 1 to default via 10.10.10.1 dev eth1
code....

But now, samba client doesn't work. cifs mounting doesn't work either. It can't connect.

BEFORE I ran that script, I could connect via ssh, or to the ftpd running on the machine using a LOCAL IP - 10.10.10.2. AFTER, I have to use the external IP, or I cannot connect. I know that has something to do with it, but I do not have the advanced linux routing knowledge to redo the script or come up with a solution.

View 5 Replies View Related

Networking :: How To Do NAT In VirtualBox

May 10, 2011

I'm using VirtualBox 4 on OpenSuse 11.3.

I've 6 vm with different OS.

My company uses a net in 10.x.x.x. But I can't use IP of that range (only one for the host). I use IP for my vm in the range 192.168.x.x.

I need my vm to communicate each other, to the host and outside. From outside (10.x.x.x), don't need to access 192.x.x.x.

How do I have to configure Virtualbox?

- Tried with host-only. VM can see each other, but not the outside.
- Tried with NAT. Then VM can't see each other.
- Tried with bridge. Then can't see outside.

View 3 Replies View Related

Networking :: Connecting Through XP On Virtualbox?

Dec 13, 2010

I can connect to the Internet using the Windows Drivers for my USB iBurst pppoe modem running in a VirtualBox VM running Windows XP on my Ubuntu 10.10 host. I haven't been able to get this working under Linux.

Is there any way I can connect to this from the Linux host.

View 4 Replies View Related

OpenSUSE :: Data Corruption In VirtualBox 4.0.4 From Virtualbox.org?

Mar 7, 2011

Observed on two host systems both with openSUSE 11.3 32 bit using ext4: When a big files, in this case a 1.2 GB and a 1.7 GB is copied from DVD, usb harddrive or shared folder into a Windows 7 32 bit guest system, the copied file is corrupted. The md5sum has changed and until the guest system has been rebooted successive md5sum tests on the same file comes up with various results... After a reboot md5sum tests show consistent results, but a sum different from the original file.

View 1 Replies View Related

Fedora Networking :: Get VPN In VirtualBox Through 11 To Work?

Oct 15, 2009

I've got a problem with getting my VPN connection from my virtual machine working (a XP64 running in VirtualBox). I really need to get it working so that I can nuke my windows partition, and because I would like run linux programs while using my XP VPN connection (as I need to run some XP programs at school). I've found this manual on how to do it on Ubuntu, but I am doubt about how to translate it to Fedora (and I really prefer Fedora). [URL]

View 6 Replies View Related

Fedora Networking :: Set IP In 15 On Virtualbox As Guest OS?

Jun 3, 2011

I've installed fedora 15 on virtualbox as my guest OS.I've configured bridged networking and I've set my router to assign an IP to it.when it boots up,I have 2 devices shown via "ifconfig" which is "lo" and "p2p1" and none has the ip assigned to it.I'm unable to access the Internet. How can I configure it to do so?I've tried following this tutorial: [URL] but the file "ifcfg-ethX" doesn't exist...it only has ifcfg-lo..... I've installed fedora 15 spin edition which doesn't have a GUI for me to edit network settings...

View 13 Replies View Related

Networking :: Multiple Public IPs With VirtualBox?

Jan 4, 2011

I recently purchased a block of 5 IPs from Comcast. I have a computer running Arch Linux connected to the Comcast gateway they gave me. On my connected computer I have 2 Windows XP virtual machines running. Now I was wondering how can I make each of those virtual machines have a different public IP, because currently the only thing I can get working is have the computer and both virtual machines sharing the same public IP.

View 3 Replies View Related

General :: Meanings Of /usr/sbin, /usr/local/sbin And /usr/local/bin ?

Aug 19, 2011

Let's get clear with all bin and sbin folders(from filesystem hierarchy standard):

So the question is: Why there are so many directories and what are the meanings of /usr/sbin, /usr/local/sbin and /usr/local/bin?

Many programs are distributed through archives and we have to build them from source code. Usually they have makefile so it's quite easy. This process involves creating files in usr/local/lib, usr/local/bin... usr/local/whatever without creating specific folders for a given program.

I think it's not right because if we need to remove the program we have to manually delete every of its files if the program's creator didn't take care of it.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved