PFsense+Lusca-Cache with multi-WAN Dual wan links

Discussion in 'PFsense M0n0wall IPcop & others PC based routers' started by Deeza, Jul 6, 2011.


Thread Status:
Not open for further replies.



  1. tsaka po bakit d maaccess ung cache pag gamit ibang pc sa network? sinubukan ko kasi icache ung mga flash games, nagccache sya kaso lang ung pc lang n nagcache ung makakaaccess, pag inaccess sa ibang pc uulit ulit ng loading.. tnx po sa help, sinubukanko rin pala ung videokeman ganun din... tnx po sa help :)
     



  2. @anthenaxds

    thanks sir.. pero ask lang pag nag update po ba ako ng version di mawawala ang mga settings ng pf box ko?
     
  3. lhoyd18

    lhoyd18 Member




    ano po ung kulang sa settings ng pfsense ko? parang di siya nagcacache.. patulong naman po.. 2.0.2 ung gamit ko with lusca cache installed.. kung ano pa po ung kelangan ko i change.. thx mga masters..
     

    Attached Files:




  4. mga master pa tulong nman po nkapasok na po ako sa gui. ng pfsense kaso unang step plang ako d2 Configure correctly your wan1 and wan2 interfaces (Static IP or DHCP) and Gateways.
    iba na ung nsa gui ko mga master nkikita ko lang po is wan ska lan/ kya nagtaka po ako pano ko gagawin ung guide na econfigure ung wan1 ska wan2 pa help nman po kung ano po mali ko.gamit ko po globe wimax direct lang sa pc wala po kc ako router.
     



  5. ska sa vmware po pla pahka set up ko wan ska lan lang dn po lumabas may mali po ba sa pag set up ko mga master.help nman po.
     



  6. si ngawa ko nman lahat ng guide sa taas e2 pic ng gui ko kaso wala ako net.
     



  7. tulong naman sa mga magagaling sa pfsense
    ang Bandmaster ph kasi ayaw mag play
    ito po ang error
    [​IMG]

    gamit ko po pfsense 123
    pero kapag direkta naman sa pc ok naman ang bandmaster ph.

    tulong naman po dyan.

    marami salamat po
     
  8. josekym

    josekym Member




    ^^Most likely, kailangan mo i-allow sa firewall yung port and IP na gamit ng X-Trap. If you are using Squid, try adding the X-Trap IPs to the bypass destination list too.
     



  9. sir ano port ng bandmaster at IP?
    nag google na rin ako wala ako makita port at IP ng bandmaster eh.

    yes sir im using lusca
     
  10. josekym

    josekym Member




    ^^You can find out in several ways:

    via netstat command on PC:
    1) Start a CMD window and leave it open.
    2) Start the Bandmaster game client.
    3) While the game is loading, switch (alt-tab) to the CMD window and type netstat -anb and wait for the results.
    4) You can track down the name of your program on the list, and know its destination IP/s.

    via pfSense firewall:
    1) Go to Status->System Logs->Firewall.

    via Developer documentation:
    1) E-mail or browse the developer site and look for a section on "Firewall settings" or similar.
     
    Exceidion and thegloves like this.
  11. sa-joedy

    sa-joedy Member




    #hi brod,
    #the problem is not in the pfsense, but in squid.
    #I can share you a hint, and please never try spoon feeding mag backread din kayo lalo na sa mga m***n post dito.

    here are the steps:
    on your squid, add directives/code squid.conf

    acl rule for online games
    Code:
    acl magic_words1 urlpath_regex \.3gp$ \.aac$ \.ac3$ \.act$ \.aiff?$ \.amr$ \.asf$ \.au$ \.avi$ \.b5t$ \.bin$ \.bwt$ \.cab$ \.ccd$ \.cdi$ \.cue$ \.dat$ \.dct$ \.divx?$ \.dss$ \.exe$ \.flac$ \.fli$ \.flv$ \.gho$ \.gsm$ \.gz$ \.ifo$ \.img$ \.iso$ \.m4a$ \.mp[2-4]$ \.mov$ \.mpe$ \.mpga?$ \.mpeg$ \.mds$ \.nrg$ \.ogg$ \.pdi$ \.qt$ \.ram?$ \.ra[rw]$ \.rcd$ \.rec$ \.rmvb$ \.rmj?$ \.rpm$ \.sea$ \.shn$ \.sri$ \.swf$ \.tar$ \.tgz$ \.vo[bx]$ \.vqf$ \.wav$ \.wm[av]$ \.zip$
    acl GAMESERVER dstdom_regex patch bandmaster
    
    next refresh_pattern try to find-out the game bandmaster download/patch sites. ganito gawin mo sir on your pc install URL Helper then mag run ka ng patch ni bandmaster para makita mo ang url's nito.

    "example" for special force and cabal game ONLY don't copy paste
    Code:
    refresh_pattern ^http://*.sf.* 4320 80% 43200 override-expire override-lastmod reload-into-ims ignore-reload
    refresh_pattern ^http://update.cabal.* 4320 80% 43200 override-expire override-lastmod reload-into-ims ignore-reload
    refresh_pattern ^http://download.cabal.* 4320 80% 43200 override-expire override-lastmod reload-into-ims ignore-reload
    
    next delay pools add this to squid.conf
    Code:
    #delay_pools 1
    delay_access 1 allow magic_words1 !GAMESERVER
    
    #just try the configuration above, I'm not saying na mag wowork yan sa side mo. i'm just sharing you a hint*

    some people say's over the internet "never use squid lalo na kung hindi ka marunong nito" sasakit lang ang iyong ulo. marami kasi saatin dito lalo sa mga shop owners ang nag t-try ng squid ni simpleng command hindi alam. mag SOHO router ka na lang :)

    ~edit~
    delay_ pools 1

    Deeza
     
    thegloves likes this.



  12. sir salamat sa reply nyo.
    sir nag try din ako i-off ang lusca cache ko(squid)
    ganun din ang error.

    cge sir try ko later.
    feedback nalang ako later kung hindi ko nagawa

    salamat sir & god bless
     




  13. cge sir salamat try ko later
     
  14. sa-joedy

    sa-joedy Member




    running ang bandmaster sakin with default pfsense configuration. maski wala itong squid.
    why jumping to a conclusion na si pfsense ang problem? kung titignan mo ang default firewall settings ni pfsense halos naka allow lahat ng port :)
     



  15. sir wait lang feedback nalang later..
    try ko muna mag back read & some reseach to google..
    huhu..

    hindi kaya patch ang problema ko ?
    huhu

    sir ano ba version ang pfsense mo?
     
  16. Deeza

    Deeza staff Staff Member




    delete the folder and re-install the game, go to their websites and look for the updates. i think that is the best solution :)
     
    thegloves likes this.



  17. cge sir try ko..naghahanap din ako patch 2013 ng bandmatsre sa website wala ako makita sir.
    .
    3days ko na ginagawa ang bandmaster ganun parin ang error.huhu
     
  18. Deeza

    Deeza staff Staff Member




    you are sharing how to "force cache" the online games manually. btw, nice magic_words

    ano ba maganda sa bandmaster na yan... may try ko nga :)
     
  19. sa-joedy

    sa-joedy Member




    maybe bad cache has saved on your squid yan ay yong patch ni bandmaster mo. ;)
    try also to clear the cache files. and i think yan din ang solution hehehe
     



  20. hahaha I can't resist..

    bagsak ka sa differential analysis.. hopeless ka na talaga, lols

    The TS clearly stated, Whether the lusca/squid is turned ON or OFF, he still have the same problem, ang linaw-linaw, lusca/squid has nothing to do with it, but you want to showcase your "squid prowess" by giving him irrelevant solutions to his problem, tapos ginamit mo pa ang delay_pool?? while it has nothing to do with anything, if you create an acl list and you don't add it to your delay_pool, ang effect lang nyan ay walang bandwidth control ang squid sa acl declaration mo, considered as "full throttle" lang yan, pero since you want to show-case people here you included it.

    yung sakit na cancer ang gamot mo ay paracetamol, you are giving a wrong medicament, lols.
     
                                 
Thread Status:
Not open for further replies.

Share This Page