From Winbox :
From CLI :
# Ini untuk enable proxy kita set di port 8080
/ip proxy set enabled=yes port=8080
# Ini kita set setiap ada traffic dari interface LAN akan di redirect ke proxy dengan port 8080
/ip firewall nat add action=redirect chain=dstnat dst-port=80,8080,3128 in-interface=ether4-LAN protocol=tcp to-ports=8080
###> Keterangan :
in-interface=ether4-LAN >>>>> ini inteface yang ke pasang ke LAN user
# Ini kita gunakan untuk alasan security jadi kita block dari interface Internet/WAN untuk menggunakan Mikrotik kita sebagai Proxy Public
/ip firewall filter add action=drop chain=input dst-port=8080 in-interface=eth1-WAN protocol=tcp
###> Keterangan :
in-interface=eth1-WAN >>>> ini interface yang ke arah WAN/POP
Showing posts with label proxy. Show all posts
Showing posts with label proxy. Show all posts
Monday, July 9, 2018
Tuesday, July 3, 2018
Proxy on Linux
add this to /etc/apt/apt.conf
acquire::http:proxy "http://user:password@10.14.3.226:808/";
acquire::ftp:proxy "ftp://user:password@10.14.3.226:2121/";
acquire::http:proxy "http://user:password@10.14.3.226:808/";
acquire::ftp:proxy "ftp://user:password@10.14.3.226:2121/";
Subscribe to:
Posts (Atom)