OpenBSD 4.7 perubahan baru di rule PF

Seperti penjelasan di web nya,  release 4.7 melakukan perubahan di dalam rule PF.  Sedikit penjelasanya adalah sbg berikut :

pf(4) Perubahan syntax NAT

Menggantikan aturan fungsi nat/rdr/binat dengan aturan fungsi match/filter, contohnya sebagai berikut

nat on $ext_if from 10/8 -> ($ext_if)
 rdr on $ext_if to ($ext_if) -> 1.2.3.4

Menjadi

   match out on $ext_if from 10/8 nat-to ($ext_if)
   match in on $ext_if to ($ext_if) rdr-to 1.2.3.4

dan…

   binat on $ext_if from $web_serv_int to any -> $web_serv_ext

menjadi…

   match on $ext_if from $web_serv_int to any binat-to $web_serv_ext

Semoga bermanfaat….

Upgrade Guide: 4.6 to 4.7

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.