Sponsored Content
Operating Systems Linux Interesting challenge getting SSH from outside to my VMWare guest Post 302469114 by brightstorm on Thursday 4th of November 2010 07:22:17 PM
Old 11-04-2010
Interesting challenge getting SSH from outside to my VMWare guest

Hi,

I'm working on getting more acquainted with VMWare and the SUSE SLES OS, so I've downloaded and created a guest running SLES 11 SP1. This works great, no problems. However, there's some funny-ness (is that a word?) when I'm attempting/testing to SSH from outside my local LAN into the guest.

Let my sum up my setup:

The VMWare server
- Is a Windows 7 with LAN-ip 192.168.1.66 (static).
- The guest is running with a bridged configuration, not NAT.
- Windows Firewall has been disabled in an attempt to get some data in the SUSE firewall logs.

Another PC in my LAN
- Is also a Windows 7 with LAN-ip 192.168.1.65 (also static).
- Connects just fine to the VMWare guest on 192.168.1.77 (see next section).
- Has Windows Firewall running fine (also attempted to disable)

The SLES guest
- Is configured with LAN-ip 192.168.1.77 (also static, obviously).
- SSH port has been changed from 22 -> 1337.
- The SUSE firewall allows SSH from 192.168.1.0/24 to make it accessible from my LAN area (this is going to be narrowed down later, just to please the security minded people Smilie)
- The SUSE firewall DOES NOT allow SSH from outside the LAN, but should be allowed on a IP-by-IP basis.

External Linux Debian VPS
I have an external Linux Debian VPS solution. When I ssh to my WAN IP from this, and supplying port 1337, it just eventually times out, clearly indicating something's amiss somewhere in my configuration.

My ISP-provided router setup
- Portforwards port 1337 to 192.168.1.77

So, what I'm pondering about is what I can try to get the traffic actually arriving at my guest. I have read alot about running the guest in NAT configuration and then using the VMWare tools to portforward port X to the VMWare's assigned IP address.

I am not really very experienced in networking (which is why I'd really like to avoid a NAT solution until I get a hold of stuff), but I have the idea that if I without further ado can access my VMWare guest from my local LAN just by providing the statically assigned IP, I would figure that I'd get it off just by portforwarding the assigned SSH port directly to my guest's IP?

I hope that I have provided sufficient information but if not I shall happily provide additional details as necessary. I hope that you might be able to push me in the right direction
 

9 More Discussions You Might Find Interesting

1. Solaris

unable to connect to solaris guest in vmware

hi All, I require your help and suggestion in this. I have a solaris 10 (guest) installed on a vmware and my host OS is windows 2003 server. i am trying to conenct to the solaris 10 from my local Pc through putty, but unable to connect. please advice what setup or prerequitsites are required to... (4 Replies)
Discussion started by: bathija
4 Replies

2. Virtualization and Cloud Computing

Cmd to start guest in VMware server 2.0

Is there any command in VMware Server 2.0 to poweron/start the guests like we have vmware-cmd ESX server 3.5 .. (1 Reply)
Discussion started by: fugitive
1 Replies

3. Red Hat

ssh connection keep disconected , how to find way? in CentOs vmware

Hello i have CentOS installed on vmware , few days ago every thing was working fine. today every time im connect with putty to the CentOs server after few minutes it disconnect me , how can i find what is the reason ? (5 Replies)
Discussion started by: umen
5 Replies

4. UNIX for Dummies Questions & Answers

VMware Solaris Guest - How do I boot from CD?

Hello, I have a Solaris 10 x86 VM and I am trying to access the Solaris install menu. I have the ISO set to connect on startup, and I can see that it is mounted in my system. But when I power on the VM, the GRUB menu comes up and I only have the option of booting Solaris. Also I have... (4 Replies)
Discussion started by: bstring
4 Replies

5. Ubuntu

[Solved] Ssh and scp between two vmware Ubuntu

Hello, Please, I would like to connect a VM to another: I typed as follows: ssh root@192.168.1.4 root@192.168.1.4 's password: Permission denied, please try again. root@192.168.1.4 's password: Permission denied, please try again. root@192.168.1.4 's password: Permission denied... (6 Replies)
Discussion started by: chercheur111
6 Replies

6. UNIX for Advanced & Expert Users

Interesting awk/Perl/sed parsing challenge

I have a log with entries like: out/target/product/imx53_smd/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8HTMLVideoElement.cpp : target thumb C++: libwebcore <=... (8 Replies)
Discussion started by: glev2005
8 Replies

7. Solaris

Solaris x86 guest in vmware workstation

I swear I have no other devices on the vmnet 192.168.142.2, but after I configured one of the solaris x86 os, I kept getting warning ..node xx xxxxx have our ip addresss 192.168.142.2, and it scrolled thru it forever .. I tried to boot it into single user mode , still having the same issue.. ... (1 Reply)
Discussion started by: ppchu99
1 Replies

8. Shell Programming and Scripting

Anyone like a challenge?

I have searched through google, and this forum to try and find the answer, but alas, nothing quite hits the whole answer. I am trying to read the last line (or lines) of some log files. I do this often. The files are named sequentially, using the date as part of the file name, and appending... (18 Replies)
Discussion started by: BatterBits
18 Replies

9. UNIX for Dummies Questions & Answers

Configure network connectivity as guest O.S under vmware

Hi! I am not sure if this is the right place to post this question. What I did was to download vmware onto my laptop, them install a linux distro as a guest O.S., on VM network configuration I have used "bridge", them I used Virtual Network Editor to chose the network interface, but as I write... (4 Replies)
Discussion started by: fretagi
4 Replies
FINDSMB(1)							   User Commands							FINDSMB(1)

NAME
findsmb - list info about machines that respond to SMB name queries on a subnet SYNOPSIS
findsmb [subnet broadcast address] DESCRIPTION
This perl script is part of the samba(7) suite. findsmb is a perl script that prints out several pieces of information about machines on a subnet that respond to SMB name query requests. It uses nmblookup(1) and smbclient(1) to obtain this information. OPTIONS
-r Controls whether findsmb takes bugs in Windows95 into account when trying to find a Netbios name registered of the remote machine. This option is disabled by default because it is specific to Windows 95 and Windows 95 machines only. If set, nmblookup(1) will be called with -B option. subnet broadcast address Without this option, findsmb will probe the subnet of the machine where findsmb(1) is run. This value is passed to nmblookup(1) as part of the -B option. EXAMPLES
The output of findsmb lists the following information for all machines that respond to the initial nmblookup for any name: IP address, NetBIOS name, Workgroup name, operating system, and SMB server version. There will be a '+' in front of the workgroup name for machines that are local master browsers for that workgroup. There will be an '*' in front of the workgroup name for machines that are the domain master browser for that workgroup. Machines that are running Windows for Workgroups, Windows 95 or Windows 98 will not show any information about the operating system or server version. The command with -r option must be run on a system without nmbd(8) running. If nmbd is running on the system, you will only get the IP address and the DNS name of the machine. To get proper responses from Windows 95 and Windows 98 machines, the command must be run as root and with -r option on a machine without nmbd running. For example, running findsmb without -r option set would yield output similar to the following IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION --------------------------------------------------------------------- 192.168.35.10 MINESET-TEST1 [DMVENGR] 192.168.35.55 LINUXBOX *[MYGROUP] [Unix] [Samba 2.0.6] 192.168.35.56 HERBNT2 [HERB-NT] 192.168.35.63 GANDALF [MVENGR] [Unix] [Samba 2.0.5a for IRIX] 192.168.35.65 SAUNA [WORKGROUP] [Unix] [Samba 1.9.18p10] 192.168.35.71 FROGSTAR [ENGR] [Unix] [Samba 2.0.0 for IRIX] 192.168.35.78 HERBDHCP1 +[HERB] 192.168.35.88 SCNT2 +[MVENGR] [Windows NT 4.0] [NT LAN Manager 4.0] 192.168.35.93 FROGSTAR-PC [MVENGR] [Windows 5.0] [Windows 2000 LAN Manager] 192.168.35.97 HERBNT1 *[HERB-NT] [Windows NT 4.0] [NT LAN Manager 4.0] VERSION
This man page is correct for version 3 of the Samba suite. SEE ALSO
nmbd(8), smbclient(1), and nmblookup(1) AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy. Samba 3.5 06/18/2010 FINDSMB(1)
All times are GMT -4. The time now is 07:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy