+ Post New Thread
Results 1 to 2 of 2
*nix Thread, Packet Filters, port redirection and OpenBSD in Technical; Hi, I am having real bother with the syntax of OpenBSD pf packet filter software. I have setup some access ...
  1. #1
    soapyfish's Avatar
    Join Date
    Dec 2008
    Thank Post
    Thanked 7 Times in 5 Posts
    Blog Entries
    Rep Power

    Packet Filters, port redirection and OpenBSD

    Hi, I am having real bother with the syntax of OpenBSD pf packet filter software.

    I have setup some access points for our 6th form students to use with their personal laptops which are clearly untrusted on the domain with this in mind I send all traffic through OpenBSD using a pf and a network bridge.

    I want to only allow access to port 80 for web browsing. I have the rules to allow this working fine. The onyl problem with this so far is that each student needs to configure the proxies by hand each time they connect to the wireless.

    I understand that using the redirection options within pf I can automatically forward their requests to another host, although in this instance I want to redirect the packets to squid running on the same machine but on a different interface ( the squid instance on this machine is a sibling to our main proxy for the whole school.)

    I am making all the correct changes as far as I can see but I am consistanty bugged with a syntax error.... does anyone have any idea what I am getting wrong the offending line is below.

    pass in on $extIF proto tcp from any to any port 80 rdr-to

    any help greatfully received !

  2. #2

    matt40k's Avatar
    Join Date
    Jun 2008
    Thank Post
    Thanked 677 Times in 551 Posts
    Rep Power
    Your missing the port at the end.

+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 25th November 2010, 11:02 AM
  2. openbsd gateway
    By duxbuz in forum *nix
    Replies: 4
    Last Post: 7th June 2010, 11:33 AM
  3. Port redirection
    By sdc in forum Windows
    Replies: 0
    Last Post: 5th March 2009, 12:49 PM
  4. Packet analyser
    By Talorin in forum Wireless Networks
    Replies: 4
    Last Post: 27th January 2009, 04:41 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts