Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-15 Thread Johan Helsingius
Never thought I would see confucionism on misc@ Confucius say too much.  recent Chinese proverb (from fortune(6)) Julf

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-13 Thread David Walker
Hey. On 06/11/2011, Gholam Mostafa Faridi mostafafar...@gmail.com wrote: NAT1= 10.10.10.194 paltalk1= { 192.168.0.20, 192.168.0.21, 192.168.0.22 } match out on egress inet from !(paltalk1) to any nat-to (NAT1) much different is in NAT rule , and other things is

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-13 Thread Mostaf Faridi
Thanks Dear Friends I will fix it, it is great, I have only one mistake in my new pf.conf About private and public IPs, you says true Can I optimiz this pf.conf? Thanks in advance On Nov 13, 2011 2:36 PM, David Walker davidianwal...@gmail.com wrote: Hey. On 06/11/2011, Gholam Mostafa Faridi

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-13 Thread David Walker
On 13/11/2011, Mostaf Faridi mostafafar...@gmail.com wrote: Can I optimiz this pf.conf? Thanks in advance I do not open up the truth to one who is not eager to get knowledge, nor help out any one who is not anxious to explain himself. When I have presented one corner of a subject to any one,

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-13 Thread Andres Perera
On Sun, Nov 13, 2011 at 9:22 AM, David Walker davidianwal...@gmail.com wrote: On 13/11/2011, Mostaf Faridi mostafafar...@gmail.com wrote: Can I optimiz this pf.conf? Thanks in advance I do not open up the truth to one who is not eager to get knowledge, nor help out any one who is not anxious

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-13 Thread David Walker
On 14/11/2011, Andres Perera andre...@zoho.com wrote: i like your style :) :] I've been writing essays for this guy and fixing his 800 line PF but there's a limit. How cool is this ... To study and not think is a waste. To think and not study is dangerous. Confucius. Pwnage. Teaching

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-13 Thread VICTOR TARABOLA CORTIANO
Never thought I would see confucionism on misc@

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-12 Thread Gholam Mostafa Faridi
On 11/09/2011 02:30 AM, David Walker wrote: Mostaf Faridimostafafaridi () gmail ! com wrote: I want migrate from FreeBSD to OpenBSD , yesterday I install OpenBSD 5 amd64 and run samba server with OpenBSD and it work good . In first step I run samba server with OpenBSD , and after this I want

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-08 Thread David Walker
Mostaf Faridi mostafafaridi () gmail ! com wrote: Thanks all guys Sorry for my bad English I , only understand is this pf.conf work in openbsd 5 or no .? Which part I must edit and change it Is this pf.conf is correct ? Thanks in advance You're doing it wrong. Three ways you could write a

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-08 Thread Mostaf Faridi
Thanks Your 3 way is good . I choose number 3 . I have pf.conf from FreeBSD and it work good for me over 3 months. But sometimes it dose not work good , I said my problem in first email . I want only understand : is this pf.conf work great in opnbsd or no ? And I want find my mistake if I have in

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-08 Thread David Walker
Mostaf Faridi mostafafaridi () gmail ! com wrote: Thanks Your 3 way is good . I choose number 3 . Please note carefully how number 3 works ... *You* either have to track between FreeBSD then and OpenBSD now ... two different trees over however many years ... ... or track between FreeBSD then,

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-08 Thread Mostaf Faridi
Thanks My problem is this I do not enough time to start from scratch and make new rule .in my work place , my boss find another person can do internet sharing with Windows 2008 and ISA and this person say he can make best internet sharing server , I said before my my pf.conf in FreeBSD work good ,

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-08 Thread David Walker
Mostaf Faridi mostafafaridi () gmail ! com wrote: My problem is this I do not enough time to start from scratch and make new rule . If you were moderately familiar with OpenBSD you could have, in the time between the start of this thread and now, read pf.conf for OpenBSD 5.0 and written on

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-08 Thread Mehma Sarja
On 11/8/11 4:25 AM, Mostaf Faridi wrote: Thanks My problem is this I do not enough time to start from scratch and make new rule .in my work place , my boss find another person can do internet sharing with Windows 2008 and ISA and this person say he can make best internet sharing server , I said

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-08 Thread Mostaf Faridi
Thanks Your guide learn me many thing .my experience with FreeBSD and OpenBSD is good .but my experience with FreeBSD is much better . In work place I run FreeBSD server for Samba and NAT and this server work good and work like charm , but I do not know why PF does not work good , if you see my

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-08 Thread Bentley, Dain
...@gmail.com] Received: Tuesday, 08 Nov 2011, 1:46pm To: David Walker [davidianwal...@gmail.com] CC: misc@openbsd.org [misc@openbsd.org] Subject: Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it Thanks Your guide learn me many thing .my experience with FreeBSD and OpenBSD is good

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-08 Thread David Walker
Mostaf Faridi mostafafaridi () gmail ! com wrote: I want migrate from FreeBSD to OpenBSD , yesterday I install OpenBSD 5 amd64 and run samba server with OpenBSD and it work good . In first step I run samba server with OpenBSD , and after this I want run NAT server with OpenBSD . Great. And

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-08 Thread SJP Lists
On 8 November 2011 23:25, Mostaf Faridi mostafafar...@gmail.com wrote: Thanks My problem is this I do not enough time to start from scratch and make new rule Your philosophy is not compatible with OpenBSD. Grabbing a random incompatible ruleset from the Internet and then trying to fix it is

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-07 Thread Stuart Henderson
On 2011-11-06, Peter N. M. Hansteen pe...@bsdly.net wrote: This block is superfluous (assuming you do not actually tweak, only stating defaults) most of it, yes, but this could be important set skip on lo0 this may be wanted too set loginterface $ext_if

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-07 Thread Gholam Mostafa Faridi
On 11/07/2011 02:47 AM, Peter N. M. Hansteen wrote: Gholam Mostafa Faridimostafafar...@gmail.com writes: In work place , we have over 24 computer and all of them are windows and , I have NAT server . this NAT server use FreeBSD 8.2 AMD 64 , and I use PF for NAT with FreeBSD 8.2 . after many

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-07 Thread Rod Whitworth
On Thu, 03 Nov 2011 03:16:52 +0330, Gholam Mostafa Faridi wrote: Gholam Mostafa Faridimostafafar...@gmail.com writes: Fix your clock. You are several days slow and it fux up mailers that sort by date/time as they all should. OpenBSD has ntpd to do it for you. R/ Rod/ Write a wise saying

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-07 Thread Kevin Chadwick
On Mon, 07 Nov 2011 21:53:20 +1100 Rod Whitworth wrote: as they all should. ^^^ His clock of course should be right but what's wrong with sorting by Maildir number (occassional mis-order but guaranteed aproximate order/receipt order vs spammers or forged messages floating to the top)

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-07 Thread John Tate
There is only one way to do a job like this: Write down what it does in clear English (or your own language), and do the whole thing from scratch. It will only be tediously slow for the first half of the job. On Wed, Nov 2, 2011 at 10:29 AM, Gholam Mostafa Faridi mostafafar...@gmail.com wrote:

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-07 Thread Mostaf Faridi
Thanks all guys Sorry for my bad English I , only understand is this pf.conf work in openbsd 5 or no .? Which part I must edit and change it Is this pf.conf is correct ? Thanks in advance On Nov 8, 2011 7:35 AM, John Tate j...@johntate.org wrote: There is only one way to do a job like this:

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-07 Thread Janne Johansson
2011/11/8 Mostaf Faridi mostafafar...@gmail.com Sorry for my bad English I , only understand is this pf.conf work in openbsd 5 or no .? Which part I must edit and change it The part where you hope someone else will do the work so you don't have to know what your own firewall is doing, and

I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-06 Thread Gholam Mostafa Faridi
Hi In work place , we have over 24 computer and all of them are windows and , I have NAT server . this NAT server use FreeBSD 8.2 AMD 64 , and I use PF for NAT with FreeBSD 8.2 . after many search in google , I find this pf.conf ns# cat

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-06 Thread Theo de Raadt
In work place , we have over 24 computer and all of them are windows and , I have NAT server . this NAT server use FreeBSD 8.2 AMD 64 , and I use PF for NAT with FreeBSD 8.2 . after many search in google , I find this pf.conf ns# cat

Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it

2011-11-06 Thread Peter N. M. Hansteen
Gholam Mostafa Faridi mostafafar...@gmail.com writes: In work place , we have over 24 computer and all of them are windows and , I have NAT server . this NAT server use FreeBSD 8.2 AMD 64 , and I use PF for NAT with FreeBSD 8.2 . after many search in google , I find this pf.conf FreeBSD 8's