Friday, 11 November 2016

Konfigurasi Gateway Internet

1. Setting interface name
     IP>  interfaces > centang Eth1  > isikan nama "Eth1-WAN" > apply > Ok
      interfaces > centang Eth2-LAN > isikan nama "Eth2-LAN" > apply > Ok
      interfaces > centang Wlan1 > isikan nama "Wlan1-AP > apply > Ok
2. Setting interface Wlan
     IP > interfaces > double click Wlan1-AP > mode = Ap bridge > SSID = puji@proxy(isi sesuaikeinginan) >  interface = Wlan1-AP > tab wireless > mode pilih AP bridge >  apply > Ok
3. Setting IP Address
     IP > Addresses > (+) > isikan IP 190.190.190.209/24(satu network dengan gateway) > Ok >    Eth1-WAN > apply > Ok
    (+) > 192.168.100.1/24 >Eth2-LAN >apply > Ok
    (+) > 192.168.200.1/24 >Wlan1-AP > apply > Ok
4. Setting IP Routes
     IP > routes > (+)  > Gateway = 190.190.190.190(disesuaikan dengan gateway yang ada) > apply > Ok
5. Setting Firewall Nat
     IP > Firewall > Nat > (+) >chain =srcnat, out interface= Eth1_Wan > tab action > masquarade >apply >Ok
6. Setting IP DNS
     IP > DNS > server >192.168.1.20 dan 8.8.8.8 > apply >Ok
7. Setting DHCP Server
      IP > DHCP server >dhcp setup > Eth2-lan > next  > next > next > next > Ok
8. Reboot
      System > reboot > yes
9. uji konektifitas yang terhubung dengan LAN dan WLAN
      connectkan terlebih dahulu dengan lan/wlan > start >windows+R > cmd > enter > ping 8.8.8.8


    KONFIGURASI WEB PROXY
1. Setting IP web proxy
     IP > web proxy > enable > (centang) > cache administrator > puji@smuba.id > cache on disk (centang) > serial connection (centang) > always from cache (centang) > apply > Ok
2. setting web proxy rule
     Access > (+) > src address 192.168.200.2-192.168.200.100 (IP yang di block) > dst host = www.linux.or.id > action > deny > apply > Ok
     Access > (+) src address > isi 192.168.200.2-192.168.200.100 > dst host click path isikan *mp3* > action > deny > apply > Ok
     Access > (+) 192.168.200.2-192.168.200.100 > path > isikan *iso* > action=deny > apply >Ok
3. setting Ip firewall nat
     IP >firewall >nat > (+) chain=dstnat > protocol=6tcp > dst port=80 > action=redirect > to port 8080 > apply > Ok
4. Reboot
     System > reboot > yes
5. Uji web proxy yang sudah di buat




No comments:

Post a Comment