Port forwarding on Smart RG SR505N

if you follow my twits, you may have noticed I switched up internet connection from adsl to vdsl thus needing a new modem. Unfortunately my ISP only recommends this little guy and as a matter of fact it sucks for 2 reasons:

  1. it sucks better that’s the only option
  2. it sucks because it doesn’t do NATing if you are fancy
  3. (ok that’s 3) it sucks because Teksavvy doesn’t support its recommended modem

I have been trying to setup port forwarding through the Advanced Setup/nat/Virtual Servers interface for several hours now and I have not succeeded. No matter what Virtual Server, what ports, it would give me the same error: “invalid server”.

The thing is that I am fancy, and decided to 1. to restrict the dhcp scope, 2. changed the IP of the modem/router. Apparently if you are fancy and do those 2, NATing doesn’t work!

So if you get that modem and want to use port forwarding, please do not be fancy.

Advertisements

vCenter Server Appliance vs vCenter Server 5.5

I was reading some articles as I was getting ready to reinstall the whole vCenter Server after a major crap-out at a client.

I am talking about this kb from VMware and it seemed that VSA had improved so much it could actually be used at this SMB.

  • But I found out the following VMware vCenter Server Appliance 5.5 limitations.
  • vCenter Linked Mode is not supported
  • vCenter Heartbeat is not supported
  • Some VMware/Third Party Plugins might not support vCSA. Check with your desired plugin vendors if they support the vCenter Appliance.
  • Installing update Manager on the vCenter Appliance is not supported, but you can still set it up on a separate Windows VM.
  • If using the embedded database you will be limited to 100 hosts and 3000 VMs, but you always can utilize an Oracle Database to be able to scale to the vCenter Maximums of 1000 hosts and 10,000 VMs.
  • MS SQL Database is currently not supported by the vCenter Server Appliance, where you can either use the built-in vPostgres (Support up to 100 hosts and 3000VMs) or you will need to use Oracle Database to scale to 1000 hosts and 10,000 VMs. If you are planning to go beyond 100 hosts and 3000VMs and Oracle database is not an option or your cup of tea then you will have to stick with the Windows version of vCenter for now.
  • It does not support the Security Support Provider Interface (SSPI),  which is a part of SSO, and  is a Microsoft Windows API used to perform authentication against NTLM or Kerberos.
  • VMware View Composer can not be installed on the vCenter appliance, but it is no longer required to install it on the same machine as vCenter and it can be installed on a different machine and then it will support vCSA.

So I guess that’s not quite there. I’ll get some windows licenses on the way 🙂

Downloading files with windows server core

I found out that the invoke-webrequest doesn’t work so well on windows core. The Internet Explorer einginre required by the ParseHtml is apparently not supported on Server Core editions of windows Servers. If you want to do web page parsing on Server Core, be sure to use the -UseBasicParsing as a parameter of the request.

This mode performs only limited parsing on the uri – images, input fields, links and raw html content.

So in order to download onto your internet connected windows Core Server, you can use

$url = "http://myfiles.com/download.msi"

$Destination=".\download.msi"

Invoke-WebRequest -uri $url -OutFile $destination 

more practically if I wanted to download a hotfix, I’d go

> iwr -Uri http://download.microsoft.com/download/F/3
/6/F365E995-0C73-48D6-B520-3FF323CA913A/Windows8.1-KB2979576-x64.msu -UseBasicParsing -OutFile .\Windows8.1-KB2979576-x64.msu

Also for some type of file you might want to use the Unblock-File powershell cmdlet.

How to change the default DNS Servers on a Thomson Router ST546

As a new year resolution,I am trying to get away as much as possible from the big G and so instead of the very easy to remember 8.8.8.8 and 8.8.4.4 I decided to use OpenDNS.I left the one from my ISP but in second place thereby setting the priority as you want it. You could, of course, use any numbers you wish and as long as they are less than 10 they will have a higher priority than the automatic ones.

Step by Step Guide

Open DOS window

Type telnet 192.168.1.254

Username Administrator

Password blank (unless you have changed it)

Note: the Username and Password to use depends on the router you are using. Please see the guide that came with your router for the appropriate ones to use.

You should then see something like this

Username : Administrator
 Password :
------------------------------------------------------------------------

                             ______  SpeedTouch 5x6
                         ___/_____/\
                        /         /\  7.4.3.2
                  _____/__       /  \
                _/       /\_____/___ \  Copyright (c) 1999-2007, THOMSON
               //       /  \       /\ \
       _______//_______/    \     / _\/______
      /      / \       \    /    / /        /\
   __/      /   \       \  /    / /        / _\__
  / /      /     \_______\/    / /        / /   /\
 /_/______/___________________/ /________/ /___/  \
 \ \      \    ___________    \ \        \ \   \  /
  \_\      \  /          /\    \ \        \ \___\/
     \      \/          /  \    \ \        \  /
      \_____/          /    \    \ \________\/
           /__________/      \    \  /
           \   _____  \      /_____\/
            \ /    /\  \    /___\/
             /____/  \  \  /
             \    \  /___\/
              \____\/

-----------------------------------------------------------------------
{Administrator}=>dns server route list
DNS Server Entries:
 DNS Server     Source                Label              Metric Intf         State  Domain
 D 206.248.154.22                                          10     Internet      UP      *
 D 206.248.154.170                                         10     Internet      UP      *
{Administrator}=>dns server route add dns=208.67.220.220 metric=1 intf=Internet
 {Administrator}=>dns server route add dns=208.67.222.222 metric=2 intf=Internet
{Administrator}=>dns server route list
 DNS Server Entries:
 DNS Server     Source                Label              Metric Intf         State  Domain
 S 208.67.220.220                                          1      Internet      UP      *
 S 208.67.222.222                                          2      Internet      UP      *
 D 206.248.154.22                                          10     Internet      UP      *
 D 206.248.154.170                                         10     Internet      UP      *
{Administrator}=>dns server route delete dns=206.248.154.22
 {Administrator}=>dns server route delete dns=206.248.154.170
{Administrator}=>saveall
 {Administrator}=>