Re: Setting up a virtual server to handle incoming proxied requests

2009-09-28 Thread Patric
Alan DeKok wrote: Patric wrote: I see I see, so I would only add a listen section if I were listening on a different interface or port? Yes. I think I get the proxying now :) proxy_requests = yes just makes the server process the detail-combined log right? No. The

Re: Setting up a virtual server to handle incoming proxied requests

2009-09-27 Thread Alan DeKok
Patric wrote: I see I see, so I would only add a listen section if I were listening on a different interface or port? Yes. I think I get the proxying now :) proxy_requests = yes just makes the server process the detail-combined log right? No. The listen section that references it tells

Setting up a virtual server to handle incoming proxied requests

2009-09-25 Thread Patric
Hi again all :) I have a primary and secondary server, each of which receive accounting requests from multiple NAS servers. Both my servers proxy these requests to each other to stay in sync. I would like to setup a virtual server on my secondary to handle the incoming proxy requests from

Re: Setting up a virtual server to handle incoming proxied requests

2009-09-25 Thread Ivan Kalik
With the above config I have listen sections for auth and acct. Do I understand the documentation correctly if I add this to the above existing config: client primary_server { ipaddr= primary_server_ip secret= shared_secret

Re: Setting up a virtual server to handle incoming proxied requests

2009-09-25 Thread Alan DeKok
Patric wrote: server requests_from_primary { listen { ipaddr = * port = 0 type = acct } Delete that listen section. It conflicts with the global one. The global one will accept packets on the accounting port, IP *, and will look up the client. If the

Re: Setting up a virtual server to handle incoming proxied requests

2009-09-25 Thread Patric
Ivan Kalik wrote: With the above config I have listen sections for auth and acct. Do I understand the documentation correctly if I add this to the above existing config: client primary_server { ipaddr= primary_server_ip secret=

Re: Setting up a virtual server to handle incoming proxied requests

2009-09-25 Thread Patric
Alan DeKok wrote: Patric wrote: server requests_from_primary { listen { ipaddr = * port = 0 type = acct } Delete that listen section. It conflicts with the global one. The global one will accept packets on the accounting port, IP *, and will look

Re: Setting up a virtual server to handle incoming proxied requests

2009-09-25 Thread Ivan Kalik
To resolve this should I now remove the primary server from my nas table as I am defining it in the clients.conf ? Yes, pick one. Or is there a way to leave it in the nas table and assign a virtual_server directive to it? Yes. In 2.1.7 schema supports virtual servers but that line is

Re: Setting up a virtual server to handle incoming proxied requests

2009-09-25 Thread Patric
Ivan Kalik wrote: To resolve this should I now remove the primary server from my nas table as I am defining it in the clients.conf ? Yes, pick one. Or is there a way to leave it in the nas table and assign a virtual_server directive to it? Yes. In 2.1.7 schema supports virtual