Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 6 of 6
  1. #1
    Status
    Offline
    cysergtlo's Avatar
    Newbie
    Join Date
    Feb 2010
    Posts
    21
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Antara mikrotik dan squid log

    TOPOLOGI :

    Code:
        ADSL PPOE             CLIENT                PROXY
     192.168.1.101/30    192.168.100.101/24   192.168.200.101/30
           |                    |                     |
           |                    |                     |
           |                    |                     |
        (eth1------------------eth2------------------eth3) 
                              MIKROTIK
    
    SCRIPT NAT : 
    ====================================
    add action=masquerade chain=srcnat disabled=no out-interface=Speedy
    add action=masquerade chain=srcnat disabled=no out-interface=Eth1-Public
    add action=masquerade chain=srcnat disabled=no out-interface=Eth3-Proxy
    add action=dst-nat chain=dstnat disabled=no dst-address-list=!MyNetwork\
        dst-port=80,21 protocol=tcp src-address-list=ClientList to-addresses=\
        192.168.200.101 to-ports=3128
    
    ADDRESS LIST 
    ProxyNET            192.168.200.101                
    MyNetwork          192.168.1.100/30               
    MyNetwork          192.168.100.0/24               
    MyNetwork          192.168.200.100/30
    KASUS :
    Pada file SQUID ACCESS.LOG log yang di berikan adalah akses Ke PRoxy semua hanya berasal dari 192.168.200.102 (IP mikrotik)
    Apakah ada cara untuk memberikan nat pada Mesin Proxy agar Client yg mengakses proxy terekam pada mesin SQUID..

    Mohon Pencerahannya.....

  2. #2
    Status
    Offline
    yosanpro's Avatar
    Co-Admin
    Join Date
    Nov 2007
    Location
    Bantul, Bantul, Yogyakarta
    Posts
    2,548
    Reviews
    Read 0 Reviews
    Downloads
    11
    Uploads
    4
    Feedback Score
    1 (100%)
    Click here to enlarge Originally Posted by cysergtlo Click here to enlarge
    TOPOLOGI :

    Code:
        ADSL PPOE             CLIENT                PROXY
     192.168.1.101/30    192.168.100.101/24   192.168.200.101/30
           |                    |                     |
           |                    |                     |
           |                    |                     |
        (eth1------------------eth2------------------eth3) 
                              MIKROTIK
    
    SCRIPT NAT : 
    ====================================
    add action=masquerade chain=srcnat disabled=no out-interface=Speedy
    add action=masquerade chain=srcnat disabled=no out-interface=Eth1-Public
    add action=masquerade chain=srcnat disabled=no out-interface=Eth3-Proxy
    add action=dst-nat chain=dstnat disabled=no dst-address-list=!MyNetwork\
        dst-port=80,21 protocol=tcp src-address-list=ClientList to-addresses=\
        192.168.200.101 to-ports=3128
    
    ADDRESS LIST 
    ProxyNET            192.168.200.101                
    MyNetwork          192.168.1.100/30               
    MyNetwork          192.168.100.0/24               
    MyNetwork          192.168.200.100/30
    KASUS :
    Pada file SQUID ACCESS.LOG log yang di berikan adalah akses Ke PRoxy semua hanya berasal dari 192.168.200.102 (IP mikrotik)
    Apakah ada cara untuk memberikan nat pada Mesin Proxy agar Client yg mengakses proxy terekam pada mesin SQUID..

    Mohon Pencerahannya.....
    Hilangkan / Disable rule baris ke 3 yang eke beri warna merah...

    Jangan lupa allow access 192.168.100.0/24 di squid.conf...
    Last edited by yosanpro; 12-07-2012 at 12:52.
    A person's junk is another person's treasure.

  3. #3
    Status
    Offline
    cysergtlo's Avatar
    Newbie
    Join Date
    Feb 2010
    Posts
    21
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Terima Kasih atas petunjuknya kk senior...
    Saya udah coba untuk disable Rule...malah jadi gak jalan Proxy/ICMP/ssh ke Mesin Proxy Putus semua.... kira2 di mana lagi kesalahan saya Click here to enlarge
    Berikut saya tambahkan SS IP dan Routing tabble


    Click here to enlarge
    Last edited by cysergtlo; 14-07-2012 at 00:09.

  4. #4
    Status
    Offline
    cysergtlo's Avatar
    Newbie
    Join Date
    Feb 2010
    Posts
    21
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by cysergtlo Click here to enlarge
    Terima Kasih atas petunjuknya kk senior...
    Saya udah coba untuk disable Rule...malah jadi gak jalan Proxy/ICMP/ssh ke Mesin Proxy Putus semua.... kira2 di mana lagi kesalahan saya Click here to enlarge
    Berikut saya tambahkan SS IP dan Routing tabble


    Click here to enlarge
    Blon ada sesepuh yang nyamperin Click here to enlargeClick here to enlargeClick here to enlarge

  5. #5
    Status
    Offline
    jerry_onde's Avatar
    Newbie
    Join Date
    Jan 2008
    Posts
    34
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    masquerade dididisable semua gan, ganti "add action=masquerade chain=srcnat src-address=ip lokal"

  6. #6
    Status
    Offline
    cysergtlo's Avatar
    Newbie
    Join Date
    Feb 2010
    Posts
    21
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Udah solved gan...gak di ubah lagi....sumber masalah ternyata di mesin proxy.......
    Mesin proxy pernah saya buatkan ip virtual di eth0:0 walaupun udah di hapus di /etc/network/interface. Mesin proxy tetap membaca ip dari virtual tersebut.
    terus saya kasih perintah :
    ifconfig eth0:0 down
    /etc/init.d/networking restart udah jalan normal routing nya.....cuma masalah nya klo mesin proxy di reboot ip tersebut muncul lagi.......ada solusi??? Click here to enlarge
    Last edited by cysergtlo; 15-07-2012 at 21:29.

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [ASK] Perbedaan Antara 2 Mikrotik
    By manakautau in forum General Networking
    Replies: 3
    Last Post: 02-02-2012, 19:22
  2. Replies: 67
    Last Post: 07-08-2011, 17:19
  3. VPN antara mikrotik dgn ipcop
    By ben1876 in forum General Networking
    Replies: 2
    Last Post: 22-11-2010, 16:40
  4. [ask] Vlan antara Mikrotik & 3Com
    By antareja in forum General Networking
    Replies: 8
    Last Post: 09-10-2010, 12:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •