Re: [pfSense] Limiters on LAN, WAN

2016-05-13 Thread Andrew Ruscica
I've accomplished this with VLANs- the limiter is placed on the VLAN
without a specific IP and so all hosts at that VLAN share the same
'pool' limit.  I think this would also be more appealing to you
clients in terms of segregating their traffic.

> On May 12, 2016, at 4:13 PM, WebDawg  wrote:
>
> I think you would have a solution with placing an overall limiter on
> the the wan side with the dest as the public ip.  I do not do 1:1 nat
> but this would be my first guess.
>
> Since you use NAT and private ips that could be handled by LAN rules I
> would think.
>
>> On Thu, May 12, 2016 at 2:46 PM, Steve Yates  wrote:
>> No we're actually using NAT and private IPs inside the building.  We use 1:1 
>> NAT if a tenant needs a public IP.
>>
>> --
>>
>> Steve Yates
>> ITS, Inc.
>>
>> -Original Message-
>> From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of WebDawg
>> Sent: Thursday, May 12, 2016 2:38 PM
>> To: pfSense Support and Discussion Mailing List 
>> Subject: Re: [pfSense] Limiters on LAN, WAN
>>
>>> On Thu, May 12, 2016 at 1:42 PM, Steve Yates  wrote:
>>>To explain my need it's for limiting traffic for several tenants of 
>>> an office building, so each gets up to "n" amount of bandwidth.  Each has a 
>>> static IP and their own router.
>>>
>>>Maybe I was just overthinking it.  Having a limiter on the WAN side 
>>> would therefore limit the connection if a tenant was, let's say, hosting a 
>>> web server and a remote user uploaded a file into the building.
>>>
>>> --
>>>
>>> Steve Yates
>>> ITS, Inc.
>>
>> I understand what you are talking about.  See I do not let any traffic in...
>>
>> Are you running the firewall transparent then?
>> ___
>> pfSense mailing list
>> https://lists.pfsense.org/mailman/listinfo/list
>> Support the project with Gold! https://pfsense.org/gold
>> ___
>> pfSense mailing list
>> https://lists.pfsense.org/mailman/listinfo/list
>> Support the project with Gold! https://pfsense.org/gold
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] Limiters on LAN, WAN

2016-05-12 Thread WebDawg
I think you would have a solution with placing an overall limiter on
the the wan side with the dest as the public ip.  I do not do 1:1 nat
but this would be my first guess.

Since you use NAT and private ips that could be handled by LAN rules I
would think.

On Thu, May 12, 2016 at 2:46 PM, Steve Yates  wrote:
> No we're actually using NAT and private IPs inside the building.  We use 1:1 
> NAT if a tenant needs a public IP.
>
> --
>
> Steve Yates
> ITS, Inc.
>
> -Original Message-
> From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of WebDawg
> Sent: Thursday, May 12, 2016 2:38 PM
> To: pfSense Support and Discussion Mailing List 
> Subject: Re: [pfSense] Limiters on LAN, WAN
>
> On Thu, May 12, 2016 at 1:42 PM, Steve Yates  wrote:
>> To explain my need it's for limiting traffic for several tenants of 
>> an office building, so each gets up to "n" amount of bandwidth.  Each has a 
>> static IP and their own router.
>>
>> Maybe I was just overthinking it.  Having a limiter on the WAN side 
>> would therefore limit the connection if a tenant was, let's say, hosting a 
>> web server and a remote user uploaded a file into the building.
>>
>> --
>>
>> Steve Yates
>> ITS, Inc.
>>
>
> I understand what you are talking about.  See I do not let any traffic in...
>
> Are you running the firewall transparent then?
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] Limiters on LAN, WAN

2016-05-12 Thread Steve Yates
No we're actually using NAT and private IPs inside the building.  We use 1:1 
NAT if a tenant needs a public IP.

--

Steve Yates
ITS, Inc.

-Original Message-
From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of WebDawg
Sent: Thursday, May 12, 2016 2:38 PM
To: pfSense Support and Discussion Mailing List 
Subject: Re: [pfSense] Limiters on LAN, WAN

On Thu, May 12, 2016 at 1:42 PM, Steve Yates  wrote:
> To explain my need it's for limiting traffic for several tenants of 
> an office building, so each gets up to "n" amount of bandwidth.  Each has a 
> static IP and their own router.
>
> Maybe I was just overthinking it.  Having a limiter on the WAN side 
> would therefore limit the connection if a tenant was, let's say, hosting a 
> web server and a remote user uploaded a file into the building.
>
> --
>
> Steve Yates
> ITS, Inc.
>

I understand what you are talking about.  See I do not let any traffic in...

Are you running the firewall transparent then?
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] Limiters on LAN, WAN

2016-05-12 Thread WebDawg
On Thu, May 12, 2016 at 1:42 PM, Steve Yates  wrote:
> To explain my need it's for limiting traffic for several tenants of 
> an office building, so each gets up to "n" amount of bandwidth.  Each has a 
> static IP and their own router.
>
> Maybe I was just overthinking it.  Having a limiter on the WAN side 
> would therefore limit the connection if a tenant was, let's say, hosting a 
> web server and a remote user uploaded a file into the building.
>
> --
>
> Steve Yates
> ITS, Inc.
>

I understand what you are talking about.  See I do not let any traffic in...

Are you running the firewall transparent then?
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] Limiters on LAN, WAN

2016-05-12 Thread Steve Yates
To explain my need it's for limiting traffic for several tenants of an 
office building, so each gets up to "n" amount of bandwidth.  Each has a static 
IP and their own router.

Maybe I was just overthinking it.  Having a limiter on the WAN side 
would therefore limit the connection if a tenant was, let's say, hosting a web 
server and a remote user uploaded a file into the building.

--

Steve Yates
ITS, Inc.

-Original Message-
From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of WebDawg
Sent: Thursday, May 12, 2016 1:17 PM
To: pfSense Support and Discussion Mailing List 
Subject: Re: [pfSense] Limiters on LAN, WAN

On Thu, May 12, 2016 at 1:11 PM, Steve Yates  wrote:
> I have the limiters configured as you show.  But are you saying you would 
> normally set your limiter on rules on both the LAN and WAN?  Basically, I 
> should set it on LAN for now and when the bug is fixed set it on WAN also?
>
> --
>
> Steve Yates
> ITS, Inc.

No, I only set a limiter on LAN to match the host that I want to limit.  I did 
not know if you were talking about matching outgoing traffic from all hosts.  
It would be a bit different I think.
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] Limiters on LAN, WAN

2016-05-12 Thread WebDawg
On Thu, May 12, 2016 at 1:11 PM, Steve Yates  wrote:
> I have the limiters configured as you show.  But are you saying you would 
> normally set your limiter on rules on both the LAN and WAN?  Basically, I 
> should set it on LAN for now and when the bug is fixed set it on WAN also?
>
> --
>
> Steve Yates
> ITS, Inc.

No, I only set a limiter on LAN to match the host that I want to
limit.  I did not know if you were talking about matching outgoing
traffic from all hosts.  It would be a bit different I think.
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] Limiters on LAN, WAN

2016-05-12 Thread Steve Yates
I have the limiters configured as you show.  But are you saying you would 
normally set your limiter on rules on both the LAN and WAN?  Basically, I 
should set it on LAN for now and when the bug is fixed set it on WAN also?

--

Steve Yates
ITS, Inc.

-Original Message-
From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of WebDawg
Sent: Thursday, May 12, 2016 12:47 PM
To: pfSense Support and Discussion Mailing List 
Subject: Re: [pfSense] Limiters on LAN, WAN

On Thu, May 12, 2016 at 11:52 AM, Steve Yates  wrote:
> A question on where to set up a limiter...if it is set on a LAN rule 
> and has in/out limiters set, will the limiter only apply to outbound traffic 
> matching the rule (from __ to any)?  Or would that match, say, the response 
> to an outbound HTTP request?  Up until now I've only had occasion to use a 
> limiter on a LAN upload.
>
> I did see the known issue that limiters don't currently work on 
> NATted interfaces so don't have them set up on the WAN side.
>
> Thanks,
>
> Steve Yates
> ITS, Inc.
>
> ___


Normal firewall rules are only ingress, they can check source and dest from a 
packing coming in to the interface.

I limit both upload and download of clients.

Limiters:

UPLOAD:
Some Limit Set
Mask:  Source Address
Bits:  32 and 128

DOWNLOAD:
Some Limit Set
Mask:  Destination Address
Bits:  32 and 128

pfsense firewall rule:
Pass some source address
Advanced Settings:
In / Out pipe:
UPLOAD FIRST
DOWNLOAD SECOND

It it would take matched traffic from a firewall rule and put it in the 
limiter.  I have not tried using egress rules but with the any directive all 
traffic to and from the system gets limited.
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] Limiters on LAN, WAN

2016-05-12 Thread WebDawg
On Thu, May 12, 2016 at 11:52 AM, Steve Yates  wrote:
> A question on where to set up a limiter...if it is set on a LAN rule 
> and has in/out limiters set, will the limiter only apply to outbound traffic 
> matching the rule (from __ to any)?  Or would that match, say, the response 
> to an outbound HTTP request?  Up until now I've only had occasion to use a 
> limiter on a LAN upload.
>
> I did see the known issue that limiters don't currently work on 
> NATted interfaces so don't have them set up on the WAN side.
>
> Thanks,
>
> Steve Yates
> ITS, Inc.
>
> ___


Normal firewall rules are only ingress, they can check source and dest
from a packing coming in to the interface.

I limit both upload and download of clients.

Limiters:

UPLOAD:
Some Limit Set
Mask:  Source Address
Bits:  32 and 128

DOWNLOAD:
Some Limit Set
Mask:  Destination Address
Bits:  32 and 128

pfsense firewall rule:
Pass some source address
Advanced Settings:
In / Out pipe:
UPLOAD FIRST
DOWNLOAD SECOND

It it would take matched traffic from a firewall rule and put it in
the limiter.  I have not tried using egress rules but with the any
directive all traffic to and from the system gets limited.
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


[pfSense] Limiters on LAN, WAN

2016-05-12 Thread Steve Yates
A question on where to set up a limiter...if it is set on a LAN rule 
and has in/out limiters set, will the limiter only apply to outbound traffic 
matching the rule (from __ to any)?  Or would that match, say, the response to 
an outbound HTTP request?  Up until now I've only had occasion to use a limiter 
on a LAN upload.

I did see the known issue that limiters don't currently work on NATted 
interfaces so don't have them set up on the WAN side.

Thanks,

Steve Yates
ITS, Inc.

___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold