grabber link rapidshare | download | Trik Download | mp3-college | Lingua | Random Teks | my community | visitor


September 26, 2009

redirect proxy squid eksternal dari Mikrotik

Filed under: network, mikrotik

me-redirect proxy squid eksternal dari Mikrotik tanpa harus mengaktifkan web proxy di mikrotik.
exp:
ip address Mesin Mikrotik / klien : 192.168.1.0/24
ip address Mesin Squid Proxy : 192.168.10.2/24 Port = 3128

maka di buatlah rule nat di Mikrotik untuk meredirect request klien ke internet melalui mesin proxy squid sebagai berikut ;

/ip firewall nat add chain=dstnat src-address=192.168.1.0/24 protocol=tcp dst-port=80 action=dstnat dst-address=192.168.10.2 to-ports=3128

atau bisa juga kalau ip address nya lebih dari satu kelas, maka dikasih tanda ! didepan src-address yang berarti bahwa kecuali ip address yang di tulis di src-address maka dilewatkan ke proxy squid

/ip firewall nat add chain=dstnat src-address=!192.168.10.2 protocol=tcp dst-port=80 action dstnat dst-address=192.168.10.2 to-ports=3128

Comments »

The URI to TrackBack this entry is: http://curutz.blogsome.com/2009/09/26/redirect-proxy-squid-eksternal-dari-mikrotik/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.