Saturday, February 8, 2014

Openvpn client connected but cannot access Internet.

The solution is to add iptables rules below. and dont forget to push dns for client.

Reference: https://bbs.archlinux.org/viewtopic.php?pid=1112882#p1112882


Do you have the possibility to do a packet capture on the external interface of the server to check if there are any related packets leaving (verify if they're getting source natted correctly etc)?

Normally the MASQUERADE should do the job just fine in this case; but just for the sake of it try using a specific source NAT statement:

    iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to <serverpublicip>    

Thursday, January 30, 2014

How to enable multi window feature on Android 4.3?

How to enable multi window feature on Android 4.3?
Below are the steps with a little tweaks revealed by a user in XDA-developer forum that you need to do to allow you brings up the multi window panel using the Back button:
  1. Go to Settings.
  2. Tap My Device.
  3. Tap Home screen mode.
  4. Select Easy mode and then followed by tapping Apply button.
  5. Now, go back to the Settings menu.
  6. Tap My Device.
  7. Tap Home screen mode.
  8. Select Standard mode and then followed by tapping Apply button.
  9. Now, go back to the Settings menu.
  10. Tap My Device.
  11. Tap Display.
  12. Enable Multi window by ticking the box next to this option. When the box is ticked means this option is enabled.

Tuesday, November 12, 2013

How can I install Sun/Oracle's proprietary Java 6/7 JRE or JDK?

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java7-installer Thats all !! Now to check the java version

java -version

The output will be like

java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode

There may come a new version,then you can simply update it with this command

sudo update-java-alternatives -s java-7-oracle

Setting up Environment variables

sudo apt-get install oracle-java7-set-default

Proxmox installation display out of range

Reference:  https://forum.proxmox.com/threads/proxmox-ve-screen-out-of-range.131297/