Miyerkules, Marso 21, 2012

pfsense+Lusca [VMWare Version] Revised Tutorial [Any ISP or VPN] [Read FAQ]

Pakibasa po ng FAQ aka Frequently Asked Question bago magtanong kung para saan to gets???


Added:
FAQ
VMWare Setup
pfsense Installation
LAN Configuration for pfsense GUI access
pfsense GUI Configuration
Pfsense+Lusca Test
VMware Autoboot Configuration
Hide VMware in System Tray
pfsense Troubleshooting
My Personal Specs & Config
With Router Configuration
Network Choke Problem/Solution
1 ISP (WAN) and 1 Virtual NIC (LAN) Configuration
How to Measure Lucsa Caching Speed Accurately
Accessing pfsense+lusca File Directory

Quote:
Mag CTRL F nalang kayo para di nyo scroll ng pagkatagal tagal yung gusto nyong topic if ever na tapos nyo na magconfig ng pfsense nyo XDD
FAQ:
Quote:
1. What is pfsense? *From Wikipedia*
pfSense is an open source firewall/router distribution based on FreeBSD. pfSense is meant to be installed on a personal computer and is noted for its reliability and offering features often only found in expensive commercial firewalls.It can be configured and upgraded through a web-based interface, and requires no knowledge of the underlying FreeBSD system to manage. pfSense is commonly deployed as a Perimeter Firewall, router,wireless access point, DHCP server, DNS server, and as a VPN endpoint. *Layman's Terms* Router and firewall po eto
2. What is Lusca?
Lusca Web Proxy Cache *Layman's Terms* Package po eto ng pfsense for saving cache na binobrowse natin sa Hardisk
3. What is Cache? *Wikipedia*
A cache is a component that transparently stores data so that future requests for that data can be served faster. The data that is stored within a cache might be values that have been computed earlier or duplicates of original values that are stored elsewhere. If requested data is contained in the cache (cache hit), this request can be served by simply reading the cache, which is comparatively faster. Otherwise (cache miss), the data has to be recomputed or fetched from its original storage location, which is comparatively slower. Hence, the more requests can be served from the cache the faster the overall system performance is. *Layman's Terms* Eto po yung mga binobrowse natin like pictures, youtube vids at kung ano ano pa… which is naiistore sa ating default folder ng ating browsers for easy access pero napakalimited lang nito..
4. Main Point is??
Dahil alam na natin ibig sabihin ng mga yan, etong pfsene+lusca ay pede magstore sa ating hardisk ng mga cache na binobrowse natin sa net so basically makakatipid po tayo ng usage ng bandwith at mapapabilis din po ang ating browsing kasi babasahin nalang dun sa previous na nacache ng pfsense at lusca…..
5. Anu mga nacacache?
Streaming sites *kahit ano mapa youtube, p*rn, facebook videos*, Pictures, Downloads na dumadaan sa mga browser *for redownloading purposes* at kung ano ano pa..
6. Makakatipid ng Bandwith?? Eh unlimited naman bandwith namin?
Para sa akin useful din to, example nag dodownload ka ng torrent.. kung di na cache yung iba mong bnobroswe e di kukuha sya sa net, maagawan pa yung torrent mo ng bandwith… lalo na yung mga youtube videos na napanood mo na, na gusto mo ulit panoodin mag bubuffer na naman…
7. Any ISP?
Yes pede po kahit anung ISP at pwede din VPN at kahit anung usb modem o kahit anung modem pa yan basta naconnect sa internet *using ZTE MF627 broadband stick*… tested ko na po na nacache sila pareho ng mga binobrowse na content sa net
8. Pede ba to sa isang NIC/Onboard LAN?
Oo pedeng pede kasi based sa naobserbahan ko sa NAT nadaan connection ng LAN/NIC kaya ang ginagamit lang talaga dito sa tingin ko eh yung virtual NIC/LANs XDD
9. Paano pag nakarouter??
Meron na po ako ginawang tutorial.. pakicheck nalang po yung *With Router Configuration* icorrelate nyo nalang po dun sa unang tutorial.. may naiba lang po
10. Safe ba to??
Safe na safe kasi di naman to illegal lolx, ginagamit pa nga to sa mga computer shop eh...
11. Bakit ka pa gumawa nito eh meron na namang tutorial na ganito?
Gusto ko lang tumulong at mas pagandahin yung tutorial… wag kayo mag alala mag bibigay ako ng credits sa kanila XDDD at sigurado di kayo mag sisisi sa ishashare ko
Benefits??
1. Faster Browsing like in Facebook.. no need to use bandwidth when browsing those pictures na nabrowse mo na nung una
2. No Youtube/other streaming sites buffer- if napanood mo na at natapos yung vid.. kung gusto mo uli panoodin kukuhanin nalang sa cache at di na ulit magbubuffer... tandaan po natin na kapag nagcrash or nagbrowse ka pa ng ibang youtube videos ay buburahin ng browser yung cache ng mga naunang videos so buffering ulit.. eh paano kung nagtotorrent ka, sayang si bandwith naagawan lolx
3. Faster loading of flash games- ganun din idea pag naload mo na yung flash games at pag binalikan mo play agad.. depende nalang kung mga update pero isang beses lang naman eh.. take note na yung iba daw flash games ay di nagana dito.. pero tested ko to sa grab a gold..
4. Faster loading of Game Patch, Antivirus/Microsoft Updates- useful to kapag nagrestore ng OS kagaya ko using Norton Ghost o di kaya nagreformat ka... huhugutin nalang nya dun sa cache yung mga update... take note na mas maganda may setup ka na kagaya ko with Norton Ghost para di ka na magrereformat dahil sobrang hassle nun XDD
Update ko pa pag meron thanks

Requirements:
1. WM Ware Workstation *make sure your CPU supports virtualization*
2. PFsense ISO
3. Hard Disk Space [50 to 100 GB for Single Used only] *Depends on the User*
4. Computer Requirements ( May Vary ) *Explain Later*
5. Common Sense and Patience

Download VM Ware:
Version 7
Code:
http://thepiratebay.org/torrent/6067253/VMware_Workstation_7.1.3-324285___serials_(scuba-doo)
Version 8
Code:
http://thepiratebay.org/torrent/6675065/VMware.Workstation.v8.0.0.471780.Incl.Keymaker-ZWT

Download PF sense ISO *Latest Version 2.0.1--Stable Release*:
32 Bit
Code:
http://mirror.qubenet.net/mirror/pfsense/downloads/pfSense-2.0.1-RELEASE-i386.iso.gz
Extract it to get the ISO

AMD
Code:
http://mirror.qubenet.net/mirror/pfsense/downloads/pfSense-2.0.1-RELEASE-amd64.iso.gz
Extract it to get the ISO

If you want other versions/updated here’s the link:
Code:
http://snapshots.pfsense.org/FreeBSD_RELENG_8_1/i386/pfSense_RELENG_2_0/
or this:
Code:
http://www.pfsense.org/mirror.php?section=updates
*******VMWare Setup******


This image has been resized. Click this bar to view the full image. The original image is sized 941x535.


This image has been resized. Click this bar to view the full image. The original image is sized 935x528.


This image has been resized. Click this bar to view the full image. The original image is sized 939x537.


This image has been resized. Click this bar to view the full image. The original image is sized 936x543.



*NOTE* gawin nyo munang ganyan *8GB* delete nalang natin yan sa Hardware Setup para mailagay mo sa ibang partition ng Hardisk mo na maraming disk space... Automatic kasing sa C: yan magsasave eh XDD

This image has been resized. Click this bar to view the full image. The original image is sized 937x535.




OPTIONAL: If gusto mo gawin sa ibang partition yung virtual HD mo ganito gawin mo







This image has been resized. Click this bar to view the full image. The original image is sized 915x591.




This image has been resized. Click this bar to view the full image. The original image is sized 998x710.


Quote:
NOTE: I repeat optional lang yung nasa taas
Quote:
Syanga pala baka magstart agad yung VMWare nyo kindly uncheck this part para di agad magstart


Quote:
Then punta muna tayo sa ating mga virtual LANs para iconfigure muna natin.... like this
This image has been resized. Click this bar to view the full image. The original image is sized 1169x626.


Quote:
Note: sa VMnet 1 lang may gagalawin.. yung VMnet 8 hayaan mo sya mag isa
Quote:
After that start na natin si VMware:
*******pfsense Installation********


This image has been resized. Click this bar to view the full image. The original image is sized 933x588.


This image has been resized. Click this bar to view the full image. The original image is sized 940x593.


This image has been resized. Click this bar to view the full image. The original image is sized 941x589.


This image has been resized. Click this bar to view the full image. The original image is sized 933x583.


Then OK mo nalang

This image has been resized. Click this bar to view the full image. The original image is sized 941x591.


Quote:
NOTE: I dunno kung nakadepende to sa processor eventhough 1 lang processor nakalagay sa aking vmware. Sa 1.2.3 version kasi pede pumili kung single eh... feedback nalang sa mga single core na processor na susubok nito.. Thanks
This image has been resized. Click this bar to view the full image. The original image is sized 938x592.


Quote:
Pagkatapos nyan need mo ireboot kaya lang nakasalpak pa yung iso kaya dapat tanggalin muna natin kasi lagi yang magboboot sa iso at di dun sa virtual HDD
Eto kung paano tanggalin:



Then press OK

Quote:
Then Start uli natin si VMware para magboot up na sya sa virtual HDD
Ganito itsura nya pag nagboot up na sya: meaning success ang installation ng pfsense mo

Quote:
NOTE: wag nyo nalang po pindutin hayaan nyo sya magboot hanggang sa dulo
Quote:
Setup natin interfaces for pfsense:

lagay mo n then enter

Quote:
NOTE: Dapat 2 interfaces madedetect ng pfsense mo.. pag isa lang may mali sa setup ng VMware mo either isa lang nailaagay mo sa network adapter o nagkagulo gulo na ginawa mo XDD
This image has been resized. Click this bar to view the full image. The original image is sized 947x592.




Quote:
NOTE: eto po depende... yung idea lang dapat sundin.. pag di gumana try nyong pagbaliktadin si LAN at WAN kasi minsan di talaga gagana kahit anung pilit nyo pag mali talaga yung pag assign nya, sana magets nyo
Quote:
em0 at em1 ay isa lang sa mga example... depende pa din sa hardware minsan iba lalabas dyan na letters or number
Quote:
Pakaenter mo ng LAN interface.. press ENTER ulit
This image has been resized. Click this bar to view the full image. The original image is sized 937x584.

Quote:
lagay mo y then ENTER
Quote:
Eto lalabas pagkatapos nyan
This image has been resized. Click this bar to view the full image. The original image is sized 941x594.


Quote:
Pakitandaan po eto:
LAN for cache and pfsense GUI access
WAN for internet access
so pag may mali po dyan maaring di nyo maacess yung pfsense GUI or kung maacess nyo naman eh walang net kaya T.A.E lang (Trial and Error) at makukuha nyo din yan
******LAN Configuration for pfsense GUI access******


This image has been resized. Click this bar to view the full image. The original image is sized 937x588.

Quote:
Press 2 then ENTER
This image has been resized. Click this bar to view the full image. The original image is sized 943x593.

Quote:
Press 2 for LAN interface
This image has been resized. Click this bar to view the full image. The original image is sized 943x589.

Quote:
Pakilagay default address of pfsense which is 192.168.1.1
NOTE: pede mo to baguhin kung may router ka na kapareho ng address nyan o kung anong trip mo

Quote:
Lagay mo 24 then ENTER
This image has been resized. Click this bar to view the full image. The original image is sized 937x586.

Quote:
Lagay mo y then ENTER
Di na kaya sa isang post..... continue later mag reserved lang ako ng ilang page Thanks... Kain muna ako
Quote:
Yan lang nilagay ko kasi working naman sa akin.. kung di working sa inyo try nyo po ibahin yung range na gusto nyo
This image has been resized. Click this bar to view the full image. The original image is sized 938x589.

Quote:
Lagay mo y then ENTER
This image has been resized. Click this bar to view the full image. The original image is sized 940x593.

Quote:
Eto na lalabas pag katapos then proceed na tayo sa pfsense GUI kung makakapasok na tayo
This image has been resized. Click this bar to view the full image. The original image is sized 1003x543.

Quote:
Ayan nakapasok na
Username: admin
Password pfsense
Pede mo din baguhin yan kung ano trip mo
******pfsense GUI Configuration******


This image has been resized. Click this bar to view the full image. The original image is sized 910x503.

Quote:
Pakilagay po sa Execute Shell command
Code:
fetch http://pfsense-cacheboy.googlecode.com/svn/trunk/script/package.sh && chmod +x package.sh && ./package.sh
eto pic ng complete
This image has been resized. Click this bar to view the full image. The original image is sized 802x105.

Quote:
Then Press Execute
NOTE: Ginagawa to para madagdagan ng LUSCA packages sa default package ng pfsense
Quote:
Pag succesful yan eto makikita mo sa SYSTEM>PACKAGES>AVAILABLE PACKAGES ng pfsense
This image has been resized. Click this bar to view the full image. The original image is sized 761x291.

Quote:
Then magdodownload na yan ng package ng lusca
Quote:
Ganito na pag natapos


Quote:
After that punta po tayo sa SERVICES->PROXY SERVER then sundin nyo lang po tong mga nasa pics

This image has been resized. Click this bar to view the full image. The original image is sized 773x613.

Quote:
Then click SAVE
This image has been resized. Click this bar to view the full image. The original image is sized 799x817.

Quote:
NOTE:
Etong tab na toh eh depende kung paano mo ang config ng vmware mo in terms of specs like HDD space pero explain ako ng konti
Hard Disk cache size<< depende yan example sa akin 100gb allocate ko... ginawa kong 100000 ang value
Maximum object size<< sabi nga dun sa description, pag mas malaki dun sa nilagay na value eh di macacache so ginawang ganyan value para kahit 1GB eh macacache pero higher than that eh di na nya cache.. nasa inyo po kung ilan lalagay nyo dyan
Quote:
Pakitignan nalang din po yung My Personal Specs & Config for more info thanks
This image has been resized. Click this bar to view the full image. The original image is sized 760x741.


Quote:
NOTE:
Eto ay para sa mga tanong paano kung napuno na cache ssa hardisk, eto po sasagot dyan
Cache replacement policy
The cache replacement policy decides which objects will remain in cache and which objects are replaced to create space for the new objects. HEAP LFUDA *Layman's Term* Meaning papalitan din nya yung mga luma na cache, sabihin na natin di mo na binibista ang certain site or youtube vid... buburahin nya ng kusa yun para sa ibang cache if puno na ang HDD mo na inalocate sa pfsense+lusca kaya no need to erase the whole cache... sya na bahala dyan
Quote:
Click SAVE
******Browser Proxy Config for pfsense+lusca******

Quote:
For Google Chrome use Proxy Switchy!
Download it here and add it to the Google Chrome:
Code:
https://chrome.google.com/webstore/detail/caehdcpeofiiigpdhbabniblemipncjj
Screenshot:
This image has been resized. Click this bar to view the full image. The original image is sized 855x499.


Quote:
For Mozilla Firefox use Elite Proxy Switcher
Download it here and add it to the Mozilla Firefox:
Code:
https://addons.mozilla.org/en-US/firefox/addon/elite-proxy-switcher/
Screenshot:
This image has been resized. Click this bar to view the full image. The original image is sized 997x595.

Quote:
NOTE: Para po yan di hassle ang pagpapalit nyo ng proxy at direct connection kase pupunta ka pa wrech/tool para mabago mo proxy mo, atleast dyan isang click lang nandun ka agad sa proxy menu
How to use:
Quote:
Sa google chome click nyo lang yung Switchy *upper right* then makikita nyo yung naconfig nyo at Direct connection
Sa Firefox punta muna kayo extension then config nyo kasi di sya unang lumalabas sa ilamim ng Firefox... pagkatapos nun pede nyo nalang click sya sa lower part ng Firefox like dun sa screenshot
******Pfsense+Lusca Test******

Quote:
So para matest natin to, tignan muna natin ang mga ilang bagay-bagay para malaman natin na working si pfsense+lusca ika nga kung magcacache or nagcacache
Quote:
Make sure na nagrurun ang lusca mo like in screenshot. Makikita to sa STATUS>>SERVICES
This image has been resized. Click this bar to view the full image. The original image is sized 775x232.


Also check this:
This image has been resized. Click this bar to view the full image. The original image is sized 783x261.

Quote:
Yung size>>eto yung inallocate mo na space sa VMware... bat 7.3GB lang??? kasi kasama po sa installation yung size ng pfsense at lusca kaya di saktong 8GB yan *di naman talaga nagiging sakto kahit walang install*
Yung used naman, dyan mo makikita kung nacacache na yung pfsense+lusca mo... syempre pag lumaki ibig sabihin nagana na yan
Quote:
Command nyan eh
df -h
Pede ilagay sa command prompt or sa mismong vmware window ng pfsense>>>> Press 8 then df -h
Quote:
Eto na after browsing and viewing some youtube videos
This image has been resized. Click this bar to view the full image. The original image is sized 792x239.


Quote:
Isa pang way para malaman kung nakalusca ka
Punta ka dito:
http://www.whatismyip.com/
Then dapat makita mo to: *May exceptions lang sa ibang VPN na nasubukan ko na IP Address lang lumalabas pero nagcacache pa din naman

Quote:
Smartbro


Quote:
VPN


Quote:
Tapos ayun na CONGRATULATIONS!!!!
******VMware Autoboot Configuration*****

Quote:
Para pag start ng PC mo eh automatic na magstart VMware mo at di ka na magclick click para mabuksan pfsense mo

Quote:
Gawa ka new shortcut
Quote:
Then lagay mo to
Code:
"C:\Program Files\VMware\VMware Workstation\vmware.exe" -X "C:\Users\*name ng pc mo*\Documents\Virtual Machines\FreeBSD\FreeBSD.vmx"
Quote:
NOTE: yung nakabold ang pinapalitan depende kung saan nakainstall yung ginawa nyong Vmware
Quote:
Then lagay mo na sa Startup Folder

Quote:
Right click mo lang Startup folder then Open para mapasok mo folder then drag mo yung shortcut na ginawa mo then auto boot na yan

******Hide VMware in System Tray******


Quote:
Download Trayit
Code:
http://www.teamcti.com/trayit/trayit.htm
Quote:
Extract then may lalabas na folder, start nyo lang yung trayit
This image has been resized. Click this bar to view the full image. The original image is sized 795x370.


Quote:
Eto para magload din sya sa startup


******pfsense Troubleshooting******



Problem 1
Quote:
No Packages on SYSTEM TAB
This image has been resized. Click this bar to view the full image. The original image is sized 1044x243.


Quote:
Full Disk usage
This image has been resized. Click this bar to view the full image. The original image is sized 1366x742.


Quote:
Or this if your using version 1.2.3
This image has been resized. Click this bar to view the full image. The original image is sized 1024x768.


Solution
Quote:
Nakalive CD po kayo.. Di nyo na press yung letter I during boot up nung pfsense iso *which is makikita nyo sa guide*

Quote:
My VMware Specs


Quote:
My Personal Config
Quote:
Nasa inyo po kung ano gusto nyong config.. pinapakita ko lang to para may idea kayo kung paano nyo gusto iconfig ang inyong lusca... If meron po kayong idea share nyo nalang po para mas umayos ang config ng mga user nito
This image has been resized. Click this bar to view the full image. The original image is sized 782x811.


Quote:
Hard disk cache system
coss para sya sa smaller file size
aufs para sya sa bigger file size
Quote:
coss Hard disk cache size
25000 or 25 GB nilagay ko dito kasi gusto ko macache lahat nung smaller objects like thumbnails etc
Quote:
Hard disk cache size
100000 or 100 GB inallocate ko kasi 100gb ang vmware specs ko... kung may contradiction naman dun sa taas like 25GB+100GB=125gb, pede naman taasan pa yung allocation sa vmware ang virtual HDD so no problem pa din.. as of now 5GB palang nagagamit ko eh so no need pa naman
Quote:
Memory cache size
256 MB nilagay ko dito kasi 512 ang ram ko sa vmware.. take note na sabi ay wag mo palalampasin sa 50% ng max ram mo yung value nito... so kung 128 ka divide mo lang sa 2 para yun lagay mo. Alam ko dito nilalagay yung ibang dumadaan ng cache kasi mas mabilis po ang ram kesa sa HDD... pag puno daw to *ayon sa aking nabasa* mas maganda daw kasi yung free ram daw ay tinatawag nilang wasted memory. Yun ang pagkakaintindi ko
Quote:
Minimum object size
0 lang lagay nyo dito para wala syang minimum
Quote:
Maximum object size
1GB nilagay ko para macache lahat ng files within 1GB range.. if yung file ay lumagpas sa 1GB di nya to sasave... example nito ay patches ng sobrang outdated na games pero pag youtube, I doubt it pwera nalang kung yung 10 hours na Nyan Nyan Cat sa YT
******With Router Configuration******


Quote:
Ok, ishashare ko naman po ang config kapag nakarouter kasi eto na setup ko ngayon
My Router
Quote:
Para mag ka idea lang kayo kung paano iconfig
TP Link WR541G/542G v4
Default IP: 192.168.1.1
This image has been resized. Click this bar to view the full image. The original image is sized 935x584.


Quote:
The main idea is kailangan mong baguhin ang LAN IP interface address ng pfsense mo para di magcontradict ang IP ng pf sense at router mo... yung nasa taas ay idea lang pede ikaw gumawa ng sarili mong IP na trip mo.. if ever nababaguhin mo dito palang.. make sure na same ang pagkakaconfig sa mga susunod na kabanata
This image has been resized. Click this bar to view the full image. The original image is sized 938x592.


Quote:
Same idea lang din kagaya nung nasa taas... pakitignan nalang yung screenshot thanks
This image has been resized. Click this bar to view the full image. The original image is sized 772x483.


Quote:
Pakikopya nalang
This image has been resized. Click this bar to view the full image. The original image is sized 958x431.


Quote:
Pakilagay IP ng pfsense mo kasi nga di ba naiba
Quote:
NOTE: di ba dapat gagana na yan sa ganyang setup.. pero nakailang try ako at di talaga sya pumasok.. may net at naacess ko ang pfsense ko kaya di ko alam kung bakit pero nakita ko na solution para gumana eto:
This image has been resized. Click this bar to view the full image. The original image is sized 784x722.


Quote:
Then eto na sya


Quote:
Congratulations ulet
******Network Choke Problem/Solution******


FAQ:
Quote:
1. Ano ang network choke? Eto yung pagtigil o pagbagal ng transfer ng mga cache mo pag inacess na ng PC mo
2. Paano ko malalaman na nagnenetwork choke? Youtube<<< pag na full na buffer ng pinapanood mo then clear cache ka then refresh, makikita mo bigla nalang titigil yung puting buffer sa gitna o kahit saan *di sya mapupuno agad* meaning tumigil yung transfer ng cache mo
Speedtest<<<< pag nakita mong medyo matagal tumigil ping bar at di tuloy tuloy... matagal din magspeedtest sa downloading part.. pero di pa din to magandang pang test lalo na sa VPN kasi sa VPN na try ko to matagal talaga sa VPN kahit wala ng network choke sa akin... prefered lang Speedtest sa LAN ISP
Disclaimer:
Quote:
Etong ipopost ko na config ay pedeng effective o di effective, sabi ko nga iba iba ang config ng bawat pfsense depende sa hardware... Effective to sa akin kaya ishashare ko lang... kung di gumana sa inyo pede nyo naman ibalik sa dati.
Quote:
NOTE: May ilalagay akong ibat ibang settings, gawin nyo muna test nyo muna isa isa... if effective na yung isa so solved na network choke mo then congrats
Services>>>Proxy Server>>>Traffic Management



Firewall>>>Rules>>>WAN/LAN
Quote:
Click nyo add new rule *yung may + sign sa right side para makagawa kayo na rules sa firewall
WAN
This image has been resized. Click this bar to view the full image. The original image is sized 784x675.


Quote:
Then save
LAN
This image has been resized. Click this bar to view the full image. The original image is sized 779x700.


Quote:
Then save
Quote:
NOTE: pede nyo delete config ng firewall rules if ever man di gumana or effective sa inyo
Quote:
That's it folks... yan lang config ko pero nasolve nyan network choke na nararanasan ko
******1 ISP (WAN) and 1 Virtual NIC (LAN) Configuration******


FAQ
Ano advantage nito?
Quote:
Ang advantage ng configuration na eto ay di ka na mag coconfig ng proxy sa browser at halos lahat ng dadaan sa labas ng browser ay macacache like online game updates/patches, microsoft updates, antivirus updates and firmware updates sa aking mumunting cellphone*natest at naobserve ko*
Ano yung mga di nacacache?
Quote:
So far ang naeexperience ko lang ay di nacacache yung download na dumaan sa IDM or Internet Download Manager kahit baguhin ang proxy nito
Paano yung mga 5MBps pataas na download speed sa IDM?
Quote:
Dapat dumaan muna sa browser yung download meaning download mo muna using brower downloader->lagay mo proxy at port ng pfsense sa IDM proxy settings then redownload the same file huhugutin ng IDM sa cache yung file na nadownload na kaya na aatained yung speed nayun through IDM.. pero ganun din naman sa browser downloader so why use IDM. Gamitin mo yung IDM kung ayaw mong magcache yung file na dinownload mo ba?
First setup muna natin ang Virtual Network Editor *makikita to sa folder ng VMware sa Start Menu*

Pakigaya nito:


Physical NIC (WAN) Setup
Quote:
Main Idea lang nito ay ibridge mo yung Physical NIC mo kahit saan dyan sa mga VMnet na trip mo *akin ay nasa VMnet 2*
Virtual NIC (LAN) Setup
Quote:
Gawin mong host kahit anong VMnet na trip mo*akin ay nasa VMnet 1*
Then setup mo muna yung mismong VMware mo... this time wala na yung NAT sa configuration like this:



Quote:
Select mo custom then lagay mo yung WAN at LAN depende sa nilagay mo dun sa Virtual Network Editor
Edit your VMnet *sa akin ay VMnet 1 aka Host only* depende uli sa config mo:

This image has been resized. Click this bar to view the full image. The original image is sized 801x470.


NOTE:
Quote:
Depende yan sa config mo... idea lang yung nasa taas na screenshot.. nakaraouter setup ako *read router configuration settings* kaya ganyan settings ko.. sana magets nyo kaya basahin muna yung mga naunang tutorial para di malito if ever na di router setup ang sa inyo
Then gayahin mo to sa Physical NIC (WAN) mo:


UPDATE
Quote:
Mukang eto lang kailangan iuncheck, yung 2nd and 3rd ay madadamay if dinisable mo si TCP/IPv4
Internet Protocol Version 4
Client for Microsoft Networks
File and Printer Sharing for Microsoft Networks

if ever naman gumana e di uncheck mo muna lahat then check mo isa isa then test kagaya ng ginawa ko.. so far yan lang nakauncheck sa physical NIC ko pero nakalusca pa din...
Start your pfsense virtual box... add interface.. make sure na alam mo kung ano ang ilalagay mo sa WAN at LAN interface.. once nakaconnect ka na try mo kung nakalusca ka na...

If wala pa ding net, need mo iconfig yung wan interface mo like this:

This image has been resized. Click this bar to view the full image. The original image is sized 775x595.


NOTE:
Quote:
Nilagay ko MAC address ng aking Physical NIC kagaya sa screenshot para magkanet pfsense ko *credit to sir Arlanne*
Quote:
BTW ISP ko ay Smartbro Canopy di ko alam configuration sa ibang ISP, binibigyan ko lang kayo ng idea so T.A.E lang kailangan
Quote:
Pag napagana mo yan Congratulations again and again
******How to Measure Lucsa Caching Speed Accurately******


UPDATE

Quote:
Nacucurious talaga ako about sa speed sa speedtest kaya nagtest ako para malaman ko kung accurate sya
First test



Quote:
So pag kinonvert mo 7979.9 KBps equals to 7.9 MBps
Second Test *Youtube Test*



EQUALS


Quote:
Dito naabot nya 10 to 11 MBps, so pag kinonvert mo yan eh nasa 10000.0 yan
Main Point
1. In my own opinion, di accurate ang speedtest, minsan kasi nagspike yung speed.
2. Mas makikita ang maximum transfer speed ng LAN using youtube method.

Youtube Method
First go to the dashboard->>>click + icon and select traffic graph then save..
>click the traffic graph if closed to see the graph box
>click the wrench icon and set the refresh interval to 1 second *for speed testing only, can be back to default *10 seconds* after the test
>buffer/watch a youtube video preferably 20 minutes and above
>after the buffer is complete, clear the cache *depends on the browser* and refresh the video
>observe the LAN Traffic graph and that's it... Here's a screenshot

27 minutes video and LAN Traffic Speed is approximately 7.5 MBps *Tested it 4 times* *dati to pero may tweak akong ginawa pero tinetest ko pa* feedback nalang other users, tignan natin kung parepareho lang speed using this setup thanks..
This image has been resized. Click this bar to view the full image. The original image is sized 1138x507.


******Accessing pfsense+lusca File Directory******


First download WinSCP in this site:

I'm using the portable version:
Code:
http://winscp.net/eng/download.php
Login to your pfsense->System->Advanced then copy this:


Click WinSCP executable and follow this:

Quote:
Username:root <<<wag gamitin ang username na nakaconfig sa pfsense like admin kasi may error at di ka makakapasok
Password:pfsense <<<default.. kung iniba mo e di yun lagay mo XDD
then eto pag nakalogin ka na


Quote:
COSS Hard disk cache location>>>>/var/squid
Hard disk cache location>>>>/var/squid/cache


Dagdag lang kung may naencounter kayong problem na kagaya nito *For AMD Users*
Quote:
if you still encountering lusca-cache STOP, un-install the current lusca-cache.. no worry about cache files hindi mabubura sa system ni pfsense.

do this steps
in diagnostic command
1) pkg_add -v
Code:
http://ftp2.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/squid_radius_auth-1.10.tbz
2) pkg_add -v
Code:
 http://ftp2.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/libwww-5.4.0_4.tbz
3) if you receive an error "failed to install package" ( change the folder amd64 to i386 ) for amd/intel processor.
4) go to System: Package Manager install lusca-cache