SymmetricDS
SymmetricDS adalah tools Open Source dalam hal Distributed database, replikasi dan/atau transformasi data.
Tools ini juga cross platform baik database maupun operatin System nya, jadi bisa di aplikasikan di Windows
maupun linux dan juga hampir semua mainstream database sudah di support.
OK tanpa berlama-lama lagi, ikuti saja langkah-langkahnya. dalam tutorial di bawah ini saya menggunakan
OS linux dan database oracle dengan asumsi 1 server sebagai HQ dan 1 lagi sebagai server store
* Download SymmetricDS dari Webnya
http://www.symmetricds.org/download
pada saat tutorial ini di buat symmetrcds sudah versi 3.7.33
* buat folder /opt/symds di kedua node (server HQ dan server Store)
* extract source symmetric DS kemudian move ke folder yg telah kita sediakan di kedua node (server HQ dan server Store)
* copy file /opt/symds/samples/corp-000.properties ke /opt/symds/engines/hq-0000.properties
di node HQ
* edit hq-0000.properties sesuaikan dengan settinga database kita
engine.name=hq-0000
# The class name for the JDBC Driver
db.driver=oracle.jdbc.driver.OracleDriver
# The JDBC URL used to connect to the database
db.url=jdbc:oracle:thin:@192.168.9.6:1521:orcl
# The user to login as who can create and update tables
db.user=symds
# The password for the user to login as
db.password=symds
registration.url=
sync.url=http://192.168.9.6:31415/sync/hq-0000
# Do not change these for running the demo
group.id=hq
external.id=0000
# Don't muddy the waters with purge logging
job.purge.period.time.ms=7200000
# This is how often the routing job will be run in milliseconds
job.routing.period.time.ms=5000
# This is how often the push job will be run.
job.push.period.time.ms=10000
# This is how often the pull job will be run.
job.pull.period.time.ms=10000
# Kick off initial load
initial.load.create.first=true
* copy file /opt/symds/samples/store-001.properties ke /opt/symds/engines/store-0001.properties
di node Store
* edit store-0001.properties sesuaikan dengan settinga database kita di server store
engine.name=store-0001
# The class name for the JDBC Driver
db.driver=oracle.jdbc.driver.OracleDriver
# The JDBC URL used to connect to the database
db.url=jdbc:oracle:thin:@192.168.9.29:1521:orcl
# The user to login as who can create and update tables
db.user=symds
# The password for the user to login as
db.password=symds
# The HTTP URL of the root node to contact for registration
registration.url=http://192.168.9.6:31415/sync/hq-0000
# Do not change these for running the demo
group.id=store
external.id=0001
# This is how often the routing job will be run in milliseconds
job.routing.period.time.ms=5000
# This is how often the push job will be run.
job.push.period.time.ms=10000
# This is how often the pull job will be run.
job.pull.period.time.ms=10000
* Siapkan database HQ di server, dan sesuaikan dengan setting di edit tadi, nama databasenya orcl
di sini kita cretae schema dengan nama symds dan password symds, jika perlu kita juga boleh
persiapkan table table yg akan kita gunakan nanti.
* Siapkan database Store di server, dan sesuaikan dengan setting di edit tadi, nama databasenya orcl
di sini kita cretae schema dengan nama symds dan password symds, jika perlu kita juga boleh
persiapkan table table yg akan kita gunakan nanti.
* jika kita ingin mencoba dengan sample yg di sediakan dari symmetricds kita bisa import ke system kita
../bin/dbimport --engine corp-000 --format XML --alter-case create_sample.xml
perintah di atas jika kita menggunakan sample data dari symds dan engine kita bernama corp-000
tapi karena kita pakai sample data sendiri bisa kita skip
* jalankan script import SymmedtricDS Tables
../bin/symadmin --engine hq-0000 create-sym-tables
* jalankam script import sample data HQ
../bin/dbimport --engine hq-0000 insert_config.sql
file insert_config.sql
delete from sym_trigger_router;
delete from sym_trigger;
delete from sym_router;
delete from sym_channel where channel_id in ('sale_transaction', 'item');
delete from sym_node_group_link;
delete from sym_node_group;
delete from sym_node_host;
delete from sym_node_identity;
delete from sym_node_security;
delete from sym_node;
insert into sym_channel
(channel_id, processing_order, max_batch_size, enabled, description,last_update_time,create_time)
values('sales', 1, 100000, 1, 'sales transactional data from store',current_timestamp,current_timestamp);
insert into sym_channel
(channel_id, processing_order, max_batch_size, enabled, description,last_update_time,create_time)
values('master', 1, 100000, 1, 'master data to store',current_timestamp,current_timestamp);
insert into sym_node_group (node_group_id,description,last_update_time,create_time)
values ('hq','Server Group on HQ',current_timestamp,current_timestamp);
insert into sym_node_group (node_group_id,description,last_update_time,create_time)
values ('store','Node Group on Store',current_timestamp,current_timestamp);
insert into sym_node_group_link (source_node_group_id, target_node_group_id, data_event_action)
values ('hq', 'store', 'W');
insert into sym_node_group_link (source_node_group_id, target_node_group_id, data_event_action)
values ('store', 'hq', 'P');
insert into sym_trigger
(trigger_id,source_table_name,channel_id,last_update_time,create_time)
values('m_price','M_PRICE','master',current_timestamp,current_timestamp);
insert into sym_trigger
(trigger_id,source_table_name,channel_id,last_update_time,create_time)
values('m_item','M_ITEM','master',current_timestamp,current_timestamp);
insert into sym_trigger
(trigger_id,source_table_name,channel_id,last_update_time,create_time)
values('m_outlet_price','M_OUTLET_PRICE','master',current_timestamp,current_timestamp);
insert into sym_trigger
(trigger_id,source_table_name,channel_id,last_update_time,create_time)
values('t_pos_bill','T_POS_BILL','sales',current_timestamp,current_timestamp);
insert into sym_trigger
(trigger_id,source_table_name,channel_id,last_update_time,create_time)
values('t_pos_bill_item','T_POS_BILL_ITEM','sales',current_timestamp,current_timestamp);
insert into sym_router
(router_id,source_node_group_id,target_node_group_id,router_type,create_time,last_update_time)
values('hq_2_store', 'hq', 'store', 'default',current_timestamp, current_timestamp);
insert into sym_router
(router_id,source_node_group_id,target_node_group_id,router_type,create_time,last_update_time)
values('store_2_hq', 'store', 'hq', 'default',current_timestamp, current_timestamp);
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('m_item','hq_2_store', 100, current_timestamp, current_timestamp);
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('m_price','hq_2_store', 100, current_timestamp, current_timestamp);
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('m_outlet_price','hq_2_store', 100, current_timestamp, current_timestamp);
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('t_pos_bill','store_2_hq', 200, current_timestamp, current_timestamp);
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('t_pos_bill_item','store_2_hq', 200, current_timestamp, current_timestamp);
insert into sym_node
(node_id,node_group_id,external_id,sync_enabled,sync_url,schema_version,symmetric_version,
database_type,database_version,heartbeat_time,timezone_offset,batch_to_send_count,
batch_in_error_count,created_at_node_id)
values ('0000','hq','0000',1,null,null,null,null,null,current_timestamp,null,0,0,'0000');
insert into sym_node
(node_id,node_group_id,external_id,sync_enabled,sync_url,schema_version,symmetric_version,
database_type,database_version,heartbeat_time,timezone_offset,batch_to_send_count,
batch_in_error_count,created_at_node_id)
values ('0001','store','0001',1,null,null,null,null,null,current_timestamp,null,0,0,'0000');
insert into sym_node_security (node_id,node_password,registration_enabled,registration_time,
initial_load_enabled,initial_load_time,created_at_node_id)
values ('0000','5d1c92bbacbe2edb9e1ca5dbb0e481',0,current_timestamp,0,current_timestamp,'0000');
insert into sym_node_identity values ('0000');
jika ingin menggunakan sample bawaan dari symmetricds
../bin/dbimport --engine corp-000 insert_sample.sql
* jika kita ingin mencoba dengan sample yg di sediakan dari symmetricds kita bisa import ke system kita
../bin/dbimport --engine store-001 --format XML --alter-case create_sample.xml
perintah di atas jika kita menggunakan sample data dari symds dan engine kita bernama corp-000
tapi karena kita pakai sample data sendiri bisa kita skip
* jalankan HQ service SymmetricDS
../bin/sym --engine hq-0000 --port 31415
* jalankan store 0001 service
../bin/sym --engine store-0001 --port 31415
* baca dan amati log di screen daemon
* Simulasikan registrasi node store-0001 di HQ
../bin/symadmin --engine hq-0000 open-registration store 0001
* simulasikan penulisan data di server Corp (pull). ini contoh data jika menggunakan sample bawaan symmetricds
sedangkan sample data untuk table yg penulis buat (maaf bukan untuk konsumsi public)
insert into "item" ("item_id", "name") values (110000055, 'Soft Drink');
insert into "item_selling_price" ("item_id", "store_id", "price") values (110000055, '001', 0.65);
insert into "item_selling_price" ("item_id", "store_id", "price") values (110000055, '002', 1.00);
amati apakah ada perubahan baik di log maupun di database client
* simulasikan penulisan data di store 001 (push). ini contoh data jika menggunakan sample bawaan symmetricds
sedangkan sample data untuk table yg penulis buat (maaf bukan untuk konsumsi public)
insert into "sale_transaction" ("tran_id", "store_id", "workstation", "day", "seq")
values (1000, '001', '3', '2007-11-01', 100);
insert into "sale_return_line_item" ("tran_id", "item_id", "price", "quantity")
values (1000, 110000055, 0.65, 1);
* Ada 3 table yg penting untuk memahami cara kerja symmetricds. di sisi pengirim perhatikan table berikut
* sym_data
table yg akan merekam semua perubahan data
select * from sym_data order by data_id desc;
* sym_data_event
perubahn di eksekusi oleh bath bath yg ada pada table ini
select * from sym_outgoing_batch where batch_id = x; -- ganti x dengan angka
* sym_outgoing_batch
pastikan perubahan data terekam,terkirim dan terkonfirmasi di server
gunakan batch id di table sebelumnya
select * from sym_outgoing_batch where batch_id = ?; -- ganti x dengan angka
batch awalnya berstatus "NE" kalau belum terkirim. ketika node penerima mengkonfirmasi pengiriman,
statusnya berganti "OK" atau "ER" kalau Error
* Disisi penerima, cek table ini
* sym_incoming_batch
periksa penerimaan data di tabel ini
select * from sym_incoming_batch where batch_id = ?; -- ganti x dengan angka
* Sedangkan untuk membuat suatu trigger berikut table yg harus di configurasi
sym_channel
sym_node
sym_node_group
sym_node_group_link
sym_router
sym_trigger
sym_trigger_router
* Encrypted Passwords
properti db.users dan db.password bisa dalam bentuk encrypted text, ini untuk meningkatkan keamanan system.
text yang di awali dengan enc: menandakan bahwa itu ter encrypt. untuk meng encrypt text ikuti command berikut
symadmin -e {engine name} encrypt-text text-to-encrypt
atau
symadmin -p {properties file} encrypt-text text-to-encrypt
Sementara sekian dulu yah. kritik dan saran sangant saya harapkan
Rabu, 18 Mei 2016
Senin, 05 Januari 2015
How to Rsync from window to Linux
How to Rsync from window to Linux
Install
Linux Ubuntu
#apt-get install rsync
Linux RHEL
#yum install rsync
Windows
-Install Cygwin
- Net
- OpenSSH
- rsync
- Admin
- cygrunsrv
Run Cygwin bash
Clik start -> Cygwin -> Cygwin Terminal
#ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/user/.ssh/id_rsa.
Your public key has been saved in /home/user/.ssh/id_rsa.pub.
The key fingerprint is:
90:c3:0e:c1:47:67:2b:23:f5:39:e7:1d:e6:4f:5f:b4 user@yourpc
The key’s randomart image is:
+–[ DSA 1024]—-+
| …o o |
| .+.= o |
| o.B = . o .|
| + = + + . ..|
| . S . o .E.|
| o ..|
| . .|
| |
| |
+—————–+
#scp /home/user/.ssh/id_rsa.pub root@192.168.10.9:~
On server linux
#touch /root/.ssh/authorized_keys
#cat /root/id_rsa.pub >> /root/.ssh/authorized_keys
On Windows at Cygwin bash shell
test rsync
#rsync -avz root@192.168.10.9:/data/backup/ /cygdrive/c/backup/
Create script/bat command start-from-windows.cmd at c:\opt\scripts\
c:\cygwin\bin\bash.exe -l -c "/cygdrive/c/opt/scripts/rsyncbck.sh
Create script/bash script rsyncbck.sh at c:\opt\scripts\
rsync -avz root@192.168.10.9:/data/backup/ /cygdrive/c/backup/
you can add schedule task on your windows
Install
Linux Ubuntu
#apt-get install rsync
Linux RHEL
#yum install rsync
Windows
-Install Cygwin
- Net
- OpenSSH
- rsync
- Admin
- cygrunsrv
Run Cygwin bash
Clik start -> Cygwin -> Cygwin Terminal
#ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/user/.ssh/id_rsa.
Your public key has been saved in /home/user/.ssh/id_rsa.pub.
The key fingerprint is:
90:c3:0e:c1:47:67:2b:23:f5:39:e7:1d:e6:4f:5f:b4 user@yourpc
The key’s randomart image is:
+–[ DSA 1024]—-+
| …o o |
| .+.= o |
| o.B = . o .|
| + = + + . ..|
| . S . o .E.|
| o ..|
| . .|
| |
| |
+—————–+
#scp /home/user/.ssh/id_rsa.pub root@192.168.10.9:~
On server linux
#touch /root/.ssh/authorized_keys
#cat /root/id_rsa.pub >> /root/.ssh/authorized_keys
On Windows at Cygwin bash shell
test rsync
#rsync -avz root@192.168.10.9:/data/backup/ /cygdrive/c/backup/
Create script/bat command start-from-windows.cmd at c:\opt\scripts\
c:\cygwin\bin\bash.exe -l -c "/cygdrive/c/opt/scripts/rsyncbck.sh
Create script/bash script rsyncbck.sh at c:\opt\scripts\
rsync -avz root@192.168.10.9:/data/backup/ /cygdrive/c/backup/
you can add schedule task on your windows
Kamis, 14 Agustus 2014
Cara mengetahui password Speedy
Untuk mengetahui password speedy kita harus bisa login ke modem ADSL kita
maksudnya adalah kita mengetahui user dan passowrd modem ADSL/Speedy kita
buka command promt jalankan perintah berikut (start->run-> lalu ktik cmd)
telnet 192.168.1.1 (ini adalah ip default modem speedy sesuaikan dengan modem anda)
setelah ini biasanya akan ada permintaan untuk mengisi password
setelh promt telnet muncul kita hanya perlu ketik show all dan tada muncul deh
username dan password Speedy kita
cara ke dua adalah dengan bantuan aplikasi asterisk key, untuk cara yang cari sendiri aja yah di google
maksudnya adalah kita mengetahui user dan passowrd modem ADSL/Speedy kita
buka command promt jalankan perintah berikut (start->run-> lalu ktik cmd)
telnet 192.168.1.1 (ini adalah ip default modem speedy sesuaikan dengan modem anda)
setelah ini biasanya akan ada permintaan untuk mengisi password
setelh promt telnet muncul kita hanya perlu ketik show all dan tada muncul deh
username dan password Speedy kita
cara ke dua adalah dengan bantuan aplikasi asterisk key, untuk cara yang cari sendiri aja yah di google
Cara manual update definitions untuk Managed Symantec Endpoint Protection CLient menggunakan .jdb file
Untuk meng Update Managed Client dengan .jdb file:
1. Dari Symantec Endpoint Manager (SEPM), klik Clients
2. Pilih Group yang akan kita update secara manual
3. Edit LiveUpdate Setting Policy
4. Di LiveUpdate Policy, pilih Server Settings di pane kiri
5. DI Pane sebelah kakan, di bawah Third Party Management, enable option
"Enable third party content managemnt"
6. Di SEP Client, yakinkan client menerima perbuahan policy dengan mengechek
keberadaan folder 'inbox' di directory di bawah ini
%ALLUSERSPROFILE%\Symantec\Symantec Endpoint Protection\CurrentVersion\inbox
7. Download .jdb file dari Symantec Security Respon Website:
http://www.symantec.com/security_response/definitions/download/detail.jsp?gid=sep
http://www.symantec.com/avcenter/defs.download.html untuk Certified Definitions
http://www.symantec.com/avcenter/rapidrelease.download.html untuk Rapid Release Definitions
Note: rubah extention filw menjadi .jdb file karena biasanya di download dalam zip file
8. untuk mengupdate setiap client, copy .jdb file ke dalam folder di di directory berikut
C:\Program Files\Symantec\Symantec Endpoint Protection Manager\data\inbox\content\incoming untuk 32 bit
C:\Program Files(x86)\Symantec\Symantec Endpoint Protection Manager\data\inbox\content\incoming untuk 64 bit
9. setelah beberapa menit .jdb file akan otomatis di proses
biasanya jika proses sudah berhasil semua file .jdb yang ada akan di remove dari incoming folder
1. Dari Symantec Endpoint Manager (SEPM), klik Clients
2. Pilih Group yang akan kita update secara manual
3. Edit LiveUpdate Setting Policy
4. Di LiveUpdate Policy, pilih Server Settings di pane kiri
5. DI Pane sebelah kakan, di bawah Third Party Management, enable option
"Enable third party content managemnt"
6. Di SEP Client, yakinkan client menerima perbuahan policy dengan mengechek
keberadaan folder 'inbox' di directory di bawah ini
%ALLUSERSPROFILE%\Symantec\Symantec Endpoint Protection\CurrentVersion\inbox
7. Download .jdb file dari Symantec Security Respon Website:
http://www.symantec.com/security_response/definitions/download/detail.jsp?gid=sep
http://www.symantec.com/avcenter/defs.download.html untuk Certified Definitions
http://www.symantec.com/avcenter/rapidrelease.download.html untuk Rapid Release Definitions
Note: rubah extention filw menjadi .jdb file karena biasanya di download dalam zip file
8. untuk mengupdate setiap client, copy .jdb file ke dalam folder di di directory berikut
C:\Program Files\Symantec\Symantec Endpoint Protection Manager\data\inbox\content\incoming untuk 32 bit
C:\Program Files(x86)\Symantec\Symantec Endpoint Protection Manager\data\inbox\content\incoming untuk 64 bit
9. setelah beberapa menit .jdb file akan otomatis di proses
biasanya jika proses sudah berhasil semua file .jdb yang ada akan di remove dari incoming folder
Selasa, 28 Januari 2014
Bagaimana mengubah subnet mask pada Scope DHCP Server
Kadang kala kita butuh untuk expand dari subnet(SuperNetting) dari DHCP Server kita.
Berikut cara mudah untuk melakukannya
Pertama dengan export DHCP scope ke text file.
netsh dhcp server \\JKTDC001 scope 192.168.1.0 dump > c:\dhcpdump.txt
(dimana JKTDC001 adalah nama dari DHCP server dan 192.168.1.0 adalh nama dari scope.)
Kemudian, edit text file dan buat perubahan sesuai dengan yang anda inginkan.
Subnet mask ada di baris pertama.
Ingat untuk merubah nama dari Scope. sebagai contoh, Client menggunakan 192.168.1.0 dengan subnet mask 255.255.255.0 . dan kita ingin merubah ke subnet mask 255.255.252.0 . saya mencoba hanya meribah subnet mask nya saja dan import file dan kita mendapatkan errors. Ini di karenakan 192.168.1.0 tidak lagi sebagai awal dari subnet, sekarang adalah 192.168.0.0. kita harus merubah setiap baris dari scope tersebut. Find and replace adalah cara yang baik.
Kemudian hapus original scope dari DHCP. catatan ini akan menghapus selurus Leases.
Sekarang kita siap untuk import scope baru dari text file.
netsh exec c:\dhcpdump.txt
Refresh DHCP Server dan anda bisa melihat scope baru.
Berikut cara mudah untuk melakukannya
Pertama dengan export DHCP scope ke text file.
netsh dhcp server \\JKTDC001 scope 192.168.1.0 dump > c:\dhcpdump.txt
(dimana JKTDC001 adalah nama dari DHCP server dan 192.168.1.0 adalh nama dari scope.)
Kemudian, edit text file dan buat perubahan sesuai dengan yang anda inginkan.
Subnet mask ada di baris pertama.
Ingat untuk merubah nama dari Scope. sebagai contoh, Client menggunakan 192.168.1.0 dengan subnet mask 255.255.255.0 . dan kita ingin merubah ke subnet mask 255.255.252.0 . saya mencoba hanya meribah subnet mask nya saja dan import file dan kita mendapatkan errors. Ini di karenakan 192.168.1.0 tidak lagi sebagai awal dari subnet, sekarang adalah 192.168.0.0. kita harus merubah setiap baris dari scope tersebut. Find and replace adalah cara yang baik.
Kemudian hapus original scope dari DHCP. catatan ini akan menghapus selurus Leases.
Sekarang kita siap untuk import scope baru dari text file.
netsh exec c:\dhcpdump.txt
Refresh DHCP Server dan anda bisa melihat scope baru.
Selasa, 14 Mei 2013
port must be open for active directory Replication or synchronization
port must be open for active directory Replication or synchronization
Berikut adalah daftar port yang harus di di buka oleh firewall kita jika kita akan menerapkan Acrive Directory antar site
TCP Dynamic
Berikut adalah daftar port yang harus di di buka oleh firewall kita jika kita akan menerapkan Acrive Directory antar site
| Protocol and Port | AD and AD DS Usage | Type of traffic | ||
|---|---|---|---|---|
| TCP and UDP 389 | Directory, Replication, User and Computer Authentication, Group Policy, Trusts | LDAP | ||
| TCP 636 | Directory, Replication, User and Computer Authentication, Group Policy, Trusts | LDAP SSL | ||
| TCP 3268 | Directory, Replication, User and Computer Authentication, Group Policy, Trusts | LDAP GC | ||
| TCP 3269 | Directory, Replication, User and Computer Authentication, Group Policy, Trusts | LDAP GC SSL | ||
| TCP and UDP 88 | User and Computer Authentication, Forest Level Trusts | Kerberos | ||
| TCP and UDP 53 | User and Computer Authentication, Name Resolution, Trusts | DNS | ||
| TCP and UDP 445 | Replication, User and Computer Authentication, Group Policy, Trusts | SMB,CIFS,SMB2, DFSN, LSARPC, NbtSS, NetLogonR, SamR, SrvSvc | ||
| TCP 25 | Replication | SMTP | ||
| TCP 135 | Replication | RPC, EPM | ||
| TCP Dynamic | Replication, User and Computer Authentication, Group Policy, Trusts | RPC, DCOM, EPM, DRSUAPI, NetLogonR, SamR, FRS | ||
| TCP 5722 | File Replication | RPC, DFSR (SYSVOL) | ||
| UDP 123 | Windows Time, Trusts | Windows Time | ||
| TCP and UDP 464 | Replication, User and Computer Authentication, Trusts | Kerberos change/set password | ||
| UDP Dynamic | Group Policy | DCOM, RPC, EPM | ||
| UDP 138 | DFS, Group Policy | DFSN, NetLogon, NetBIOS Datagram Service | ||
| TCP 9389 | AD DS Web Services | SOAP | ||
| UDP 67 and UDP 2535 | DHCP
|
DHCP, MADCAP | ||
| UDP 137 | User and Computer Authentication, | NetLogon, NetBIOS Name Resolution | ||
| TCP 139 | User and Computer Authentication, Replication | DFSN, NetBIOS Session Service, NetLogon |
TCP Dynamic
Callout dll MAC Address filter untuk DHCP Server
Dhcp server callout dll ini membantu administrator untuk mem-filter permintaan dhcp client berdasarkan mac address. Ketika Client mencoba untuk terhubung ke jaringan, Pertama-tama akan mencoba untuk mendapatkan alamat ip dari dhcp server. DHCP Server Callout DLL akan memeriksa apakah MAC address Client ini ada dalam daftar MAC address yang dikonfigurasi oleh administrator. Jika ada, Client akan diperbolehkan untuk mendapatkan alamat ip atau Server akan mengabaikan permintaan ip berdasarkan tindakanyang telah dikonfigurasi oleh administrator. MAC address berbasis filtering ini akan memungkinkan administrator jaringan untuk memastikan bahwa hanya Client yang di ketahui yang bisa mendapatkan alamat ip dari DHCP Server.
Dll callout ini akan membantu pengguna dalam memecahkan salah satu dari masalah berikut
1. Memungkinkan hanya Client yang memiliki MAC address tertentu untuk mendapatkan alamat ip dari DHCP Server.
2. Memblok Client yang memiliki MAC address tertentu agar tidak mendapatkan alamat ip dari DHCP Server.
Callout ini DLL support pada Windows 2003 Server dan Windows 2008 Server.
Dll (MacFilterCallout.dll) dan dokumen konfigurasi (SetupDHCPMacFilter.rtf) disalin ke %SystemRoot%\system32 folder setelah instalasi.
dll nya bisa di download disini
Dll callout ini akan membantu pengguna dalam memecahkan salah satu dari masalah berikut
1. Memungkinkan hanya Client yang memiliki MAC address tertentu untuk mendapatkan alamat ip dari DHCP Server.
2. Memblok Client yang memiliki MAC address tertentu agar tidak mendapatkan alamat ip dari DHCP Server.
Callout ini DLL support pada Windows 2003 Server dan Windows 2008 Server.
Dll (MacFilterCallout.dll) dan dokumen konfigurasi (SetupDHCPMacFilter.rtf) disalin ke %SystemRoot%\system32 folder setelah instalasi.
dll nya bisa di download disini
Senin, 18 Maret 2013
cannot open attachment microsoft outlook 2002
Jika anda implementasi SEP dan client anda menggunakan Office XP atau Office 2002 ada kemungkina masalah incompatibility untuk itu bisa download SP 3 di link berikut
http://www.microsoft.com/en-us/download/details.aspx?id=23334
atau jika anda tidak implementasi SEP bisa mengikuti cara seperti link berikut
http://support.microsoft.com/kb/2271150
atau option terakhir download dan install Attachment option di link berikut
http://www.slovaktech.com/attachmentoptions.htm
Ok saya itu saja
http://www.microsoft.com/en-us/download/details.aspx?id=23334
atau jika anda tidak implementasi SEP bisa mengikuti cara seperti link berikut
http://support.microsoft.com/kb/2271150
atau option terakhir download dan install Attachment option di link berikut
http://www.slovaktech.com/attachmentoptions.htm
Ok saya itu saja
Selasa, 01 Januari 2013
VPN PPtP SIte 2 Site antara ASTARO dengan Mikrotik
Enable PPTP Remote Access di Astaro Security Gateway
* Remote Access
* PPTP
PPTP remote access status Klik tombol enable
* Assign IP Addresses by
pilih : IP address pool
* Pool Network
pilih : VPN Pool (PPTP)
* klik tombol Apply untuk men save konfigurasi dan mengaktifkan PPTP Remote Access
Buat User untuk Login PPTP Client nya
* Definitions & Users
* Users & Groups
* klik New User
Username : test123
Real Name : Test 123 Juga (optional)
Email Address : (optional)
Authentication : Local
Password : *******
Repeat : *******
Cheklist : Use static remote access IP
isi RAS address : 10.242.1.123
RAS IP Address di isi sesuai dengan Subnet dari IP Pool VPN Pool (PPTP)
Comment : (optional)
* klik tombol save
Masukan user baru tersebut ke group PPTP Users
* Remote Access
* PPTP
* klik folder di tab Users and Groups
Browse user test123 & drag & drop di di kolom users & groups
* klik tombol save
Buat Table Routing
* Interfaces & Routing
* Static Routing
* Klik New Static route
Route Type : Gateway route
Network : 172.16.0.0
Gateway : 10.242.1.1
* Klik Tombol save
Sampai disini konfigurasi di ASG sudah selesai, ada baiknya kita coba dahulu dengan client Windows
Sekarang saatnya konfigurasi mikrotik
* Interfaces
/interface ethernet
set 0 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=\
no full-duplex=yes l2mtu=1520 mac-address=D4:CA:6D:3A:D9:7D master-port=\
none mtu=1500 name=WAN speed=100Mbps
set 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=\
no full-duplex=yes l2mtu=1520 mac-address=D4:CA:6D:3A:D9:7E master-port=\
none mtu=1500 name=LOCAL speed=100Mbps
* IP Address
/ip address
add address=172.16.0.254/24 comment="default configuration" disabled=n
interface=LOCAL network=172.16.0.0
* DHCP Client untuk WAN
/ip dhcp-client
add add-default-route=yes comment="default configuration" \
default-route-distance=1 disabled=no interface=WAN \
use-peer-dns=yes use-peer-ntp=yes
* Firewall
* Address List
/ip firewall address-list
add address=172.16.0.253 disabled=no list=BOLEH
add address=192.168.10.0/23 disabled=no list=Save-Network
add address=172.16.0.0/24 disabled=no list=Save-Network
* NAT
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuratio
disabled=no out-interface=WAN src-address-list=BOLEH
* PPTP Client
/interface pptp-client
add add-default-route=no allow=pap,chap,mschap1,mschap2 connect-to=\
202.xxx.yyy.zzz dial-on-demand=no disabled=no max-mru=1460 max-mtu=\
1460 mrru=disabled name=pptp-out1 password=******* profile=\
default-encryption user=test123
* IP Route
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=WAN scope=30 \
target-scope=10
add disabled=no distance=1 dst-address=192.168.10.0/23 gateway=\
10.242.1.1 scope=30 target-scope=10
* Remote Access
* PPTP
PPTP remote access status Klik tombol enable
* Assign IP Addresses by
pilih : IP address pool
* Pool Network
pilih : VPN Pool (PPTP)
* klik tombol Apply untuk men save konfigurasi dan mengaktifkan PPTP Remote Access
Buat User untuk Login PPTP Client nya
* Definitions & Users
* Users & Groups
* klik New User
Username : test123
Real Name : Test 123 Juga (optional)
Email Address : (optional)
Authentication : Local
Password : *******
Repeat : *******
Cheklist : Use static remote access IP
isi RAS address : 10.242.1.123
RAS IP Address di isi sesuai dengan Subnet dari IP Pool VPN Pool (PPTP)
Comment : (optional)
* klik tombol save
Masukan user baru tersebut ke group PPTP Users
* Remote Access
* PPTP
* klik folder di tab Users and Groups
Browse user test123 & drag & drop di di kolom users & groups
* klik tombol save
Buat Table Routing
* Interfaces & Routing
* Static Routing
* Klik New Static route
Route Type : Gateway route
Network : 172.16.0.0
Gateway : 10.242.1.1
* Klik Tombol save
Sampai disini konfigurasi di ASG sudah selesai, ada baiknya kita coba dahulu dengan client Windows
Sekarang saatnya konfigurasi mikrotik
* Interfaces
/interface ethernet
set 0 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=\
no full-duplex=yes l2mtu=1520 mac-address=D4:CA:6D:3A:D9:7D master-port=\
none mtu=1500 name=WAN speed=100Mbps
set 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=\
no full-duplex=yes l2mtu=1520 mac-address=D4:CA:6D:3A:D9:7E master-port=\
none mtu=1500 name=LOCAL speed=100Mbps
* IP Address
/ip address
add address=172.16.0.254/24 comment="default configuration" disabled=n
interface=LOCAL network=172.16.0.0
* DHCP Client untuk WAN
/ip dhcp-client
add add-default-route=yes comment="default configuration" \
default-route-distance=1 disabled=no interface=WAN \
use-peer-dns=yes use-peer-ntp=yes
* Firewall
* Address List
/ip firewall address-list
add address=172.16.0.253 disabled=no list=BOLEH
add address=192.168.10.0/23 disabled=no list=Save-Network
add address=172.16.0.0/24 disabled=no list=Save-Network
* NAT
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuratio
disabled=no out-interface=WAN src-address-list=BOLEH
* PPTP Client
/interface pptp-client
add add-default-route=no allow=pap,chap,mschap1,mschap2 connect-to=\
202.xxx.yyy.zzz dial-on-demand=no disabled=no max-mru=1460 max-mtu=\
1460 mrru=disabled name=pptp-out1 password=******* profile=\
default-encryption user=test123
* IP Route
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=WAN scope=30 \
target-scope=10
add disabled=no distance=1 dst-address=192.168.10.0/23 gateway=\
10.242.1.1 scope=30 target-scope=10
Minggu, 12 Agustus 2012
God Mode Windows 7
Buat Folder baru copy paste kode berikut
GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
Tada bisa di coba aja sendiri apa yang terjadi
GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
Tada bisa di coba aja sendiri apa yang terjadi
Minggu, 05 Agustus 2012
Script mengetahui IP Public
buat script seperti berikut
Option Explicit
Dim http : Set http = CreateObject( "MSXML2.ServerXmlHttp" )
http.Open "GET", "http://myip.dnsomatic.com/", False
http.Send
Wscript.Echo http.responseText 'or do whatever you want with it
Set http = Nothing
simpan file tersebut dengan anma ip.vbs
jalankan cscript ip.vbs
link yang bisa memberikan informasi ip public kita
http://myip.dnsomatic.com/
http://whatismyip.org/
http://icanhazip.com/
Option Explicit
Dim http : Set http = CreateObject( "MSXML2.ServerXmlHttp" )
http.Open "GET", "http://myip.dnsomatic.com/", False
http.Send
Wscript.Echo http.responseText 'or do whatever you want with it
Set http = Nothing
simpan file tersebut dengan anma ip.vbs
jalankan cscript ip.vbs
link yang bisa memberikan informasi ip public kita
http://myip.dnsomatic.com/
http://whatismyip.org/
http://icanhazip.com/
Langganan:
Postingan (Atom)