Proxy server question
-
Sadly you will manage nothing with YouTube. I had exactly same thought about it, but seems YT is using something called dynamic content which is not same ever, so proxy cannot "HIT" on that packet, and downloading it again. There is option for Squid proxy to cache dynamic content, … but i never actually saw it working. i even read many times on forum to keep that turned off... i said read i did not state anything.
Just try it out first before you purchase anything expensive.
Cheers :)
-
You probably will not be able to cache this kind of dynamic content and if you wanto to do so I read somewhere that you need to allow to cache files with 4GB and more of size.
-
You probably will not be able to cache this kind of dynamic content and if you wanto to do so I read somewhere that you need to allow to cache files with 4GB and more of size.
this exactly what i did, it used to work before after the update it stops working.
i had to remove the proxy filter now and use just the cashing. however I've attached a extra HDD just for the cashing with a lot of free space.
can someone please advise how to mount this a extra HDD to the Pfsense ?
i've add the hard disk the the pfsense .[2.1.5-RELEASE][root@pfsense.lan]/root(2): cat /etc/fstab
Device Mountpoint FStype Options Dump Pass#
/dev/da0s1a / ufs rw 1 1
/dev/da0s1b none swap sw 0 0and
[2.1.5-RELEASE][root@pfsense.lan]/root(3): cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1a / ufs rw 1 1 /dev/da0s1b none swap sw 0 0
when i tried to mount the dev/das1b its comes back
[2.1.5-RELEASE][root@pfsense.lan]/root(5): mount- /dev/da0s1b mount-: Command not found.
-
Hi,
I am not sure how it works but here ist some interesting link:
http://imroninfo.blogspot.de/2011/05/how-to-configure-squid-to-use-separate.htmlAn when looking at your description you should perhaps use /dev/da1s1a instead of da0s1b
-
[2.1.5-RELEASE][root@pfsense.lan]/root(5): mount- /dev/da0s1b
mount-: Command not found.What's up with the dash at the end of the mount command?
-
@KOM:
[2.1.5-RELEASE][root@pfsense.lan]/root(5): mount- /dev/da0s1b
mount-: Command not found.What's up with the dash at the end of the mount command?
Good catch KOM
tried without the - still the same
btw the - comes after i pressed the TAB
[2.1.5-RELEASE][root@pfsense.lan]/root(5): mount /dev/da0s1b
mount: Command not found.@KOM:
[2.1.5-RELEASE][root@pfsense.lan]/root(5): mount- /dev/da0s1b
mount-: Command not found.What's up with the dash at the end of the mount command?
Good catch KOM
tried without the - still the same
btw the - comes after i pressed the TAB
[2.1.5-RELEASE][root@pfsense.lan]/root(5): mount /dev/da0s1b
mount: Command not found.Nachtvalk
thank you for the link,
i think i miss one step before which is to see which hdd are attached to the pfsense.
any suggestions which commands to use ?when i run df-h command
it doesn't shows the second HDD is attached !
i am supposed to do something before it shows the attached second HDD ? -
The second hard disk should show up as /dev/da1. If that isn't present then pfSense isn't detecting it.
The general syntax of the mount command is:
mount -options /dev/device_name# /folder_name
/folder_name must already exist. You can leave options blank for testing.
Here is how to add a disk to FreeBSD.
Note that the disk naming scheme is different so when they talk about /dev/ada1 and /dev/adap1, you should use /dev/da1 and /dev/da1s1 respectively.
-
@KOM:
The second hard disk should show up as /dev/da1. If that isn't present then pfSense isn't detecting it.
The general syntax of the mount command is:
mount -options /dev/device_name# /folder_name
/folder_name must already exist. You can leave options blank for testing.
Here is how to add a disk to FreeBSD.
Note that the disk naming scheme is different so when they talk about /dev/ada1 and /dev/adap1, you should use /dev/da1 and /dev/da1s1 respectively.
thank you
i believe this for Sata Disk ,
i've ISCI Drive to the VM .
when i run df -h it doesn't shows the drive
i've deleted the disk and add it twice but the same result
Filesystem Size Used Avail Capacity Mounted on/dev/da0s1a 5.8G 1.1G 4.3G 20% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/md0 3.4M 116K 3.0M 4% /var/run
devfs 1.0K 1.0K 0B 100% /var/dhcpd/dev -
i've ISCI Drive to the VM .
??? DO you mean SCSI or iSCSI? In my lab with VMware Workstation, I added a SCSI disk and it appeared as /dev/da1.
-
@KOM:
i've ISCI Drive to the VM .
??? DO you mean SCSI or iSCSI? In my lab with VMware Workstation, I added a SCSI disk and it appeared as /dev/da1.
yes i meant the SCSI disk separate than the VM Disk, and is Thick Provision
after i updated to 2.2 i beleive it starts showing up the attached disksdf -h still doesn't shows the attached hdd
what i am doing wrong -
df -h still doesn't shows the attached hdd
what i am doing wrongI think df only shows mounted filesystems. Did you partition, format & mount your disk using the directions in the links I posted?
-
@KOM:
df -h still doesn't shows the attached hdd
what i am doing wrongI think df only shows mounted filesystems. Did you partition, format & mount your disk using the directions in the links I posted?
i am stuck at the first step when i run the command /var/run/dmesg.boot its said /var/run/dmesg.boot:not found
i already added to the disk -
dmseg.boot is a log file. You don't run it; you view it with cat or a text editor.
OK, firs things first. What output do you get when you run the command:
ls /dev/da*
We need to see if pfSense even sees your disk at all. You are specifically looking for /dev/da1.
-
@KOM:
dmseg.boot is a log file. You don't run it; you view it with cat or a text editor.
OK, firs things first. What output do you get when you run the command:
ls /dev/da*
We need to see if pfSense even sees your disk at all. You are specifically looking for /dev/da1.
this what i get .
[2.2-RELEASE][root@firewall.pfsense.lan]/root: ls /dev/da* /dev/da0 /dev/da0s1 /dev/da0s1a /dev/da0s1b /dev/da1
-
Ok, so it sees your disk. I'm not sure what your problem is then. Just partition, format and mount it as per the guide I linked to:
# gpart create -s GPT da1 # gpart add -t freebsd-ufs da1 # newfs -U /dev/da1s1 # mkdir /newdisk # mount /dev/da1s1 /newdisk
Add this to /etc/fstab so that it mounts at boot:
/dev/da1s1 /newdisk ufs rw 2 2
-
@KOM:
Ok, so it sees your disk. I'm not sure what your problem is then. Just partition, format and mount it as per the guide I linked to:
# gpart create -s GPT da1 # gpart add -t freebsd-ufs da1 # newfs -U /dev/da1s1 # mkdir /newdisk # mount /dev/da1s1 /newdisk
Add this to /etc/fstab so that it mounts at boot:
/dev/da1s1 /newdisk ufs rw 2 2
Thank you KOM
the problem is when i run the commandnewfs -U /dev/da1s1
it said command not found !
[2.2-RELEASE][root@firewall.pfsense.lan]/root: # newfs -U /dev/da1s1
#: Command not found.
[2.2-RELEASE][root@firewall.pfsense.lan]/root: -
#: Command not found.
The # character is meant to represent your shell prompt. You don't actually type that part. No wonder you've been having trouble.
-
@KOM:
#: Command not found.
The # character is meant to represent your shell prompt. You don't actually type that part. No wonder you've been having trouble.
sorry mommy mistake
does the commands that has /dev/da1s1 means /dev/da1 for me right ?
i believe dev/da1 is my current install pfsense and dev/da1pl1 is the attached disk ? -
I did explain earlier that when they reference /dev/ada1, you would use/dev/da1. When they use /dev/ada1p1, you would use /dev/da1s1. p means partition, s means slice, but they are basically the same.
-
@KOM:
I did explain earlier that when they reference /dev/ada1, you would use/dev/da1. When they use /dev/ada1p1, you would use /dev/da1s1. p means partition, s means slice, but they are basically the same.
is exactly what i am doing
[2.2-RELEASE][root@firewall.pfsense.lan]/root: newfs -U /dev/da1s1
newfs: /dev/da1s1: could not find special device
[2.2-RELEASE][root@firewall.pfsense.lan]/root: