Archive for the ‘Networking’ Category

Own Notes – Iptables

24 March 2017 Leave a comment

Allow Incoming SSH only from a Specific Network

    The following rules allow incoming ssh connections only from network

    root@home# iptables -A INPUT -i eth0 -p tcp -s --dport 22 -m state --state NEW,ESTABLISHED -j ACCEPT
    root@home# iptables -A OUTPUT -o eth0 -p tcp --sport 22 -m state --state ESTABLISHED -j ACCEPT

Read more…


RedHat Linux network redundancy using interface bonding

11 May 2014 1 comment

This notes written down when facing requirement to make barco wall-display working with redundant network link. Eventhough setup barco controller is not part of my responsibility, I still want to help our customer to fulfill their needs – for the sake of knowledge sharing.


This configuration tested using hardware and software specification

  1. Linux distribution RH7.2 (Enigma) i386
  2. network interfaces (identified as eth0 & eth1)

Read more…

Proxy Authentication with NTLM scheme

4 November 2011 Leave a comment

Ini adalah kenang-kenangan dari pulau Batam.

Secara default OS unix/linux tidak support utk mengikuti schema domain authencation yg dimiliki windows, yaitu NTLM dengan format nama_domain\nama_user.
Setelah seharian melakukan analisa terhadap kesalahan yg terjadi, ternyata om google memberikan pencerahan, Read more…

how to use socks proxy from wget

29 May 2011 4 comments

Warning : This post is my own note, you may believe on it or not. 😛

Before continue read this post, I recommend you to read this post as preface.

Linux / BSD user usually familiar with shell, and wget is very usefull tool for download from shell. Read more…

Assign IP VPN static pada client openvpn

17 March 2011 1 comment

Karena tips/tutorial ini merupakan lanjutan dari tulisan saya sebelumnya, maka sebelum melanjutkan membaca silakan lihat tulisan saya yg ini agar anda paham dasar setting openvpn yang saya maksutkan.

Disini kita menginginkan tiap2 client mendapatkan ip-address dari VPN server secara static (tidak berubah utk tiap client). Oleh karena itu yg harus kita lakukan adalah :


using ssh tunnel as socks proxy

18 November 2010 5 comments


If you have a laptop then you surely have been in a situation where you need to have a secure connection while on the move. This is most important when you are at a random hotspot and need to log into a non-secure site (authentication over http) or do not trust the vendor providing the connection. If you have access to a server running SSH then you can use a great feature in openssh to set up a SOCKS proxy and route all your traffic through. This is very similar to VPN’ing but you can do it on the fly and dont have to have an special client software on your machine.

This is written specifically for Unix based systems with some stuff even more specific for Gnome. If you are using Mac OSX, Linux or Unix variants you can set up the proxy with the commands but telling your system to use the tunnel may vary. Under windows there is a way to perform all these same things with putty, my apologies for not covering that here. If you are a windows user and cant find any good documentation please let me know I would be happy to write it up. Read more…

Koneksi VPN dengan openvpn

2 June 2010 21 comments

VPN adalah singkatan dari Virtual Private Network, yaitu network-private yg dibuat secara virtual, maksutnya adalah network private yg melalui internet. Loooh koq? internet khan public, koq bisa dikatakan network private?

Dikatakan private adalah karena paket data yg dilewatkan pada internet dibungkus (encapsulate) lagi dengan IP Private yang hanya diketahui network-private tersebut. OK, cukup sesi teorinya, berikut ini adalah langkah implementasi pada SERVER dan CLIENT. Read more…