Search results

  1. Trojan

    Block streaming video in squid

    Hello guys. Could you please help me to block streaming video in squid. Now I use the following solution: acl bad_url dstdomain *.youtube.com http_access deny bad_url But of course it's very time consuming everytime to add another one website that contains the streaming video. I would be...
  2. Trojan

    How to install VMWare-tools on FreeBSD 8?

    Guys Vmware Tools aren't installed on FreeBSD virtual machine. Here is the message I get when trying to install: shlus# ls FILES doc lib INSTALL etc vmware-install.pl bin installer shlus# ./vmware-install.pl ./vmware-install.pl: Command not found. How to...
  3. Trojan

    pf and routing question

    DutchDaemon, sorry. I just made a little mistake in rule (wrote # instead of $). Now it's OK. But unfortunately your rule didn't help me. The traffic between subnets still not forwarded. Here is the full list of rules: lan1_if="em0" #replace with actual external interface name i.e. dc0...
  4. Trojan

    pf and routing question

    No any luck. pfctl: Syntax error in config file: pf rules not loaded Maybe because the direction statement (in/out) is missed?
  5. Trojan

    pf and routing question

    Guys please help to clarify the following issue: I have two subnets 192.168.1.0/25 and 192.168.1.128/25 and there is a FreeBSD with PF running between subnets. The scheme is below: Subnet1 192.168.1.0/25 .1|------FreeBSD------|.129 192.168.1.128/25 Subnet2 Packet forwarding is already...
  6. Trojan

    Can't mount usb flash drive

    Guys, please help to clarify the issue with mounting USB flash drive. According to Handbook I added usbd_enable="YES" string in /etc/rc.conf file. Also I created /mnt/flash directory. When I try to mount flash drive to created /mnt/flash I get the following: shlus# mount -t msdosfs...
  7. Trojan

    Unable to login as root in ssh

    Finally I solved the issue with ssh login under root. In my case the problem was that parameter "AllowRootLogin yes" wasn't uncommented and it was my fault of course. I uncommented this parameter and now it's OK. Do excuse me please for misleading and ty for trying to help me.
  8. Trojan

    NFS mounting and permissions

    I changed the username trojan for machine name bsdcli but still have no success. :q shlus# cat /etc/exports /share -maproot=root bsdcli bsdcli# mount shlus:/share /home/trojan/mount [udp] shlus:/share: RPCPROG_NFS: RPC: Port mapper failure - RPC: Timed out [udp] shlus:/share: RPCPROG_NFS...
  9. Trojan

    NFS mounting and permissions

    What do you mean under meaning "netgroup"? The name of workgroup or domain or what?
  10. Trojan

    NFS mounting and permissions

    Unfortunately not. I restarted the daemon on server and client and hadn't any success. But what about the trivial user who need to mount some share? At least as I know one can specify the user who will be able to mount the share in /etc/exports file. I also tried to mount the share under root...
  11. Trojan

    How to enable PF?

    Finally I enabled PF and ALTQ with rebuilding the kernel but now the question: is rebuilding the kernel is the only way to enable PF and ALTQ? Is it possible to enable these features durin instalation of operating system?
  12. Trojan

    NFS mounting and permissions

    Need some help with mounting share using NFS. I configured both the server and client stations with NFS server and NFS client settings respectively. Here is the configs: shlus# grep nfs /etc/rc.conf - on server rpcbind_enable="YES" nfs_client_enable="YES" nfs_server_enable="YES"...
  13. Trojan

    NFS issue. No /etc/exports file

    It seems that the absence of exports file in /etc directory happened because I didn't choose the FreeBSD machine act as NFS server during the installation of system. I reinstalled the system and during the installation I selected nfs server option and now the exports file exists in /etc directory.
  14. Trojan

    NFS issue. No /etc/exports file

    It is very strange that in handbook writen about /etc/exports file BUT indeed this file doesn't exist and one should create it oneself. Anyway thank you for hint.
  15. Trojan

    NFS issue. No /etc/exports file

    According to man exports file /etc/exports is the default file for specifying shared directories. But in FreeBSD 6.4 and 7.1 releases I faced with the problem of absence of this file in /etc directory. What is the cause of this issue?
  16. Trojan

    Unable to login as root in ssh

    May 7 11:43:13 shlus sshd[813]: error: PAM: authentication error for root from localhost May 7 11:43:22 shlus last message repeated 2 times
  17. Trojan

    How to enable PF?

    So, I copied/pasted the pf.conf file from /usr/share/examples/pf to /etc. Now when I run pfctl -f /etc/pf.conf and kldload pf I get the next: shlus# pfctl -f /etc/pf.conf No ALTQ support in kernel ALTQ related functions disabled shlus# kldload pf kldload: can't load pf: File exists Some...
  18. Trojan

    Unable to login as root in ssh

    I logged in locally on FreeBSD macine then run ssh -l root localhost and here the output of what I got: shlus# ssh -l root shlus The authenticity of host 'shlus.home (192.168.1.1)' can't be established. DSA key fingerprint is e2:81:82:d7:c3:af:d0:d0:35:32:24:21:df:18:56:45. Are you sure you...
  19. Trojan

    How to enable PF?

    Well, if I'll just copy that file and paste it to /etc directory and then edit it according to my needs, will the PF works afterwards? I suppose there is no difference between creating the new /etc/pf.conf file and copying/pasting the existing one. Am I right or mistaken?
  20. Trojan

    Unable to login as root in ssh

    When I run ssh -l root localhost I get the next: shlus# ssh -l root localhost The authenticity of host 'localhost (127.0.0.1)' can't be established. DSA key fingerpront is e2:81:82:d7:c3:af:d0:d0:35:32:24:21:df:18:56:45. Are you sure you want to continue connecting (yes/no)? And here is the...
Back
Top