Re: one ADSL connection with 10 static IPs and PF

2011-11-29 Thread Claus

On 11/29/2011 4:18 AM, Mostaf Faridi wrote:

I need help


Use your ADSL modem in a transparent bridge mode.  That way no IPs are 
assigned to it.  Now you can control everything with with OpenBSD and 
pf, nat, etc the way you like.


Have fun!

BTW, having your ADSL in bridging mode means there is nothing, 
absolutely nothing to protect you from the evil world.  Of 
course assigning all 10 MS Windows machines with static IPs would make 
it compliant with your policy and everything is good and done.sarcasm>




Re: one ADSL connection with 10 static IPs and PF

2011-11-29 Thread Mikkel C. Simonsen

Mostaf Faridi wrote:

I need help


Then call your ISP and ask them to help you. Nobody else can. If they 
can't help you, get a better ISP.


Best regards,

Mikkel C. Simonsen



Re: one ADSL connection with 10 static IPs and PF

2011-11-29 Thread Kenneth Gober
On Tue, Nov 29, 2011 at 5:18 AM, Mostaf Faridi wrote:

> I need help
> On Nov 27, 2011 8:58 AM, "Mostaf Faridi"  wrote:
>
> [...]
>
>>> we do not know , which mode we must use in ADSL modem , PPoE or bridge ?
> >>> we do not know use PPoE or Bridge mode with ADSL modem and our ISP do
> not
> >>> give us enough information , if I want make NAT server with PF with
> mode I
> >>> must set in ADSL modem ? PPoE or bridge ?
> >>> we do not know how we must config our NAT server ,
> >>> we do not know we need ppp or no ?
> >>> we do not konw how we must config PF .
> >>> we have to use 10 static IPs and we can not use one static IP , because
> >>> of our policy .
> >>> which options , I must add to my PF.conf
>

you have 2 individual problems here:
1. you don't know how to connect to your new ADSL service
2. you don't know what you need in pf.conf to get the
filtering/translation/redirection behavior you desire

these 2 problems are, for the most part, unrelated to each other.

for #1, the problem is that we don't know the answers to these questions,
because they depend on exactly what your ISP set up for you and how it
works.  if your ISP won't help you, you will have to figure this out for
yourself, or hire somebody to do it.

for #2, the problem is that we don't know the answers to these questions,
because they depend on exactly what filtering, translation and/or
redirection behavior you want.  "man pf.conf" will tell you how to NAT to a
pool of addresses, but the exact entries to put in depend on the specific
IP addresses you got from your ISP.  and if there are other things you want
PF to do in addition to NAT, you will need entries for those too but first
you need to know exactly what you want to do.  and so far all we have heard
about are the things you don't know.

given the amount of technical information you have provided (nearly none)
it will not be possible for anyone on this mailing list to help you.

-ken



Re: one ADSL connection with 10 static IPs and PF

2011-11-29 Thread Mostaf Faridi
I need help
On Nov 27, 2011 8:58 AM, "Mostaf Faridi"  wrote:

> I had leased line Before and had NAT server with openBSD and before l
> FreeBSD NAT before
> On Nov 27, 2011 2:24 AM, "rancor"  wrote:
>
>> What do you know?
>> Den 26 nov 2011 23:44 skrev "Gholam Mostafa Faridi" <
>> mostafafar...@gmail.com>:
>>
>>> we had Leased line before and we had 27 static IPs before , but our ISP
>>> do not support is very well , and we change our ISP and we buy ADSL
>>> connection with 10 static IPs , my NAT Server is OpenBSD 5 , before we
>>> change our connection type from Leased line to ADSL , we have cisco 800
>>> router and Leased line connect to cisco 800 and after that we connect it to
>>> our NAT server , every thing was good and it work like charm , but after
>>> change connection type , ISP give us Zyxcel ADSL modem with 10 startic IP ,
>>> and our IPS do not say what we must do with this ADSL modem and these IPs.
>>> we do not know , which mode we must use in ADSL modem , PPoE or bridge ?
>>> we do not know use PPoE or Bridge mode with ADSL modem and our ISP do not
>>> give us enough information , if I want make NAT server with PF with mode I
>>> must set in ADSL modem ? PPoE or bridge ?
>>> we do not know how we must config our NAT server ,
>>> we do not know we need ppp or no ?
>>> we do not konw how we must config PF .
>>> we have to use 10 static IPs and we can not use one static IP , because
>>> of our policy .
>>> which options , I must add to my PF.conf



Re: one ADSL connection with 10 static IPs and PF

2011-11-26 Thread Mostaf Faridi
I had leased line Before and had NAT server with openBSD and before l
FreeBSD NAT before
On Nov 27, 2011 2:24 AM, "rancor"  wrote:

> What do you know?
> Den 26 nov 2011 23:44 skrev "Gholam Mostafa Faridi" <
> mostafafar...@gmail.com>:
>
>> we had Leased line before and we had 27 static IPs before , but our ISP
>> do not support is very well , and we change our ISP and we buy ADSL
>> connection with 10 static IPs , my NAT Server is OpenBSD 5 , before we
>> change our connection type from Leased line to ADSL , we have cisco 800
>> router and Leased line connect to cisco 800 and after that we connect it to
>> our NAT server , every thing was good and it work like charm , but after
>> change connection type , ISP give us Zyxcel ADSL modem with 10 startic IP ,
>> and our IPS do not say what we must do with this ADSL modem and these IPs.
>> we do not know , which mode we must use in ADSL modem , PPoE or bridge ?
>> we do not know use PPoE or Bridge mode with ADSL modem and our ISP do not
>> give us enough information , if I want make NAT server with PF with mode I
>> must set in ADSL modem ? PPoE or bridge ?
>> we do not know how we must config our NAT server ,
>> we do not know we need ppp or no ?
>> we do not konw how we must config PF .
>> we have to use 10 static IPs and we can not use one static IP , because
>> of our policy .
>> which options , I must add to my PF.conf



Re: one ADSL connection with 10 static IPs and PF

2011-11-26 Thread rancor
What do you know?
Den 26 nov 2011 23:44 skrev "Gholam Mostafa Faridi" :

> we had Leased line before and we had 27 static IPs before , but our ISP do
> not support is very well , and we change our ISP and we buy ADSL connection
> with 10 static IPs , my NAT Server is OpenBSD 5 , before we change our
> connection type from Leased line to ADSL , we have cisco 800 router and
> Leased line connect to cisco 800 and after that we connect it to our NAT
> server , every thing was good and it work like charm , but after change
> connection type , ISP give us Zyxcel ADSL modem with 10 startic IP , and
> our IPS do not say what we must do with this ADSL modem and these IPs.
> we do not know , which mode we must use in ADSL modem , PPoE or bridge ?
> we do not know use PPoE or Bridge mode with ADSL modem and our ISP do not
> give us enough information , if I want make NAT server with PF with mode I
> must set in ADSL modem ? PPoE or bridge ?
> we do not know how we must config our NAT server ,
> we do not know we need ppp or no ?
> we do not konw how we must config PF .
> we have to use 10 static IPs and we can not use one static IP , because of
> our policy .
> which options , I must add to my PF.conf



one ADSL connection with 10 static IPs and PF

2011-11-26 Thread Gholam Mostafa Faridi
we had Leased line before and we had 27 static IPs before , but our ISP 
do not support is very well , and we change our ISP and we buy ADSL 
connection with 10 static IPs , my NAT Server is OpenBSD 5 , before we 
change our connection type from Leased line to ADSL , we have cisco 800 
router and Leased line connect to cisco 800 and after that we connect it 
to our NAT server , every thing was good and it work like charm , but 
after change connection type , ISP give us Zyxcel ADSL modem with 10 
startic IP , and our IPS do not say what we must do with this ADSL modem 
and these IPs.
we do not know , which mode we must use in ADSL modem , PPoE or bridge ? 
we do not know use PPoE or Bridge mode with ADSL modem and our ISP do 
not give us enough information , if I want make NAT server with PF with 
mode I must set in ADSL modem ? PPoE or bridge ?

we do not know how we must config our NAT server ,
we do not know we need ppp or no ?
we do not konw how we must config PF .
we have to use 10 static IPs and we can not use one static IP , because 
of our policy .

which options , I must add to my PF.conf