VMWare Player : NAT not working when forwarding some ports

Published by:

!!!

When using NAT with the VMWare Player, you might want to make sure that there aren’t applications on your PC that are using the ports you want to forward.

When you try to forward a port that is in use, the network will stop functioning as a whole.

netwcfg

Here is an example of a NAT setup. The proxy is a tunnel over ssh, that acts as a socks5 proxy and is working fine. Then I tried to forward port 80, so that I can access the websites I’m working on in the Linux guest.
As soon as I activated this configuration, I lost all network connections in the guest os.

When I looked at what ports were used by the host system, using the netstat -nba command:

netstcfg

I noticed Skype used port 80 and that’s why I couldn’t forward port 80. Once I disabled port 80 in Skype it worked.

To disable these ports in Skype, click Tools -> Options -> Advanced tab -> Connection. Uncheck “Use port 80 and 443 as an alternatives for incoming connections”. Save and restart Skype.

Links:

How to use NAT in VMWare
https://www.vmware.com/support/ws45/doc/network_nat_details_ws.html

Where to find vmnetcfg?
https://ninety9names.wordpress.com/2013/12/18/download-vmnetcfg-exe-vmnetcfglib-dll-for-vmware-player-6-x-7-x/

Hikvision NAS storage HDD initializing returns to uninitialized state.

Published by:

When using a NAS for storage of video from Hikvision surveillance cameras, you may encounter a situation where the HDD keeps returning to the uninitialized state.
The reason for this is that the camera can’t cope with large drives. I tried to attach a 33 Terra-byte share to the camera and that didn’t work.
Only when I put a quota on the share of 150 Gigabyte, the format succeeded and the status stayed normal
I guess 150 GB is not the limit, try 200 or 300.. see what works.

Samsung TV as a monitor for PC ( UE22D5003 )

Published by:

When using a Samsung TV , for example the 1080p budget UE22D5003, you will notice that the picture quality is mediocre to say the least. That’s because the monitor is acting as a television, applying all kinds of filters to the video, rather than passing the source “as is”, like a monitor does.

Here is an easy fix to put your “tv” in monitor modus:

Press the “Source” button on the remote and select the HDMI input where you have connected your pc. (Normally it is already selected)
Then select “Tools” on the remote. The select “Edit Name” from the menu and scroll down to “PC”. Press “OK” and your screen will refresh.

That’s is. The pricture should now be good.

Works for most Samsung LED TV’s.

Application blocked by Java Security

Published by:

!!!

After countless security issues, Oracle has decided that only applets that can present a valid certification can run. And there is no “opt out”. Well, I guess they just got fed up with being blamed of all sins in the world and made their security ridiculously strong. As such, many applets, especially those on small devices like cameras, switches, etc, won’t run at all.

2015-01-14_0-02-11

2015-01-14_0-03-51
Application Blocked; Click for details. Your security settings have blocked an application signed with an expired or not-yet-valid certificate from running.

Until version 8, the solution was to put Java in “medium security” mode. But the slider is gone now and the only options are High and Very high.

Anyway. To make those applications run again you’ll need to add the URL of the application in the Exception Site List in the Java Control Panel. Here is how that works.

( 1 )First you need to know URL where the application runs. If you know it already, skip to section 2.

Open the page with the blocked application.

2015-01-14_0-09-09

Right click the application and choose “inspect element”. That will bring up the source code of the application.

2015-01-14_0-12-10

Look for codebase= and copy down that URL ( in this case http://10.0.0.182:8989/admin ). This is the URL we will use to put in the exception list.

( 2 ) Configure Java

Go to control panel and search for the Java configuration.

2015-01-14_0-06-57

Double click to open the Java Control Panel.

2015-01-14_0-23-18

Go to the tab Security and click the Edit Site List button.

2015-01-14_0-27-07

In the Exception Site List window click the Add button. There you can enter the URL of the application as you found it in section 1. Note that you need to add a slash to the end ( / ). The slash will tell java to allow execution of applications that run from there and all sub-directories.

Click ok.

Dismiss the security babbling by clicking Continue.

Click ok again to close the Java Control Panel.

Now KILL Chrome (or firefox or internet explorer), because the changed settings will only work if the browser is restarted.

2015-01-14_0-34-46

Note that just closing Chrome will not end the browser. It will still be running. Kill it in the task manager.

If you don’t want to kill them one by one, you can use following command from the DOS prompt.
taskkill /F /IM chrome.exe

Restart the browser and try again. It should work now.

Bad Behavior has blocked 2266 access attempts in the last 7 days.