Friday, November 3, 2017

Free Open Source Firewall Solution - Pfsense

PFSense is an open source firewall and router distribution based on FreeBSD .
 Pfsense is tailored for use as a firewall and router that is entirely managed via web interface.

pfSense can be setup on a lower end PC. It can be configured  and enhanced through a web-based interface, with out any  knowledge in FreeBSD system.

PfSense is very flexible and can easily be adapted to numerous applications ranging from a home router to a firewall for a large corporate network.  PfSense includes many features that are often only found in expensive commercial routers.



Why use pfSense instead of another router?

PfSense is fast, free, and stable offering tons of great features.

If you have an existing router that doesn't offer the features, or performance you need pfSense is a great choice to replace it with. Offering complete control of the hardware you can customize your pfSense system with the components you want.

If you've ever shopped for routers or firewall's before you probably know that depending on the features you are looking for they can be quite expensive. By using pfSense you can save a ton of money without compromising on features.


Popular uses for pfSense

    Firewall
    LAN / WAN Router
    Wireless Hotspot (Captive Portal)
    VPN Router
    DHCP / DNS Server
    Wireless Access Point
    Multi Wan Router
    Multi-WAN load balancing
    Automatic connection failover
    Bandwidth throttling 
    IPv4 and IPv6 support
    Port Forwarding / NAT (Network Address Translation)
  
User Authentication
    Local user and group database
    User and group-based privileges
    External RADIUS authentication
  
Proxy and Content Filtering
    Transparent Squid Proxy Server
    HTTP and HTTPS proxy
    Non Transparent or Transparent caching proxy
    Web Content Filter
    Domain/URL filtering
    Anti-virus filtering
    Unified Threat Management
    DNS Blacklist
    GeoIP blocking
    Anti-Spoofing
    Time based rules
    SafeSearch for search engines
    Website access reporting
    Usage reporting for daily, monthly, etc.

Dashboard with configurable widgets
Local logging
Remote logging
Local monitoring graphs
Real-time interface traffic graphs  and More.........................









Monday, October 23, 2017

AppImage : Portable package for Linux

AppImage : New package format for Linux


Debian/Ubuntu useing .deb packages,  Redhat, Fedora Using .rpm Packages. Now a days you can see a new package format .appimage

AppImage is a Universal package format  that runs in all the Linux Distributions.


It is very easy to use , because there is no dependency issues.

A typical linux installation create files in various places so it requires root permission for installation.

but in appimage  doesn't need root privilege because it  doesn’t really install the software.

How to use appimage

  just download , make executable(right click on file --> select properties--> permissions and click on execute) and  run


Lot of Appimages are avilable here 



Tuesday, September 26, 2017

How to Install ESP32 Board in Arduino IDE ( Ubuntu /Debian )

How to Install  ESP32 Board in Arduino IDE ( Ubuntu /Debian )

Now a days ESP32 become more popular than NodeMCU.

ESP32 board is not available in Arduino IDE.

For Adding ESP32 Board in Arduino IDE

First you have to install the latest Arduino IDE from arduino.cc

Run the following commands in a terminal

sudo usermod -a -G dialout $USER && \
sudo apt-get install git && \
wget https://bootstrap.pypa.io/get-pip.py && \
sudo python get-pip.py && \
sudo pip install pyserial 
 
 
 Now make a folder espressif in your arduino/hardware folder and change to that directory
 
 
 
 mkdir -p ~/Arduino/hardware/espressif 
cd ~/Arduino/hardware/espressif  
 
 
now run the following command
 
git clone https://github.com/espressif/arduino-esp32.git esp32 && \
cd esp32/tools/ && \
python get.py
 
 
Copy and paste the above all commands in a terminal. 
It will download and install all the required files and settings.


Restart Arduino IDE.


Thursday, September 21, 2017

How to Run 720p and 1080p mkv files Raspberry pi

VLC and other common video players  in Raspberry pi not support GPU.

You can use Omxplayer a text based video player for running 720p and 1080p mkv and almost all other video formats.

for installing omxplayer

sudo apt-get install omxplayer

omxplayer is a textbased player , so it is very difficult to use.

you can provide a graphical front end by using tboplayer

https://github.com/KenT2/tboplayer

Download the zip file from above site

run the following commands
sudo su
unzip tboplayer-master.zip
cd tboplayer-master
./setup.sh

This will take some time to complete

now run the following
python /opt/tboplayer/tboplayer.py

if any python module missing issue

pip install

Example:

raceback (most recent call last):
  File "/opt/tboplayer/tboplayer.py", line 65, in
    import pexpect
ImportError: No module named pexpect

Solution :  pip install pexpect






Tuesday, August 22, 2017

How to Install Edup Wifi Adapter in Ubuntu

How to Install Edup Wifi Adapter in Ubuntu

USB ID  148f:7601 Ralink Technology, Corp.

Chip :  Ralink MT7601u

Open a Terminal and Run the following commands

sudo apt-get install linux-headers-generic build-essential 

sudo apt-get install git

git clone https://github.com/art567/mt7601usta.git 

cd mt7601usta/src 

make 

sudo make install 

sudo mkdir -p /etc/Wireless/RT2870STA/ 

sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/ 

sudo modprobe mt7601Usta

 

Now Check your Wifi 

Monday, July 24, 2017

How to cut a field from csv file using bash

How to cut a field from csv file using bash 

Example :
cat mycsv.csv | cut -d ',' -f3


cat mycsv.csv | cut -d "," -f3 | sort | uniq -c | sort -rn | head

 


Monday, May 15, 2017

How to Disable Ports 445, 139 and 3389 , Protect your system from wannacy attack

How to Disable Ports 445, 139 and 3389 , Protect your system from wannacy attack


 Run the following  command in cmd (run as administrator).


netsh advfirewall firewall add rule dir=in action=block protocol=TCP localport=135 name="Block_TCP-135"
 
netsh advfirewall firewall add rule dir=in action=block protocol=TCP localport=445 name="Block_TCP-445" 


netsh advfirewall firewall add rule dir=in action=block protocol=TCP localport=3389 name="Block_TCP-3389"
 
 
 

How to Disable SMB Service in Windows and Protect your system from wannacry virus

How to Disable  SMB Service in Windows and Protect your system from wannacry virus


How to Disable SMBv1 support

The wannacry vulnerability can  be closed by completely disabling SMBv1 support. Run the following  command in cmd (run as administrator).

dism /online /norestart /disable-feature /featurename:SMB1Protocol

This will permanently disable SMBv1


For enabling just change the disable-future to enable-future

Tuesday, March 14, 2017

How to Install GUI in Ubuntu Server

How to install GUI in Ubuntu Server

You can install the default Ubuntu desktop by executing the following:

sudo apt-get install ubuntu-desktop

There are many desktop alternatives which you may install and use, like:

    Gnome 3 installation: sudo apt-get install gnome-shell
    XFCE installation: sudo apt-get install xfce4
    LXDE installation: sudo apt-get install lxde

    KDE see Kubuntu installation: sudo apt-get install kubuntu-desktop
    Openbox installation: sudo apt-get install openbox
 
    Another good GUI : sudo apt-get install gnome-session-fallback