Windows Server, help viewing this local website from my cell - windows

I have a Winserver that’s viewable at http://172.16.xx.xxx in both Firefox, and Chrome on Windows 10.
I believe my firewall is fine, but I am happy to check if that's what's causing the issue.

check your firewall by telnet to the port 80 if your host machine (Machine A) ip name is 172.2.0.1 you should telnet to that IP from the other computer (Machine B) from CMD.
from Machine B do this.
telnet 172.2.0.1 80
if you found telnet is not and internal or external command in CMD try Following steps
if its giving a error then there is a firewall issue.

Since I am using a virtual machine, I was given a 172 address. This didn't seem to be accessible through the network.
Steps
Press control + E
Navigate to Network Adapter
Select Autodetect under Bridge Networking
This gave me a real IP address on the network, (192.xxx) and now it works!

Related

ping machine in VM gives the wrong adapter ip

I am studying Active directory. I created a virtual lab to experiment for the couse I am studying.
I am using Oracle VM 6.1 and I created 2 virtual machine. One where I installed Windows server 2019 and one wher eI installed Windows7 (my laptop cannot run anything bigger than that).
In each VM I created 2 network adapters, the first is attached to "internal network" on and the second to a "bridged adapter"
I then set the ip of the win2019 VM to 192.168.100.10 and the one for the Win7 machine to 192.168.100.50, both from the network configuration of the OSs.
I then activated the DNS service on the Win2019 and used 192.168.100.10 as DNS in the Win7 network configuration.
When I ping -4 server1 ( the anme I gave o the Win2019VM) from cmd in Windows7 I get as ip 192.168.100.31.
If I deactivate the bridged network adapters in both machines, I get the expected one, 192.168.100.10
If I reactivate the adapters, I get 192.168.100.31 again.
Seems WIN2019 gets the internal network adapter as second ethernet adapter.
From what I see on the course I am studing it is expected to have 192.168.100.10 as result of ping -4 server1 with both networks adapters active.
How can I get the DNS have server1 give 192.168.100.10 Ipv4 address when I ping it? Happy to provide more details if needed.
I am almost new to networking so please be patient if it is a stupid question. I checked the forum, but seems none posted this question here
Thnaks in advance
Edit this is the ipconfig /all for the Windows 2019 machine aka server1
This the win7 one
IPCONFIG /ALL from both servers.

SSH connect from local windows VM to Azure windows VM

I want to have a SSH connection from my local windows machine or VM on my computer to Azure windows server VM. I tried Cygwin and Putty but both of them gave timeout connection. I used public ip address and opened port 22 on Azure VM.
I will appreciate if some one can give me any hints or links.
There are multiple firewalls that can be the reason here. Fist you must have a rule on the server to allow incoming SSH requests (port 22). Then you need to configure the NSG(Network security group) to allow incoming on port 22. If it still doesn't work, you need to verify that you are allowed to do an outgoing SSH request from your computer.
Thanks for suggestions, I found the problem which was the host machine IP address(ipconfig) (where is a local VM inside domain) was different from the IP address that communicate outside the domain to internet. I was set in NSG of Azure VM to only accept this IP and because of that it gave time-out error. After changing the IP it works.

vmware: unable to ping using NAT IP address, but can ping physical IP

I've been searching around and found no similar issues have been asked.
My desktop (windows 7) is in LAN, has IP (192.168.3.121).
I installed vmware (windows 7), using NAT connection (172.168.174.128). The guest is able to access internet without problem.
In guest, if I "ping 192.168.3.121", this will be ok.
If I "ping 192.168.3.xxx", will also be ok.
If I "ping 192.168.174.2" (DNS), this will be ok.
If I "ping 192.168.174.1", can't ping.
Note my host Vmnet8's ip is indeed 192.168.174.1. Ping from host also doesn't work.
From host:
"ping 192.168.174.128" (guest IP), does not work
"ping 192.168.174.2", does not work
Both host/guest windows are installed without any other "security/defender/firewall" related softwares.
Anywhere can go wrong?
Thanks.
If you configured your vmware VM to run in a virtualized NAT network, then you will not be able to access/ping your VM from the Host, or anywhere else for that matter, without configuring port forwarding for that virtual NAT network.
If you would like to be able to access your VM from your host you can either:
A) Change the mode of the network adapter for the VM to a bridged adapter. This will make the VM act as if it is just another computer on the same network your Desktop is and will be accessible at an IP such as 192.168.3.122
or
B) Add a Host-Only network adapter to the VM. This second NIC will be connected to a network that has no internet access, but is connected to the host and any other VMs on the same host-only network
Also, check the firewall settings to allow inbound ICMP inside the VM.
You mean that you cannot ping to the VMnet8 interface of your physical PC.
Maybe it is not activated.
It should be activated first by issuing the command at the cmd prompt with the admin's privilege.
C:\Windows\system32>netsh interface set interface name="VMware Network Adapter V
Mnet8" admin=ENABLED
I have seen this issue with two different windows 10 machine & two different version of vmware workstation ( 15 & 16).
One way it works is I start the wireshark & under capture options I select on VMWARE8(default for workstation/need to adjust according to your NAT Interface) & than start ping from My Local Machine to NAT IP of the VM .
It takes time but it works. I do not what triggers this .
My initial thought was it's one of the Windows 10 upgrade but with two different version of windows 10 & this old issue resurfaced.
Navigate to "Control Panel\Network and Internet\Network Connections".
Disable and Enable the VMware Network Adapter VMnet8 and try again.
I was having same problem after the latest release of VirtualBox-6.1.6-137129-Win update. "NAT Network" on any of the guest machine was not working. So i downgraded my virtual box version to 6 and works fine with all my VMs but problem remains in Kali Linux.
NAT Network was successful in giving IP to kali machine but Internet was not working. Problem i found was somehow gateway of kali wasn't set. Then i configured both Gateway and DNS manually and it worked for me.
Make sure that you Uncheck the option "Use this Connection only for resources on this network."
Kali manual configuration for IP, DNS and Gateway

Different IP Subnets in VM and on Host

this is my first Post here. Please be gentle :)
I have the following Problem:
I have a Windows Server 2k8 Installation hosted somewhere, and now i wanted to run an VirtualBox Guest on this Server and give it its own public IP. I asked my Server-Provider for an Extra IP which I got. Now this IP is in a totally different Network...
The Host System has this IP Address:
85.x.x.x / 28
and the Guest System should have this IP:
123.x.x.x / 28
Now my Question is:
Can i give this VM the Second IP and let it be publically accessible, and how do I do that?
Assuming you're in control of everything where you host it, say on a machine in your home.
Open oraclebox, go to your vm, right click go to settings -> Network, and set it to NAT. (assuming your IP is in the same subnet of the host)
Add the IP to you DNS server
Start the vm and change the ip.
That should cover your issue.

forwarding rdp traffic using netsh

I'm trying to set up port forwarding on windows machine. I have the following setup:
Machine P with ip address 192.168.0.120 that is reachable from my network
Machine D with ip address 192.168.120.6 that is reachable from machine D network only.
I need to access machine D. Now I'm using rdp to P, and then launch rdp to D. That's not convenient. What I wanted to do, is forward rdp from D to my local machine over P.
netsh.exe interface portproxy add v4tov4 listenport=33891 connectport=3389 connectaddress=192.168.120.6
But when I try to connect using rdp to 192.168.0.120:33891 it fails. Telnet also can't open port 33891. So, port forwarding doesn't work.
I'll appreciate any suggestions, Thank you !
Please use this tool Port Redirection with Windows

Resources