Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 21st December 2013
marciorufino01 marciorufino01 is offline
New User
Join Date: Nov 2013
Posts: 9
Default Pf open5.4 not accept rule


I have the following table and rule in pf.conf

table <PASS_FTP> { }

pass in quick on $int_if proto tcp from <PASS_FTP> to any port 21 divert-to port 8021

with this rule, I allow only those ips ftp but please do not load the rule and displays the following error

pfctl -f /etc/pf.conf
/etc/pf.conf:139: address family mismatch for divert
pfctl: Syntax error in config file: pf rules not loaded

Anyone know if it has syntax error?

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pf NAT rule isn't working flit OpenBSD Security 8 30th September 2013 02:45 AM
4 py-*** packages wouldn't accept uninstall or repair daemonfowl OpenBSD Packages and Ports 8 4th June 2013 06:21 PM
Public WiFi and accept screens phyro OpenBSD Installation and Upgrading 10 10th January 2013 09:36 PM
Help with my pf rule please whispersGhost OpenBSD Security 0 19th April 2012 07:54 AM
How to get 'make' to accept all defaults for dependent packages Xeon FreeBSD Ports and Packages 1 12th February 2009 01:54 AM

All times are GMT. The time now is 12:18 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick