![]() |
|
|||
|
Hi all, I just upgraded to 4.6-stable and I'm having two syntax errors on /etc/pf.conf I just can't figure out:
Quote:
|
|
||||
|
My nat-to uses match, instead of pass, as it is very general:
Code:
match out on $external_nic from !($external_nic) nat-to ($external_nic) Code:
pass in log quick proto tcp from $internal_net to any port www \
rdr-to 127.0.0.1 port 8080
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
I just found that the problem was when updating from 4.6-current to 4.6-stable, 4.6-current uses nat-to and rdr-to, and 4.6-stable uses the old syntax....
thanks! |
|
||||
|
Oh, yes.
The reason -stable is called "stable" is that it is functionally equivalent to the -release. FAQ 5.1 has a detailed explanation. I'm a -current user, so I'm not always aware of what specific new functionality I'm using may be beyond -release/-stable. I recall going through the nat/rdr transition, but I didn't remember if it was before or after 4.6 was finalized.
__________________
OpenBSD LiveCDs/LiveDVDs |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia" | jb_daefo | Guides | 0 | 5th October 2009 09:31 PM |
| "Thanks" and "Edit Tags". | diw | Feedback and Suggestions | 2 | 28th March 2009 11:06 PM |
| Scripted sysinstall fails with "Command 'system' failed" | PeterSteele | FreeBSD Installation and Upgrading | 0 | 13th November 2008 10:31 PM |
| Newbie-friendly "printing in OpenBSD" guide wanted | Shagbag | OpenBSD Packages and Ports | 5 | 7th July 2008 09:26 PM |