Ubuntu :: SSH Into Machine Without External IP?

Mar 8, 2011

I have two machines sitting in different offices.

Machine A is an ubuntu server box which does not have an external IP address, but is connected to the internet.

Machine B is an ubuntu server box which does have an external IP address (and is connected to the internet).

As it stands, machine B cannot ssh into machine A, only the other way around. What I was wondering is is it possible for machine A to setup some sort of tunnel which machine B can then use to connect back to machine A? I only need SSH access, and I only need it from Machine B to Machine A.

View 4 Replies


ADVERTISEMENT

Ubuntu Networking :: Iptables: Natting A Machine Only On External Connections

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

Ubuntu Networking :: Can't Seem To Mount The External Drives Attached To Either Machine Over The Network

Jun 4, 2010

I have two machines, a laptop and a desktop, both running Lucid. each works fine, but... I can't seem to mount the external drives attached to either machine over the network. I can share folders from the internal drives fine but when I try to access an external drive from either machine I get "unable to Mount volume". Is it possible to mount the external drives across the network? If so, How?

View 1 Replies View Related

Ubuntu Networking :: Can't View External IP Links To Http Server On Same Machine

Sep 1, 2011

I have an apache server running on my ubuntu machine. I can view them using my local ip (192.168.1.6):80/. And my friends can view the things hosted on my server using my external ip (example http://123.123.123.123:80) but when a friend links back to me to show me what they are looking at and share the moment, I can't view the link, it simply redirects to my router login page.

I had an older linksys router and this could work fine. I could click on the links with my external IP and it routes back to my server for viewing.

Remember to note that I am on the machine that has the server, and I'd like to be redirected out and back to it so we can share pictures back and fourth without me having to replace the external IP address with my local one just to view that link in the browser.

View 3 Replies View Related

General :: Partitions Deleted From Machine And External Drive

Apr 15, 2010

I was installing Linux Debian on a machine and my usb external drive (320 GB) was attached with it (It was on NTFS that time). During installation I deleted all the partitions from machine and from my external drive. Can I recover the data from this drive?

View 3 Replies View Related

Software :: Use Traceroute To View Hop Count Between Machine And A Specified External Host

Nov 3, 2010

I'm trying to use traceroute to view hop count between my machine and a specified external host but no matter what I give to it, it provides me the same output:

[Code]...

What am I doing wrong? Should I be disabling DNS caching? Is there a property I haven't set correctly? Just a small FYI, but I dual boot this computer with Win7 and it's tracert works fine. UPDATE: I also ran the command from a different network and it worked fine. I'm assuming I need a port forward then?

View 4 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 :: Use The External Drive To Plug Into Any Machine And Run By Just Changing The Needed Bios Mods In That System

Jun 17, 2011

I was just thinking about installing an operating system like ubuntu or ubuntu server on an external harddrive. this being possible , i would like to know if we can use the external drive to plug into any machine and run my ubuntu by just changing the needed bios mods in that system. and without further having to install the necessary hardware specific devices into my os.

Because each machine would have its own hardware set, how would the os handle it or would it have to install the necessary drivers and so on everytime it comes across a different system from the immediate previous hardware it was used with. and i know this was why laptops were invented even maybe to have that portability to use with but this without a laptop, just an external hard drive that can make up and help us use the hardware at hand with ease without any installations of any kind.

View 5 Replies View Related

Networking :: Easiest Way To Redirect External Traffic To VMWare Web Host On Same Machine?

Jul 14, 2009

Have done a bit of Googling around this but got totally swamped so will try here. Basically we are running a CentOS server which hosts a number of virtual hosts under Apache. Recently I needed to set up a development environment for another site using Ubuntu and have this running and accessible on the LAN from a VMWare image. I'm using bridged networking so the VMWare machine has its own IP on the LAN subnet.

I've set up a DNS to point to the external IP of the physical host but can't figure out how to route traffic requested on this domain to the VMWare host. I've basically tried two approaches (configuring a proxy web server and reverse proxy in an httpd.conf file and mucking around with iptables forwarding rules but without success.

Ideally I'd like somesite.somewhere.com to point to the VMWare IP but I could live with a custom port on the end if thats whats required.

To throw further complication into the mix I need reliable communication between the VMWare machine and external mail relay servers in order to debug any issues with mail bouncebacks, embargos etc.

Any idea what's the easiest way to accomplish this?

View 4 Replies View Related

Ubuntu :: Installing To External HDD For Portable Personal OS / External Virus Scanner?

Oct 14, 2010

I work at a local computer shop as a computer technician and we get many computer in daily that require external virus scans (having to take out the hard drives, sticking it in another machine) just to scan (if we're lucky we can sometimes just do it in safe mode).Now what I want to know is...

1. Is it possible to install Ubuntu to an external HDD and use it virtually anywhere I plug it in? Will it pick up the network card, graphics card, etc so I can just plug and go? (Of course there are drivers for some computers).

2. Is it possible to run a Windows oriented virus scanner on Ubuntu? I know I can use WINE to run Windows applications, but will it prove to be compliant with virus scanners as well?

3. The main reason why I want it to be able to pick up on hardware and just work is because I plan on using it for schooling / travelling as well, have all my documents etc saved on it for easy access.

I've used Ubuntu in the past on an old laptop that didn't have much memory, small HDD, and a crap processor but that was 5-6 years ago (I still have the disk they sent me for free ).

View 3 Replies View Related

Ubuntu :: Dual Boot - Windows Xp On HD On External HD / Disconnect External USB HD?

Jul 11, 2010

I installed Ubuntu on external USB hard drive and while booting I did got option to log into windows XP, Ubuntu. Both operating systems ran fine. i.e. GRUB had overwritten MBR and I was able to dual boot. Main issue: I have installed Ubuntu in external hard-drive so that I can use Linux whenever I want other people who are using same computer can operate on WindowsXP. Sometimes my external hard drive gives problem if there is loose connection and so that oper people using computer do not face any problem I want to disconnect external USB HD whenever I am not using Linux. GRUB menu was pointing to external hardrive so disconnecting it meant my system wont boot!!I rewrote MBR using WindowsXP CD recovery mode. Now I am unable to boot from external USB hard disk( I thought I would be able to if I choose USB hard drive in BIOS option but it did not work it logged into WindowsXP by default).Is there any way I can change WindowsXP boot.ini file so that it also shows Ubuntu in external hard disk? Or is there any way.(I do not want GRUB way as then I would have to keep my external drive connected to log into windows - which I do not want).

View 1 Replies View Related

Ubuntu Networking :: Access Machine Via Windows Machine - Samba Password Reset?

Feb 13, 2011

I try to access my ubuntu machine via my Windows Machine (Samba Server on Ubuntu Machine). Anytime I try to access the machine it asks me for my password...I enter it but it says it is invalid....is there anyway to reset it? I have already tried to remove and purge everything Samba related and then tried reinstalling, but that still didn't do anything

View 2 Replies View Related

Ubuntu :: Use VMWare's Converter To Convert A Physical Machine Into A Virtual Machine?

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

Ubuntu Networking :: Cannot Ping KK Machine, Internet/network ON Machine Works?

Mar 18, 2010

I have an ubuntu kk laptop connected via wireless to my mixed network (xp, win7, other ubuntu), but i can not ping said machine or connect via ssh. Internet and smb-browsing ON this machine work, as does pinging FROM it. If this was a windows machine, I'd say a firewall is in the way, but since it's a vanilla karmic install, this should not be the case (or should it?).

View 2 Replies View Related

Ubuntu Networking :: Change Folder Names Over A Network On A Machine Using A Mac Machine

Jul 24, 2010

It seems whenever i create a folder it creates the folder as untitled folder, but i can't change the folder name it just says "you don't have permission to rename item" but yet i created the folder and it is there. One thing i have noticed is that once i enter a folder it won't even let me move the folder.

View 6 Replies View Related

Ubuntu :: Numbers To Put In Linux Machine Can Connect / Print To Windows Machine?

Apr 16, 2011

I remember it being really easy to add a printer attached to another computer using Ubuntu, but I don't remember exactly what made it so easy. All I know is that now that I have switched to Kubuntu the process has become much harder because now I have to find out some special locations, numbers etc. for it to connect to the printer. It's connected to a Windows XP machine on the other side of the house.
It says alot about 'contacting the network administrator' if I am unsure about what to put in. But I am more or less the network administrator. how to find out what numbers to put in so that my Linux machine can connect and print to the Windows machine? Or maybe someone knows a few commands to share? I go to Applications > Settings > System settings, Printer configuration, New Printer, New Network printer, and then there are a few options but I don't know which one to choose. Windows Printer via Samba, I guess? Then in the box that says smb://[enter stuff here] I need to put in info but I don't know how to find that info.

View 5 Replies View Related

Ubuntu :: Virtual Machine Networking / Network Not Working After Copied Machine?

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

Security :: Centrally Control Several Ubuntu Machines / Each Machine Should Get Permit From Central Machine Before Installing Any Software?

Jul 31, 2010

I have several (say, 50) machines running ubuntu.I want them to be centrally controlled.That is, each machine should get permit from central machine before installing any software etc.I googled quite a lot but could not find the solution...

View 1 Replies View Related

Ubuntu Networking :: Way To Share Folder From Machine To Windows Machine

Aug 28, 2010

I am trying to establish the easiest way to share a folder from an Ubuntu machine to a Windows machine.In the past I have added things to smb.conf and that has all worked fine but what I am trying to do is to figure out what the "new user" way of doing this is so that when I am helping other people I know I am getting them to do the simplest thing.I completely removed samba and reinstalled it so that I didn't have any configuration. Right clicked on a folder and selected "Sharing Options" ticked the "Share this folder box" gave it a name and a comment and ticked the other two boxes.

When I went to the windows laptop then it kept asking for a username/password and nothing worked.Back on the ubuntu machine I did sudo smbpasswd -a [username] and created a blank password. Now from the windows machine I can access the shared folder.Is the smbpasswd step still required? It's very confusing for a new user as there is no suggestion that anything other than right clicking on the folder and choosing the options you want would be required. Is it something to do with the fact that this is an ubuntu machine that has gradually been upgraded through versions and this problem wouldn't have been there from a new install?

View 3 Replies View Related

Ubuntu :: Copy SCP A Couple Files From 10.10 Machine To A Fedora 12 Machine

Dec 8, 2010

I have been trying to SCP a couple files from my Ubuntu 10.10 machine to a Fedora 12 machine. Before today, did it with out any problems, always worked. Today however; after the SCP is complete from my machine, the file on the other machine is zero bytes, an empty file. The only thing I can remember getting changed was the new kernel that was in the update I did today. But I don't think that would have changed the SCP works.

View 5 Replies View Related

Ubuntu Networking :: Setup A Ssh Tunnel From Machine A To Machine B?

May 29, 2010

I can set-up an ssh tunnel from machine A to Machine B:-

fred@my-linux:~$ ssh -P myport fred@myserver.homelinux.com

I can successfully logon to machine A to Machine B.

what address and port will my tunnel 'appear' on machine B? I want to send a stream back from B to A up the encrypted tunnel, not over the open network.

View 5 Replies View Related

Ubuntu :: How On Earth Do I Access Machine From Windows Machine

Feb 22, 2011

Right now I just installed open ssh because i was told its a great thing to have for remote controlling my machine if I am at work on my windows system. My question is, how on earth do I acess my machine from my windows machine now that its installed? i did sudo apt-get ssh and thats about all so far...

View 5 Replies View Related

Fedora Installation :: Install Packages Of Online Machine Into Offline Machine?

Jan 20, 2009

In Ubuntu I can easily transfer packages from offline machine into online machine using APTonCD feature. In fedora ,Is there anything similar by which I can transfer my packages of online machine into the offline machine

View 2 Replies View Related

General :: Transfer Files On A Machine With Ftp / Sftp And Scp Disabled Onto A Remote Machine?

Nov 30, 2010

How do you transfer files on a Linux machine with ftp,sftp and scp disabled onto a remote machine

View 2 Replies View Related

General :: How To Configure Serial Port Of Virtual Machine With Host Machine?

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

Software :: Put Ssh Into Remote Machine - Error Write Failed: Broken Pipe (After Logged Into That Machine)

Jul 18, 2011

Whenever I put ssh into remote machine am getting the following messages. Write Failed: Broken Pipe (After logged into that machine ) Read Socket Failed: Connection reset by peer (While trying to log in ) Also known_hosts file is changed frequently.

View 1 Replies View Related

Ubuntu Networking :: Unable To See Machine From Any XP Machine?

Jan 6, 2010

I have a ubuntu 9.04 machine i'm using as a file server. I'm able to see that machine from any XP machine, connect to it's shares play music, movies, work off of it NO problems. But i can't view the shares from a windows 7 home edition PC (garbage). AND, from the ubuntu PC, i can't see any of the other shares on network. I get "Fail to receive share list from server".

NOTE: Originally i had this machine connected with wireless card because of location. and I was able to see all shares then - both ways (still not from Windows 7 PCs though). However, when I moved to hard wire connection, the network disappeared. I've tried changing IP addresses, changing switches, but no network. I'd like to keep it hard wire. Can anyone point me in right direction or am i missing information?

View 1 Replies View Related

Ubuntu :: Cannot Get SSH To Work Between The XP Machine And The Main Machine

Jan 22, 2011

I have a really weird one. This may be a putty issue, or it may be a config issue in Ubuntu. I've no idea who to blame. I have four machines involved in my little issue that has me scratching my head on where to even BEGIN to diagnose what is going on. The computer I'm attempting to connect to (For identification purposes, I'll call it the main machine) is running a relatively new install of KUbuntu 10.04, stock install of openssh daemon. ufw is disabled, firewalls are off, etc, and I can prove that later.

The machine acting odd is a Win XP 32 bit running Putty. Haven't had a problem until this reload of the previously mentioned machine. A Work machine that is running RedHad of some flavour. A Virtual Machine running a headless setup of Ubunto 8.04. Now that the introductions are over, here is a quick map of the machines that can successfully connect with. My major problem is that I cannot get SSH (And ONLY SSH) to work between the XP machine and the main machine.

Work -> Main = Works
Work -> VM = Works
XP -> VM = Works
XP -> Main = Fails
XP -> VM -> Main = Works
Main -> Main = Works (IE: "ssh localhost")
VM -> Main = Works

When I try to get the XP machine to connect to the Main machine, I get an error with Putty saying:

"Server sent disconnect message
type 2(protocol error):
baad service request ssh-connection"

I've changed Putty to try using SSH Protocol 1 only, but it says the protocol isn't installed on the Main machine, which is true. I've tried setting just 1, and it gives me the error, and I've tried setting it to "2 only" and it again comes up with the error. I went into /var/log as root on the Main machine, and did a "tail -n0 -f *" and then tried to connect, but nothing relevant shows up.

As for the proof that the firewall is disabled, three of the machines are working with Synergy, I am able to swap between all three of the machines without a problem, I can get to WebAdmin from the XP machine to the Main machine, and I can open a Samba share from the XP machine to the Main machine without a problem. This sounds like a protocol issue, but I can't see anything in WebAdmin that'll put me in the right direction.

View 4 Replies View Related

Fedora Networking :: Getting A Machine To Update Its Machine Name In The DNS ServerSounds Doesn't?

Feb 20, 2011

I have an issue with the manner in which Network Manager is configuring the network and short of ditching Network Manager I can see no solution.The issue : Getting a machine to update its machine name in the DNS serverSounds simple doesn't it I operate a FreeBSD based firewall / DHCP / DNS server, using a default Network Manager DHCP configuration the Fedora clients do not register their names with the DNS server when they obtain an address.

I have traced the communications with Wireshark and the Fedora clients are NOT supplying the PC's hostname as part of the exchange so this is NOT a DNS server configuration issue. If I uncheck the option 'Automatically obtain DNS information from provider' under the DHCP settings the Fedora clients DO register the hostname that is put into the Hostname (optional) databox. They do NOT however store the DNS server IP address or any other records defined by the DNS server.

Is there some hidden settings or is this a bug because it isn't acceptable 'DHCP' behaviour if it isn't possible to automatically set DNS server IP addresses and at the same time register the hostname during the DHCP negotiation. Before it is said I know I can use a fixed DNS IP address but am not prepared to long term, I am also not prepared to define the Fedora clients with a 'static' IP. I am similarly not interested in playing around with scripts or any other such 'frigs' to achieve what should be a standard activity - registering a host with DNS during the DHCP negotiation.

View 3 Replies View Related

General :: Transform A File On 1st Machine With A Tool On 2nd Machine In One Line Over Ssh?

Jul 14, 2011

I have some file tools on a mint machine that I would rather not install on my mac laptop. Mainly because of the vastness of apt-get and the low risk of installation failure. Anyway, every so often I have a file that I want to process in place using some remote tool. Both machines can ssh right in to each other so I was figuring there must be some script or tool out there that would allow me to type out something like remote [file] [tool & args] to send my file to the other machine, get it processed, then get it back.

View 4 Replies View Related







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