Mengganti req ip client

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
Post Reply
User avatar
rijanarko

Mengganti req ip client

Post 02 Aug 2015, 09:31

tolong pencerannya gan
log squid

1438042471.029 451 192.168.87.1 TCP_MISS/200 230 POST http://vl.ff.avast.com/F/AAH3vFplEolChZbtzKdqOU0y - DIRECT/77.234.41.53 application/octet-stream
1438042475.242 438 192.168.87.1 TCP_MISS/200 229 POST http://vl.ff.avast.com/F/AAH3vFplEolChZbtzKdqOU0y - DIRECT/77.234.41.55 application/octet-stream
1438042476.586 490 192.168.87.1 TCP_MISS/200 229 POST http://vl.ff.avast.com/F/AAH3vFplEolChZbtzKdqOU0y - DIRECT/77.234.41.54 application/octet-stream
1438042481.158 449 192.168.87.1 TCP_MISS/200 230 POST http://vl.ff.avast.com/F/AAH3vFplEolChZbtzKdqOU0y - DIRECT/77.234.41.53 application/octet-stream


yg aku kasih warna merah itu ip mikrotik
yang menjadi pertanyaan gmn merubah ip mikrotik menjadi ip client
yang request ke squid
jadi yg kelihatan d log squid request ip client

thx semua


User avatar
bang_andi
Been thanked: 5 times
Contact:

Post 10 Aug 2015, 08:31

paste disini rule nat di mikrotiknya


User avatar
rijanarko

Post 18 Aug 2015, 21:46

ini mas isi nat

add action=masquerade chain=srcnat comment=MASQUERADE disabled=no src-address-list=Client
add action=dst-nat chain=dstnat comment=PROXY content=!android.clients.google.com disabled=no dst-port=80,3128,8080 in-interface=5-local \
protocol=tcp src-address-list=Client-proxy to-addresses=192.168.87.2 to-ports=3128
add action=dst-nat chain=dstnat comment=PROXY content=!android.clients.google.com disabled=no dst-port=80,3128,8080 in-interface=3-hotspot \
protocol=tcp src-address-list=Client-proxy to-addresses=192.168.87.2 to-ports=3128
add action=redirect chain=dstnat comment=TOS disabled=no in-interface=5-local protocol=icmp
add action=redirect chain=dstnat disabled=no in-interface=3-hotspot protocol=icmp
add action=dst-nat chain=dstnat comment="DNS Redirected" disabled=no dst-port=53 in-interface=5-local protocol=tcp to-ports=53
add action=dst-nat chain=dstnat disabled=no dst-port=53 in-interface=5-local protocol=udp to-ports=53

mohon pencerahannya


User avatar
bang_andi
Been thanked: 5 times
Contact:

Post 17 Sep 2015, 20:30

Maaf lama baru balas om,

Itu IP address proxy dengan network tersendiri ya ?

Seharusnya jgn di tulis IP proxy nya saja tulislah sub network proxy nya itu misalnya 192.168.87.0/24

Lalu dst port cukup di isi port 80.

BTW coba gelar juga routing di proxy nya disini ?


Post Reply

Who is online

Users browsing this forum: No registered users and 63 guests