![]() |
|
|||
![]()
I just start PF, Now, i want to distinguish between DNAT and SNAT in PF, How i define ruleset for SNAT and DNAT of iptables in PF?
|
|
||||
![]()
Hello, and welcome!
http://marc.info/?t=105428129500003&r=1&w=2 describes a transition from IPTABLES DNAT and SNAT to PF. Note that this was at the time of OpenBSD 3.3, so the specific syntax will need to be altered to match the particular PF syntax used in the release of FreeBSD you are using. From http://forums.freebsd.org/showthread.php?t=39295: Code:
In RELENG_5 - pf is at OpenBSD 3.5 In RELENG_6 - pf is at OpenBSD 3.7 In RELENG_7 - pf is at OpenBSD 4.1 In RELENG_8 - pf is at OpenBSD 4.5 |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Migrating from iptables to pf, a love story | Popelicious | OpenBSD Security | 7 | 19th April 2013 08:46 AM |
iptables: overload on max-src-conn-rate? | Carpetsmoker | Other BSD and UNIX/UNIX-like | 2 | 13th May 2011 09:34 PM |
first match vs last match ruleset design (pf vs iptables) | zelut | FreeBSD Security | 5 | 12th July 2009 08:13 AM |
spoofing with iptables | dk_netsvil | General software and network | 6 | 29th October 2008 08:22 PM |
iptables fw redundancy | revzalot | Other BSD and UNIX/UNIX-like | 3 | 17th June 2008 04:51 PM |