Showing posts with label BSD. Show all posts
Showing posts with label BSD. Show all posts

Configure a Professional firewall using pfSense

9:09 AM Add Comment
The guide will take you through the setup of the pfSense firewall with one WAN interface, one LAN interface and one Opt1-WiFi Interface.

This guide was written for Linksys, Netgear, and D-link users with no firewall or router experience. No experience is needed with FreeBSD or GNU/Linux to install and run pfSense. When you are finished, management of pfSense will be from a web interface just like any of the SOHO firewall/router appliances.pfSense is a web-based firewall project that is similar, in terms of functionality, to the software in firewall appliances sold by Linksys, Netgear and D-Link. pfSense covers all the basic requirements offered by those appliances but offers so much more--in fact, it is really in a class by itself since it would be very difficult to find a commercial alternative that would provide what pfSense has to offer (or, anything cheaper than $2,000–$5,000).As mentioned above, in this article I will explain how to setup the pfSense firewall with one WAN interface, one LAN interface and one Opt1-WiFi Interface. This set-up allows you to offer wireless Internet to the surrounding community. The WiFi subnet will not be able to access the LAN: it will be able to connect to the Internet only. You can choose to eliminate the Opt1-WiFi setup: this will leave you with a firewall more similar to the "conventional" 

appliances.One of the very unique uses for your new firewall could be to offer wireless Internet to your neighbors at a reduced costOne of the very unique uses for your new firewall could be to offer wireless Internet to your neighbors at a reduced cost. This connection can be via an encrypted access point, where the network key is only given to approved users, or an open access point where you control access to the Internet with the captive portal function built in to pfSense. A portal landing page will be presented whenever a user tries to connect to the Internet at the beginning of the session. Each user will need to have their user name and password entered into the firewall in advance of the first connection.
There are many advanced features that pfSense can offer with one-click installation which are listed at the end of this article. See the pfSense's web site. There is an active user forum and an pfSense Wiki.

Console Dasar Linux

7:52 AM Add Comment
Untuk mengerti dan memahami linux ada baiknya hal awal yang mesti dipahami dan dimengerti adalah command shell di dalam linux sebab hampir semua pekerjaan didalam linux di eksekusi melalui command shell.

Secara umum perintah-perintah Linux dan UNIX memiliki sintaks sbb :
perintah [option…] [argumen…]
Option merupakan pilihan yang dapat kita gunakan untuk memberikan hasil tertentu dari suatu perintah. Argumen umumnya merupakan sesuatu yang akan diproses oleh perintah, misalnya nama file atau nama direktori.Tanda [ ] merupakan simbol bahwa option dan argumen tidak harus selalu digunakan dalam menjalankan perintah. Tanda titik-titik menandakan bahwa baik option dan argumen dapat lebih dari satu. Seluruh perintah dalam Linux dan UNIX bersifat case sensitive, jadi perintah LS akan dianggap berbeda dengan ls.Sekarang kita mulai dengan perintah-perintah dasar yang umum digunakan dalam Linux :


ls
Perintah ini merupakan perintah untuk menampilkan isi suatu direktori. Perintah ini mirip seperti perintah dir dalam DOS.
Ada beberapa cara untuk menggunakan perintah ini, misalnya :
# ls
# ls -l
Untuk mengetahui lebih lengkap tentang perintah ls, silakan lihat di manual dengan perintah man ls.
more
Perintah more dapat digunakan untuk melihat isi suatu file teks dengan layar per layar. untuk keluar dari tampilan more dengan menekan tombol q.
cat
Perintah ini digunakan untuk menampilkan isi file ke layar tanpa fasilitas tampilan layar per layar.
Biasanya digunakan bersamaan dengan pipeline atau redirection. Misal untuk menampilkan isi file /etc/passwd dan /etc/group, gunakan perintah :
# cat /etc/passwd /etc/group
cd
Perintah ini mirip seperti perintah cd dalam DOS yaitu digunakan untuk pindah ke direktori tertentu. Contoh perintah :
# cd /home/adje
Untuk menuju kembali ke direktori /home, maka digunakan perintah :
# cd ..
cp
Perintah ini digunakan untuk mengkopi suatu file atau direktori. misalnya :
# cp contoh1 contoh2
Perintah di atas maksudnya akan mengkopi contoh1 ke file contoh2. Untuk mengkopi seluruh direktori menggunakan perintah :
# cp -R /home/adje /home/afri
mv
Perintah ini digunakan untuk memindahkan suatu file ke lokasi lain atau dengan nama lain. Contoh :


# mv contoh1.php contoh2.php
#mv contoh1.php /home/adje/contoh2.php
rm
Perintah ini digunakan untuk menghapus direktori atau file. Perintah ini mirip dengan perintah del dalam DOS. Dalam menggunakan perintah ini agar hati-hati karena dalam Linux tidak ada perintah undelete atau unerase. Contoh penggunaan rm sbb :
#rm contoh1.php
Untuk menghapus suatu direktori gunakan perintah :
#rm /home/adje/temp
mkdir
Perintah ini digunakan untuk membuat direktori. Misalnya :
#mkdir contoh
Pipeline
Pada Linux dan UNIX, hasil keluaran suatu proses program dapat diberikan sebagai input pada proses lainnya. Contohnya :



#ls -l /home/adje | more
grep
Perintah grep digunakan untuk men-filter masukan dan menampilkan dalam bentuk baris-baris yang sesuai dengan pola yang anda inginkan. Contoh :



# ps ax |grep wvdial
Redirection
Di dalam Linux atau UNIX, anda dapat membelok-belokkan standar input, output ataupun standar error menuju tujuan lain.
Misalnya anda dapat membelokkan standar output suatu program ke file atau membelokkan standar input suatu program dari suatu file.
Proses pembelokkan ini disebut redirection dan di *NIX digunakan simbol > (untuk membelokkan standar output ke file) dan simbol < (untuk membelokkan standar input dari file). Contoh :



Untuk menyimpan tampilan isi seluruh directori /etc ke sebuah file, gunakan perintah :



#ls -lR /etc > isi-etc
Untuk menambahkan isi file isi-etc dengan data lain, gunakan simbol >> (append) pada redirection, misal :



#ls -lR /home/adje >> isi-etc


Untuk membuat perintah mensortir data yang terdapat pada file contoh.txt dapat digunakan perintah :


#sort < contoh.txt
Perintah-perintah di atas adalah perintah-perintah yang sering digunakan dalam Linux atau UNIX. Bila anda masih merasa kesulitan silakan baca manual-nya terlebih dahulu. Karena membaca manual itu sangat penting bila kita sering meng-oprek Linux atau UNIX. Dari manual itu kita bisa mendapat solusi dari masalah yang kita hadapi

10 Games Terbaik Linux

7:02 PM 1 Comment
10 Games Terbaik Linux
ubuntu games 1 -open arena
Ubuntu 10.10/11.04 atau sistem lainnya Berbasis Linux (seperti - open Suse, Linux Mint, Fedora dll) telah tertinggal di belakang jendela ketika datang untuk mendukung Olimpiade. Ada terutama dua alasan bahwa Linux berbasis os tidak platform favorit Gamer-Pertama, Sebagian besar game komersial yang dirilis hanya untuk Windows Platform, yang kedua kartu grafis kinerja (mungkin karena kenyataan bahwa Graphics Produsen Kartu tidak melepaskan driver yang sesuai untuk Platform Linux, dengan cara jika mereka rilis eksklusif (Sumber Tertutup) driver maka ada kemungkinan banyak masalah kompatibilitas dengan sistem operasi berbasis Linux).

Waktu telah berubah sekarang, berbasis Linux OS seperti Ubuntu sekarang menjadi pilihan favorit untuk bermain game, sebagian besar, karena ketersediaan koleksi besar open source dan game gratis. Beberapa game komersial pengembang juga terkonsentrasi pada Ubuntu sebagai platform target mereka. Nvidia Graphics card menyediakan kinerja yang baik pada Ubuntu.

Jadi, di akhir posting ini, Anda akan mendapatkan gambaran dari beberapa permainan / populer terbaik (open source dan komersial) bukan merupakan tugas yang mudah untuk pilih top 10 game dari daftar, jadi jika Anda tidak. melihat permainan favorit Anda tercantum di sini jangan panik, saya sudah menyiapkan daftar berdasar pengalaman pribadi saya (2 + tahun) di game; mengirimkan pendapat Anda / ide / rekomendasi melalui komentar atau hubungi saya

Top 10 Ubuntu Games – at a Glance


# 0 : Open Arena


Open Arena merupakan open source (dan gratis) FPS multiplayer (First Person Shooter) permainan berdasarkan ioquake3 garpu dari mesin berteknologi id 3. itu adalah versi gratis dari gempa III arena dan dapat berdiri sendiri sehingga Quake III Arena adalah tidak diperlukan untuk memainkan permainan ini.



Download and installation instructions

If you are using Ubuntu 10.04/10.10 then download open arena deb and open with ‘Ubuntu Software Center’ (or open with ‘gdebi Package Manager’ in older versions of Ubuntu)to install. Visit the official wiki  page of Open Arena- Installation Details for other Linux Distributions.

# 1 : Torcs


Torcs is a 3D Racing Car Simulation Game based on OpenGL. it is available free for all platforms e.g Linux based OS(e.g Ubuntu 10.04/10.10/11.04),Windows,Mac OS X,BSD; available as an open source software.it has more than 50 cars,20 tracks and 50 opponents available for racing with lot of other features that brings reality during simulation.

top-ubuntu-games-2

Install Torcs on Ubuntu 10.04/10.10/11.04

>> Download the debian package – download torcs debian package

>> Open the *.deb with Ubuntu Software Center ; then click  on install.

# 2 : Urban Terror


Urban Terror is a free multiplayer and multi-platform FPS(First Person Shooter) game similar to Quake III Arena.The motto of the game is ‘Fun Over Realism’ , so the game is very funky,enjoyable and unique.

top ubuntu games 3-urban-terror

Download Urban Terror

# 3 : Tux Racer


Tux Racer is fun and easy to learn  - a 3D racing game(Licensed under GPL and available free to use) suitable for all ages.In this game you need to race through mountains; you will play the role of tux – Linux Mascot.it is available for all common platforms. The primary goal of the game is to slide-down a snow and ice-covered mountain as quickly as possible.

games-4-tux-racer

Download Tux Racer

On Ubuntu you can install Extreme Tux Racer(very similar to Tux Racer ) with one simple command(or from Synaptic Package Manager) – Open terminal and enter the command :
$ sudo apt-get install etuxracer

# 4 : Armagetron Advanced


Armagetron Advanced is a 3D game(open source,free and multi-platform), a clone of the movie Tron.This game is based on the light cycle racing which can take only 90 degrees turn(and leaves a solid wall behind the path) and the winner will be the one who will survive till last; without colliding with the walls.The other rule is that the it can’t stopped during the race.

top-ubuntu-games-armagetron-advanced

Installing Armagetron on Ubuntu 10.04/10.10/11.04

Open Synaptic Package Manager and search for ‘armagetron advanced’ ; mark the boxes to select the package for installation; Finally click on Apply button to begin installation procedure.Wait for the installation to complete,then you are ready to play the game from Applications->Game menu.

# 5 :  Vega Strike


Vega Strike is is a 3D space simulator game.it is free and open source; available for Linux/Mac/Windows.In vega strike,you can trade,fight and explore the vast universe with a lot of fun.it is developed on the top of OpenGL.

ubuntu games -5-vega strike

Download Vega Strike

# 6 : Battle of Wesnoth


it is a free turn based tactical strategy game with high fantasy theme.it is a multi platform game.

ubuntu-games-6-wesnoth

Download Battle of Wesnoth

# 7 : Nexuiz


Nexuiz is a 3D deathmatch game with very complex and high end graphics effects.it is open source and available free.You can play it using local network or Internet.

ubuntu-games-7-nexuiz

On Ubuntu you can install it in one click from the ‘Ubuntu Software Center’.

# 8 : Alien Arena


it is a 3D standalone online Deathmatch- FPS game based on Quake II/III Arena.it is open source and free.

ubuntu-games-8-alien-arena

it is also available in Ubuntu Software Center,so ubuntu users can install it from there.

# 9 : Vdrift


Vdrift is an open source and free game which simulates driving with vdrift features.The game is new and all the development goal haven’t been completed but it is still playable.

vdrift-snapshot

Ubuntu users can download the debian pckage of vdrift and install it by Right Click ->Open with Ubuntu Software Center and click on Install button.

That’s All..If you have any suggestion or opinion then let us know through comments.

Translator