Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /ip route rule
- add comment=Google dst-address=1.0.0.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=1.1.1.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=1.2.3.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=8.0.0.0/8 table=YOUTUBE-ROUTING
- add comment=Google dst-address=72.14.240.0/20 table=YOUTUBE-ROUTING
- add comment=Google dst-address=74.125.0.0/18 table=YOUTUBE-ROUTING
- add comment=Google dst-address=173.194.0.0/16 table=YOUTUBE-ROUTING
- add comment=Google dst-address=209.85.192.0/18 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.117.224.0/19 table=YOUTUBE-ROUTING
- add comment=Google dst-address=173.194.209.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=173.194.210.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=173.194.211.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=173.194.214.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=216.239.32.0/19 table=YOUTUBE-ROUTING
- add comment=Google dst-address=172.217.0.0/16 table=YOUTUBE-ROUTING
- add comment=Google dst-address=216.58.192.0/19 table=YOUTUBE-ROUTING
- add comment=Google dst-address=175.28.1.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=173.194.38.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.117.224.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.117.225.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.117.228.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.117.229.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.117.232.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.117.233.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.117.234.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.117.238.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.65.152.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.65.153.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.65.154.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=64.15.112.0/20 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.117.236.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=74.125.96.0/19 table=YOUTUBE-ROUTING
- add comment=Google dst-address=72.14.221.0/24 table=YOUTUBE-ROUTING
- add comment=Google dst-address=84.53.128.0/18 table=YOUTUBE-ROUTING
- add comment=Google dst-address=87.248.192.0/19 table=YOUTUBE-ROUTING
- add comment=Google dst-address=216.155.128.0/19 table=YOUTUBE-ROUTING
- add comment=Google dst-address=208.73.208.0/21 table=YOUTUBE-ROUTING
- add comment=Google dst-address=66.55.140.0/23 table=YOUTUBE-ROUTING
- add comment=Google dst-address=74.125.208.0/24 table=YOUTUBE-ROUTING
- upps kebetulan
- ane juga ingin belajar pisah jalur untuk youtube.
- ane buat:
- /ip firewall filter> pr
- 1 chain=forward action=add-dst-to-address-list protocol=tcp address-list=youlist address-list-timeout=0s dst-port=80 content=youtube
- /ip firewall mangle> pr
- 9 X ;;; ----------YOUTUBE
- chain=prerouting action=mark-connection new-connection-mark=youmangle passthrough=yes protocol=tcp src-address-list=Local dst-address-list=youlist
- 10 X ;;; PAKET & ROUTING MARK YOUTUBE
- chain=prerouting action=mark-routing new-routing-mark=Youtube passthrough=yes src-address-list=Local connection-mark=youmangle
- /ip firewall address-list> pr
- 45 D youlist 74.125.235.38
- 46 D youlist 74.125.235.46
- 47 D youlist 74.125.236.74
- 48 D youlist 74.125.236.67
- 49 D youlist 74.125.236.64
- 50 D youlist 74.125.235.35
- untuk address-list sudah ketangkap, tp masih tetap tidak bisa, Click here to enlarge
- untuk para suhu mohon bimbingannya.
- makasih sebelumnya
- Ane pernah coba, mungkin bisa membantu :
- kalo dah dapet ipnya, bla bla bla sampai pada routing mark. Nah routing mark itu yang kita pakai di ip-route.
- Semoga membantu..
- cari tadu dulu default gateway nya ip public dari isp A dan isp B
- disini saya pake squid, jadi routing marknya in-interface squid aja, hehe.
- tangkep lewat ip- firewall filter
- contoh :
- Code:
- chain=forward action=add-dst-to-address-list protocol=tcp
- address-list=squid-fm address-list-timeout=10m in-interface=ether3
- dst-port=80 content=youtube
- abis itu buat mangle nya untuk routing mark
- Code:
- chain=prerouting action=mark-routing new-routing-mark=fm.mr passthrough=no
- dst-address-list=squid-fm in-interface=ether3
- setelah itu tinggal routing statis di ip-route
- Code:
- dst-address=0.0.0.0/0 gateway=192.168.125.1
- gateway-status=192.168.125.1 reachable eth1-FM distance=1 scope=30
- target-scope=10 routing-mark=fm.mr
- sampai sini sudah bisa jalan kok routing nya.
- permasalahan
- 2 ISP yang berbeda akan mempunyai IP tujuan yang berbeda, karena DNS biasanya di ambil dari proses routing yang tedekat dari ISP tersebut.
- sebut saja telkom dan maxindo. hasil dns lookup mereka untuk beberapa domain tertentu pasti berbeda,
- dan terkadang IP tersebut hanya bisa di akses oleh block IP tertentu saja,
- jadi gimana cara ngakalinnya ?
- pake DNS global, 8.8.8.8
- semoga membantu,
- salam hangat,
- fadhli.
- Click here to enlarge Originally Posted by tukang kuli Click here to enlarge
- upps kebetulan
- ane juga ingin belajar pisah jalur untuk youtube.
- ane buat:
- /ip firewall filter> pr
- 1 chain=forward action=add-dst-to-address-list protocol=tcp address-list=youlist address-list-timeout=0s dst-port=80 content=youtube
- /ip firewall mangle> pr
- 9 X ;;; ----------YOUTUBE
- chain=prerouting action=mark-connection new-connection-mark=youmangle passthrough=yes protocol=tcp src-address-list=Local dst-address-list=youlist
- 10 X ;;; PAKET & ROUTING MARK YOUTUBE
- chain=prerouting action=mark-routing new-routing-mark=Youtube passthrough=yes src-address-list=Local connection-mark=youmangle
- /ip firewall address-list> pr
- 45 D youlist 74.125.235.38
- 46 D youlist 74.125.235.46
- 47 D youlist 74.125.236.74
- 48 D youlist 74.125.236.67
- 49 D youlist 74.125.236.64
- 50 D youlist 74.125.235.35
- untuk address-list sudah ketangkap, tp masih tetap tidak bisa, Click here to enlarge
- untuk para suhu mohon bimbingannya.
- makasih sebelumnya
- kebetulan gan,,,,sya juga juga lagi mikirin itu, dan kebetulan ketemu dengan thread ini,,, jadi saya cobain,, dan sementara saya coba berhasil,,,
- Saya coba nambahin dikit di dst-port 80 pada mangle nya kaya gini
- chain=prerouting action=mark-connection new-connection-mark=conyoutube passthrough=yes protocol=tcp dst-address-list=listyutub dst-port=80
- chain=prerouting action=mark-routing new-routing-mark=linkyutub passthrough=yes protocol=tcp dst-port=80 connection-mark=conyoutube
- Lalu di rout nya di di buatin, getway isp yg mau buat youtube di arahin ke routing marknya
- ip route add gateway=192.168.10.1 routing-mark="linkyutub"
- saya buat 1 link khusus buat yutub an saja dan 1 linknya lagi untuk web-web lainnya,,, dengan begitu, saat ini masih berjalan, dan masih di uji coba,,,
- Maaf kao saya salah, atau kalimatnya suakar di mengerti,,,saya juga lagi belajar dngn cara membca dan mencoba contoh yg sudah ada.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement