Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 5 of 5
  1. #1
    Status
    Offline
    andriputra's Avatar
    Baru Gabung
    Join Date
    Jan 2011
    Posts
    8
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    NAT tidak berjalan semestinya..

    Hi All,

    Saya coba konfigurasi RB450G..

    saya ingin translate ip local 192.168.24.100 ke ip public 202.158.10.51.

    berikut konfigurasinya untuk Routing dan NAT :

    # DST-ADDRESS PREF-SRC GATEWAY DISTANCE
    0 A S 0.0.0.0/0 202.158.10.49 1
    1 A S 192.168.0.0/18 192.168.24.1 LOCAL 1
    2 ADC 192.168.24.0/24 192.168.24.1 LOCAL 0
    3 ADC 202.158.10.48/28 202.158.10.50 PUBLIC 0

    NAT configuration :
    Flags: X - disabled, I - invalid, D - dynamic
    0 X ;;; place hotspot rules here
    chain=unused-hs-chain action=passthrough

    1 chain=dstnat action=dst-nat to-addresses=192.168.24.100
    to-ports=0-65535 protocol=tcp src-address=202.158.10.51

    2 chain=srcnat action=src-nat to-addresses=202.158.10.51
    to-ports=0-65535 protocol=tcp dst-address=192.168.24.100

    3 chain=srcnat action=masquerade src-address=192.168.24.0/24

    untuk internet sudah berjalan dengan baik, tapi untuk NAT tidak OK..

    Mohon bimbingannya..

    Thanks in advance..

  2. #2
    Status
    Offline
    s0n1cm4n's Avatar
    Baru Gabung
    Join Date
    Feb 2008
    Location
    Denpasar, Bali
    Posts
    9
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    coba membantu sedikit mungkin bisa berfungsi,

    coba ip 192.168.24.100 di masquarade dulu.

    kemudian

    1 chain=dstnat action=dst-nat to-addresses=192.168.24.100 to-ports=0-65535
    protocol=tcp dst-address=202.158.10.51 dst-port=0-65535


    saya kira begini saja sudah bisa

  3. The Following User Says Thank You to s0n1cm4n For This Useful Post:


  4. #3
    Status
    Offline
    Spring's Avatar
    Contributor
    Join Date
    Oct 2009
    Location
    Manado
    Posts
    964
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by andriputra Click here to enlarge
    Hi All,

    Saya coba konfigurasi RB450G..

    saya ingin translate ip local 192.168.24.100 ke ip public 202.158.10.51.

    berikut konfigurasinya untuk Routing dan NAT :

    # DST-ADDRESS PREF-SRC GATEWAY DISTANCE
    0 A S 0.0.0.0/0 202.158.10.49 1
    1 A S 192.168.0.0/18 192.168.24.1 LOCAL 1
    2 ADC 192.168.24.0/24 192.168.24.1 LOCAL 0
    3 ADC 202.158.10.48/28 202.158.10.50 PUBLIC 0

    NAT configuration :
    Flags: X - disabled, I - invalid, D - dynamic
    0 X ;;; place hotspot rules here
    chain=unused-hs-chain action=passthrough

    1 chain=dstnat action=dst-nat to-addresses=192.168.24.100
    to-ports=0-65535 protocol=tcp src-address=202.158.10.51


    2 chain=srcnat action=src-nat to-addresses=202.158.10.51
    to-ports=0-65535 protocol=tcp dst-address=192.168.24.100


    3 chain=srcnat action=masquerade src-address=192.168.24.0/24

    untuk internet sudah berjalan dengan baik, tapi untuk NAT tidak OK..

    Mohon bimbingannya..

    Thanks in advance..

    Yang warna merah itu tujuan sebenarnya utk apaan sih??? kalo mau NAT kan kayak yang warna biru aja... trus yang warna kuning, itu yang paling bikin pusing kata2nya... kalo gak di NAT mana bisa internetan tuh IP lokal... Click here to enlarge

  5. #4
    Status
    Offline
    zdienos's Avatar
    Forum Guru
    Join Date
    Feb 2010
    Location
    ~/makasar
    Posts
    1,252
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by spring Click here to enlarge
    Yang warna merah itu tujuan sebenarnya utk apaan sih??? kalo mau NAT kan kayak yang warna biru aja... trus yang warna kuning, itu yang paling bikin pusing kata2nya... kalo gak di NAT mana bisa internetan tuh IP lokal... Click here to enlarge
    mungkin ts maw bikin DMZ ke IP x.100 Click here to enlarge

    ts nya mana??, jawab donk, ini buat apaan ??
    intinya, kalo dah bisa internetan, berarti smua ip local sudah ditranslate ke ip public, kecuali ts maw bikin "sesuatu" yang jika diakses melalui ip public, maka "larinya" akan ke ip xx.100..

    mungkin.... Click here to enlarge

  6. #5
    Status
    Offline
    masjito's Avatar
    Member
    Join Date
    Feb 2008
    Posts
    157
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by andriputra Click here to enlarge
    Hi All,

    Saya coba konfigurasi RB450G..

    saya ingin translate ip local 192.168.24.100 ke ip public 202.158.10.51.



    1 chain=dstnat action=dst-nat to-addresses=192.168.24.100
    to-ports=0-65535 protocol=tcp src-address=202.158.10.51

    2 chain=srcnat action=src-nat to-addresses=202.158.10.51
    to-ports=0-65535 protocol=tcp dst-address=192.168.24.100
    Begini kali gan

    Code:
    /ip fi nat add action=dst-nat chain=dstnat dst-address=202.158.10.51 to-addresses=192.168.24.100
    /ip fi nat add action=src-nat chain=srcnat src-address=192.168.24.100 to-addresses=202.158.10.51
    letakan di atas rule masquerade..
    jangan lupa tambahkan ip 202.158.10.51 di interface public

 

 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Simple Queue Pada 3.22 Tidak Berjalan
    By Awimoweh in forum General Networking
    Replies: 18
    Last Post: 31-03-2011, 17:20
  2. Menkominfo Tanggung Jawab Jika BWA & WiMAX Gagal Berjalan
    By yogaponsel in forum News & Events
    Replies: 0
    Last Post: 05-02-2010, 21:20
  3. Menurunkan bandwitdh koneksi yang sedang berjalan
    By dod888 in forum Beginner Basics
    Replies: 0
    Last Post: 22-08-2009, 19:13
  4. Replies: 2
    Last Post: 29-04-2009, 13:16

Tags for this Thread

Posting Permissions

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