Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th March 2014
gpatrick gpatrick is offline
Spam Deminer
Join Date: Nov 2009
Posts: 224
Default pf old syntax

I'm using OpenBSD pf 4.6 or 4.7, but it is before the new changes. Anyway, I have a private LAN and a DMZ setup. My rules work for what I need and I'm not a pf expert by any means, but what rules do I need if I want an external user to be able to login to a server in my LAN?

For example, a user on the outside would login to which is a Unix machine on my private LAN using ssh. I'd assume that is possible, but I have no idea how to implement it.

Reply With Quote
  #2   (View Single Post)  
Old 18th March 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
Join Date: May 2008
Location: USA
Posts: 6,292

Welcome to 2010.

4.7 was where the big syntax change occurred for NAT. The 4.7 Upgrade Guide has a description of before and after rules which may help.

Note 1: PF has had continuous improvements in the years since you last upgraded or installed. These affect more than NAT. You may want to spend time with the PF User's Guide, which is aligned with syntax and best practices for OpenBSD 5.4-release.

Note 2: There are additional changes to PF for 5.5, including a completely new queuing subsystem to replace altq. OpenBSD 5.5 is planned for release on 1 May 2014.

Last edited by jggimi; 18th March 2014 at 12:26 PM. Reason: clarity, added link, and historical date correction. :(
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
syntax changes PF marciorufino01 OpenBSD Security 2 28th November 2013 02:04 PM
Pf.conf:29 syntax error CyberJet OpenBSD Security 17 3rd May 2013 06:41 PM
perl expression syntax qsecofr Programming 3 16th February 2009 12:56 PM
C/C++ Syntax highlighting in emacs rex FreeBSD General 1 12th October 2008 03:21 AM
Syntax Highlighting JMJ_coder Programming 17 22nd June 2008 02:24 PM

All times are GMT. The time now is 01:49 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