Rabu, 30 Maret 2016

Cara Setting Redirect / Forwarding DNS di MikroTik

   9/25/2015  


Di Kesempatan ini, saya akan menjelaskan tehnik setting pengalihan / forwarding DNS di Mikrotik untuk komputer klien. Anggap saja Anda mempunyai rencana bahwa dalam jaringan komputer warnet Anda tidak memperbolehkan mengakses situs-situs yang "ga bener", mungkin hal yang paling mudah adalah blokir / filter situs "ga bener" dengan DNS.

Banyak perusahan ISP yang sudah memfilter akses situs dengan DNS mereka, contohnya yang mungkin anda tahu yaitu filter situs "ga bener" dengan DNS Nawala. DNS Nawala menawarkan layanan DNS yang bebas digunakan oleh pengguna atau penyedia jasa internet untuk mendapatkan akses internet bersih dan aman.

Anda setting IP DNS di tiap komputer client dgn DNS tersebut atau hanya anda arahkan ke DNS IP mikrotik anda ? yang jadi pertanyaan,  bagaimana jika si user mengganti settingan IP DNS di komputernya sendiri ? seperti contoh dalam artikel saya di 6 Cara Bypass Filtering dan Sensor Internet

Berikut penyedia jasa DNS Filtering internet yang akan membuat penggunaan Internet sehat dengan menggunakan penyaringan konten web yang terintegrasi, anti-phising, Blok Situs dan anti pornografi.

AmalaDNS - http://www.amaladns.com
  • 202.146.225.215
  • 202.146.225.216

Nawala - http://www.­nawala.­org
  • 180.131.144.144
  • 180.131.145.145

Tehnik Setting Redirect / Forwarding DNS di Mikrotik


Nah ada solusi di dalam mikrotik yang dapat "maksain" request DNS dari user ke IP DNS mikrotik agar menggunakan DNS yang kita inginkan menggunakan tehnik setting redirect / forwarding DNS di MikroTik. Cukup tambahkan rules di IP > Firewall > NAT seperti ini:

/ip firewall nat
add action=redirect chain=dstnat comment="" disabled=no dst-port=53 protocol=tcp to-ports=53
add action=redirect chain=dstnat comment="" disabled=no dst-port=53 protocol=udp to-ports=53

Rules diatas akan meredirect (memaksa) permintaan DNS (port 53) dri komputer user ke DNS mikrotik. jadi walaupun user mengganti2 DNS akan tetap menggunakan DNS yg kita setting di IP > DNS router mikrotik Anda.
http://www.modalsemangat.com/2015/09/cara-setting-redirect-dns-mikrotik.html

Rabu, 23 Maret 2016

Skip to end of metadata
Go to start of metadata
It is possible to clone an entire hard drive or specific partitions on a hard drive. This is useful if you are upgrading to a larger hard drive. With Macrium Reflect you can boot the target disk on the same system after cloning. Cloning your hard drive creates a bootable new hard drive with the state of your computer at the time you undertook the clone.You can clone to a hard drive installed in your computer or to a hard drive installed in a USB hard-drive Caddy.
Important
Windows cannot boot from a USB connected drive. This is a restriction imposed by Windows. If you clone your system disk to a USB connected external drive then, to boot your clone,  the physical disk must be removed from the USB caddy and attached to your Motherboard SATA port.
Deleting and re-configuring existing partitions or configuring new partitions is possible with Macrium Reflect, so you don't need to do this prior to cloning.
 
 Show important information about MS Dynamic Volumes...

  1. Select the disk you wish to clone in the main application window and Click 'Clone this disk'..
  2. In the wizard that opens Click Select a disk to clone to...

  3. Select the hard disk you wish to clone to. In this case, there is only one disk available.

  4. If you do not want to modify the order or size of partitions of the clone, click Next. This is the default behavior.
    Alternatively, drag the partitions you want to clone, the red arrow below shows this. 
    Becomes
    In this example, there is 400MB of free space after the copied partition. You can modify the size of each partition to fit the new disk if required.
    You can delete partitions on the target disk by selecting and clicking 'Delete existing partitions'..

  5. To modify the partition sizes, click Cloned Partition Properties and adjust the size of the partition by:
    1.  Setting the partition size precisely using the Partition Size entry box.
    2.  Resize the partition automatically by clicking Maximum sizeMinimum size or Original size.

  6. Click OK.
  7. If required, click Advanced Options to change settings for this clone:

    Option_____________
    Description
    Intelligent sector copyCopy only file system sectors/clusters that are in use. This reduces the time to create the clone as unused file system clusters are not copied.
    Verify File System
    Verifying the file system prior to cloning ensures that there are no file system errors transferred to the clone.
    Please note that this may take several minutes to complete
    Rapid Delta Clone
    Copy only file system differences between the clone source and target. This increases cloning speed dramatically.
     Show more information on RDC...
    Enable SSD TRIM
    Enable SSD TRIM on the clone target to optimize the disk.
     Show more information on SSD TRIM...
    Forensic Sector Copy
    Copy every sector from the source to the target disk partition.
    Please note tat this option is only necessary if you want to copy unused file system space and will significantly increase the time to complete the clone.


  8. Click Next.
    The options to Add ScheduleEdit Schedule or Delete Schedule is displayed.

    Click 'Add Schedule' to optionally schedule your clone
  9. v5: How to clone a disk



    It is possible to clone an entire hard drive or specific partitions on a hard drive to a new one. This is particularly useful if a hard drive is being upgraded to a larger size for example. Macrium Reflect manages the hard drive IDs such that the target disk will be bootable on the same system once the cloning process has been completed.

    Cloning your Hard Drive to another Hard Drive will give you a bootable new hard drive with the state of your computer at the time you undertook the clone. As an alternative to cloning, you could Image your hard drive, saving the Image file to another Hard drive. The benefit of an Image over a clone is that an Image file can be scheduled daily, weekly or monthly at a day and time you choose. You can restore an Image file to the original or a new hard drive or even to a new replacement computer (the latter may need the Professional or Server editions of Macrium Reflect to make the new hard drive bootable with new hardware by using ReDeploy; a cloned hard drive installed with new hardware may also need these editions of Macrium Reflect for ReDeploy).



    Clone a disk
    In order to clone a disk, you must ensure that your system has the target/destination disk installed on the system. It is possible to delete and reconfigure any existing partitions or configure new partitions within Macrium Reflect, so there is no need to do this prior to the cloning process. However, in this tutorial, it is assumed that the new disk contains no partitions.

    As well as cloning to a hard drive installed in your computer you can also clone your hard drive to a hard drive installed in a ‘USB hard-drive Caddy’ using this as the Target/Destination. To boot your computer with the hard-drive from the Caddy, the hard-drive will need to be installed into your computer such as by using SATA.

    There are some links at bottom of tutorial for further help with Cloning or Imaging.

    1.  Click on the disk you wish to clone. In this case MBR Disk 1[0F0452A1] and click 'Clone this disk' as shown in red below.



    2.  The clone disk wizard dialogue should pop up. In the destination section click the 'Select a disk to clone to...' link.

    3.  Now select the hard disk you wish to clone to. In this case, there is only one disk available for cloning to.

    4.  You can now drag and drop the partitions you wish to be cloned as shown by the red arrow below. Please note that if you already have established partitions on the target disk, you need to select each one and click the Delete Existing partition link before you can drag and resize partitions from the source.



    In this example, the 127GB disk is being cloned to a 1TB disk. Obviously, this will easily fit but may leave large parts of the target disk unused. It is therefore possible to modify the size of each partition to fit the new disk.

    5.  To modify the partition sizes, click the 'Cloned Partition Properties' link



    This gives the partition properties. To adjust the size of the partition, you can drag the arrows circled in red, you can set the partition size precisely using the 'Partition Size' entry boxes or you can default the partition to the maximum size available on the new disk, the minimum size or the original size using the buttons on the right.

    6.  When the target partition size has been set as required, click OK

    7.  Repeat the drag-and-drop and configuration process for all the partitions that are to be cloned and when satisfied, click Next

    8.  A summary screen is shown. Review the settings and then click Finish

    9.  The partitions selected will now be cloned and when complete, the old disk can be removed and replaced with the new disk as required.
  10. http://kb.macrium.com/KnowledgebaseArticle50081.aspx
  11. http://www.wikihow.com/Clone-a-Laptop-Hard-Drive-Using-Macrium-Reflect-Free

Selasa, 22 Maret 2016

VMware Workstation is, in my eyes, the best personal virtualization product around. Although other products exist, such as the free client Hyper-V on Windows 8/8.1 and Oracle Virtual Box, VMware Workstation has so many features that makes it much more usable compared to other offerings. I’ve used it for many years, and now VMware Workstation is on version 10. On my laptop I have several virtual machines (VMs) that I constantly use for various purposes, mostly running Windows Server 2012 R2 and Windows 7/8.1, but I also have some CentOS and RedHat VMs.
A couple of days ago I rebooted my laptop due to a Microsoft Windows Update, and when it started I launched VMware Workstation. I powered on one of my VMs, as I usually do. But this time I was presented with the following error:
Not enough physical memory is available to power on this virtual machine with its configured settings.
To fix this problem, power off other virtual machines, decrease the memory size of this virtual machine to 220 MB, increase the amount of physical memory for all virtual machines to 2256 MB, or adjust the additional memory settings to allow more virtual machine memory to be swapped.
It is possible that native applications and/or services have locked down memory which could be preventing the virtual machine from launching. Shutting down unnecessary applications or services may free enough memory to launch this virtual machine.
If you were able to power on this virtual machine on this host computer in the past, try rebooting the host computer. Rebooting may allow you to use slightly more host memory to run virtual machines.
And here’s a screenshot of the error I received:
Physical memory error message generated by VMware Workstation. (Image Credit: Daniel Petri)
Physical memory error message generated by VMware Workstation. (Image Credit: Daniel Petri)
The actual number of megabytes that the prompt tells you to configure may change, and sometimes it even changes between reboots of the host machine.
What? That cannot be right. My laptop has 16 GB of RAM and there were no apps that took more than 4 GB overall, which left more than 12 GB free. The VM I tried to boot was a Windows Server 2012 R2 machine with 4 GB of RAM.
I tried again, same error. I tried a different VM, same error. All my VMs couldn’t boot.
Since the same VMs worked just fine since my last reboot of the host laptop, I rebooted it, hoping it will make the error go away. It didn’t.
I looked around on the Internet. Reading some forum posts that I found, this error appears for a random reason and has been around in older versions of VMware Workstation, where it’s been found to go back to VMware Workstation 6.
Sponsored

4 Fixes for “Not enough physical memory” Errors

There were four approaches that I found to solve this error. For me, the third one worked, but I’ll list all of them just in case.

Fix #1 – Run as Administrator

1. Make sure VMware Workstation is not running.
2. If you have an icon for VMware Workstation on your desktop, right-click it and read on. If you don’t have an icon on the desktop, find it in Start and right-click it.
Navigating to VMware Workstation properties. (Image Credit: Daniel Petri)
Navigating to VMware Workstation properties. (Image Credit: Daniel Petri)
3. Select “Open file location.”
4. Right-click the VMware Workstation icon and select Properties. Go to the Compatibility tab and select “Run this program as administrator.”
Running VMware Workstation as an administrator. (Image Credit: Daniel Petri)
Running VMware Workstation as an administrator. (Image Credit: Daniel Petri)
5. Click OK.
6. Try to run VMware Workstation and boot your VM. If it works, fine. If not, read on.

Fix #2 – Uninstall Windows Update Fix KB2995388

1. If you have the Windows Update fix KB2995388 installed on your machine, then you may want to remove it. It should solve the VMware error, but it will prevent you from getting the other fixes in this rollup update, so I wouldn’t rush to go down this path.
2. October 2014 update rollup for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2.

Fix #3 – Modify the config.ini file (Host Parameters)

1. Open the config.ini file located by default at C:\ProgramData\VMware\VMware Workstation.
2. Add the following line to the end of the file:
3. Save the file. You may need to edit it as an administrator in case you get an error during the save.
4. Reboot your host computer.
5. Try to run VMware Workstation and boot your VM.
Sponsored

Fix # 4 – Modify the config.ini file (VmMemPct)

1. Open the config.ini file located by default at C:\ProgramData\VMware\VMware Workstation.
2. Add the following lines to the end of the file:
3. Use “100” to run a few VMs with best performance, or use lower values such as “25” if you want to run many VMs at the same time.
Note: These settings can also be done through the VMware Workstation UI under > Edit > Preferences.
Managing preferences for VMware Workstation. (Image Credit: Daniel Petri)
Managing preferences for VMware Workstation. (Image Credit: Daniel Petri)


Some more tuning options:
  • The VMware Continuum tuning guide provides instructions to set up the host for expected usage.
  • Save the file. Note that you may need to edit it as administrator in case you get an error while saving.
  • Reboot your host computer.
  • Try to run VMware Workstation and boot your VM.
For me, the third fix worked. Hope this helps.
https://www.petri.com/fixing-enough-physical-memory-available-errors-vmware-workstation

Kamis, 17 Maret 2016

tutorial php
http://prothelon.com/belajar/category/belajar-php
http://www.w3schools.com/php/default.asp\

Rabu, 16 Maret 2016

Enable, Disable Secure Logon in Windows 8

One way of adding an additional layer of security to your Windows computer is by enabling secure logon. By enabling secure logon, users are required to press Ctrl+Alt+Del before they can enter their credentials and log on.

Secure logon – Ctrl+Alt+Del

Secure logon offers a  keystroke sequence that cannot be intercepted by any application. When secure logon is enabled, no other malicious program can intercept your user name and password as you enter it. (NOTE: Please read comment below).
Pressing Ctrl+Alt+Del ensures that the authentic Windows logon screen appears. To enable secure logon, open Run, typeControl Userpasswords2 or netplwiz and hit Enter to open the User Accounts Properties box.
secure-logon-2
Open the Advanced tab, and in the Secure logon section, click to clear the Require users to press Ctrl+Alt+Deletecheck box if you want to disable the CTRL+ALT+DELETE sequence. Click Apply/OK > Exit.
Now the next time to logon you will see your Windows 8 lock screen with the following display in the top-left corner.
ctrl-alt-del-lock-screen
Pressing Ctrl+Alt+Del will allow you to enter your Windows logon password.

Disable CTRL+ALT+DELETE using Group Policy

If you wish, you can also enforce this policy, using the Local Security Policy.  To do so, Run secpol.msc and hit Enter.
disable Secure Logon
In the  left pane, select Local Policies > Security Options. Now in the right pane, double click on Interactive logon: Do not require CTRL+ALT+DEL.
This security setting determines whether pressing CTRL+ALT+DEL is required before a user can log on. If this policy is enabled on a computer, a user is not required to press CTRL+ALT+DEL to log on. Not having to press CTRL+ALT+DEL leaves users susceptible to attacks that attempt to intercept the users’ passwords. Requiring CTRL+ALT+DEL before users log on ensures that users are communicating by means of a trusted path when entering their passwords. If this policy is disabled, any user is required to press CTRL+ALT+DEL before logging on to Windows.
Disable CTRL+ALT+DELETE using Group Policy
Enable or Disable the policy as per your requirement, click Apply/OK and Exit.
By default the policy is enabled on Windows 8 domain-computers, and disabled on Windows 7 or earlier. The policy is enabled by default on stand-alone computers.

Disable Secure Logon using Registry

Open Registry Editor and navigate to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
In the right pane, right-click on DisableCAD and click on Modify.
  • To Disable Secure Logon, type 1.
  • To Enable Secure Logon, type 0.
Microsoft has also released a Fix It that lets you easily enable or disable the Ctrl+Alt+Del sequence for logging. More on that here at this post titles enable or disable CTRL+ALT+DELETE requirement for logon.
http://www.thewindowsclub.com/secure-logon-ctrl-alt-del-windows