Web Server Ke Internet

download Web Server Ke Internet

of 2

description

Redirect webserver pada jaringan lokal supaya dapat di akses dari internet

Transcript of Web Server Ke Internet

  • KONFIGURASI WEB UNTUK KONEKSI KE INTERNET

    DENGAN MIKROTIK + SPEEDY

    IP Publik

    125.164.75.150

    1. SETING MODEM BRIDGE dan PPPoE CLIENT DI MIKROTIK 2. SETING WEB SERVER 1, dengan IP 192.168.88.100 3. SETING WEB SERVER 2, dengan IP 192.168.88.99 4. DI MIKROTIK UBAH PORT WWW, misal yang defaulnya port 80 diganti menjadi 1007

    IP > Services > ubah port www misal 1007

    5. DI MIKROTIK SETING RULE FIREWALL NAT Untuk Port Forwarding IP > Firewall > Nat > General

    Chain = dstnat Dst Address = IP Publik dari Speedy ( cek di PPPoE Client, misal 125.164.75.150) Protocol = 6 (tcp) Dst port = 80 In Interfaces = pppoe - out1

    IP > Firewall > Nat > Action Action = dstnat To address = IP Web Server 1 (192.168.88.100) To port = 80

    6. Cek di internet lain jaringan dengan mengetik di web browser ip publik 125.164.75.150

    Seharusnya muncul IP 192.168.88.100 dan tampil webserver 1. SELESAI !! LANJUT UNTUK WEB SERVER 2 ...

    Modem Mikrotik

    WEB Server 1 192.168.88.100

    Akses web server

    WEB Server 2 192.168.88.99

  • 7. BUAT RULE FIREWALL BARU DI MIKROTIK, IP > Firewall > Nat > General

    Chain = dstnat Dst Address = IP Publik dari Speedy ( sama,yaitu 125.164.75.150) Protocol = 6 (tcp) Dst port = 99 In Interfaces = pppoe - out1

    IP > Firewall > Nat > Action Action = dstnat To address = IP Web Server 2 (192.168.88.99) To port = 99

    8. Cek di internet lain jaringan dengan mengetik di web browser ip publik 125.164.75.150:99 Seharusnya muncul IP 192.168.88.99 dan tampil webserver 2 . SELESAI !!

    SELANJUTNYA BUAT DNS UNTUK MASING-MASING IP WEB SERVER TERSEBUT, JADI NANTINYA TINGGAL AKSES DENGAN NAMA WEBSITENYA BUKAN HANYA IP ADDRESSNYA.

    SEMOGA BERHASIL......?????