Friday, January 24, 2014

Cara Membuat SOCKS5 Server

1. Download rpm dari

# wget
2. Build the source rpm
# yum -y install gcc rpm-build openldap-devel pam-devel openssl-devel libgssapi-devel
# rpmbuild --rebuild ss5-3.8.9-8.src.rpm
3. Install SS5 rpm package
# rpm -ivh /root/rpmbuild/RPMS/i686/ss5-3.8.9-8.i686.rpm
4. Run SS5 as root dan ganti port
Edit /etc/sysconfig/ss5
SS5_OPTS=" -u root -b"#default 1080
“-b″ artinya SS5 menggunakan port 1080 pada semua IP server.
Jika ingin menggunakan IP tertentu, gunakan alamat IP tersebut daripada

5. User/password authentication
SS5 file configuras /etc/opt/ss5/ss5.conf.
Tanpa autentikasi,
auth - -
Autentikasi dengan user/pass,
auth - u
Data user/password disimpan di file /etc/opt/ss5/ss5.passwd. Pastikan file tersebut dapat dibaca dan ditulis hanya oleh root:
# chown root.root /etc/opt/ss5/ss5.passwd
# chmod 640 /etc/opt/ss5/ss5.passwd
Dalam /etc/opt/ss5/ss5.passwd, masukan user dan password dipisah dengan spasi dan satu user/password tiap baris.
user1 pass1
user2 pass2
6. Set permission
Bagian permit dalam /etc/opt/ss5/ss5.conf digunakan untuk menentukan IP client yang bisa konek ke SS5.
Ini setting agar semua host bisa konek ke SS5:
permit - - - - - - -
7. Start ss5
# service ss5 start
Jika terjadi error seperti ini
Can’t create pid file /var/run/ss5/
Can’t unlink pid file /var/run/ss5/
buat folder /var/run/ss5 dan start ss5 kembali.
mkdir /var/run/ss5

1 comment:

Anonymous said...

Some say twos and jacks shouldn't be blended, whereas some believe that if a participant can't go, want to|they have to} keep selecting up till they draw a card might be} played. If play gets really critical, make players decide up two each time they make a mistake, and decide up one for exposing a card to the group in error. If play gets sinister, adopt the "bring backs" rule; a participant who has gone out could be brought back into the 솔카지노 sport if the participant earlier than them lays a two or a black jack within the next spherical.