Can'n not access to the Internet
-
Hi Hoba, sorry because my network cable was unplug, now subnets can access to the Internet.
I want ask you some questions?
1./ With my system, Can I perform traffic shapper for Subnet?
2./ If I setup the Balancer, to Subnets can access to the Internet, can I perform Advanced NAT and Rules for Subnet transfer over Balancer? and Can I perform traffic shapper on it.Thanks! JN
You only can shape between 2 interfaces. Before you added your 2nd WAN this would have been possible but with 3 interfaces it becomes a bit harder as the shaperwizard won't help you here and you have to create custom rules. More than 3 Interface shaping is really tricky and we don't support this atm.
I used this rules for WAN 1 and WAN 2:
Proto Source Port Destination Port Gateway Description
-
-
-
-
-
- WAN - Any
Proto Source Port Destination Port Gateway Description
- WAN - Any
-
-
-
-
-
-
-
-
-
- WAN2 - Any
-
-
-
-
These rules are at LAN I guess, however you didn't set the gateway to use the balancer (it's still default). Change the gateway in the rule to use the balancer.
-
-
Yes, I changed gateway for the rules as follow:
At LAN:
Proto Source Port Destination Port Gateway Description-
-
-
-
- Balancer Any –> Any
-
-
-
At WAN1:
Proto Source Port Destination Port Gateway Description-
-
-
-
- 192.168.1.1 WAN - Any
-
-
-
At WAN 2:
Proto Source Port Destination Port Gateway Description-
-
-
-
- 192.168.2.1 WAn 2 -> Any
-
-
-
From subnets I can tracert to Internet over Balancer, however has one problem when I unplug a WAN line ==> system runing is OK, but I restarting Pfsense the system down, cannot access to the Internet???? after that I plug the WAN line to Pfsense the System running is OK, I don't why?
I know the shape can not perform with 3 Interface, but can I perform with balancer interface?
-
-
You have to use one DNS from each of your wans and add a static route through the appropriate WAN to this dns server. Otherwise you'll lose dns resolution if you unplug the first wan. This is covered somewhere at the forum already. If you need more details search for it ;)
-
Oh, so I must config static route for any to DNS Server?
ex: I have DNS server is 200.200.200.200 ==> config is:
static routes to 200.200.200.200/32 with gateway 10.10.10.2is it right?
-
so that is one dns server for 1 gatway
where is the route to the other dns server on the gateway ? -
so, how many DNS servers will be static route to that servers? right?
-
Oh, so I must config static route for any to DNS Server?
ex: I have DNS server is 200.200.200.200 ==> config is:
static routes to 200.200.200.200/32 with gateway 10.10.10.2is it right?
Example:
DNS1 sits at WAN1
DNS2 sits at OPTWANYou don't need a Route to DNS1 as this is handled by the default route
But you need a static route on Interface OPTWAN to DNS2/32 through upstream gateway on OPTWAN.
-
Thanks Hoba
-
Hi Hoba, I want ask you:
Example: I have 3 lines for WAN
WAN 1: 192.168.1.10/24 GW: 192.168.1.1
WAN 2: 192.168.2.10/24 GW: 192.168.2.1
WAN 3: 192.168.3.10/24 GW: 192.168.3.1and subnets:
10.10.10.0/24
10.10.11.0/24
….
10.10.19.0/24Can I create 3 Balancer as follow?
Balancer 1: WAN 1 and WAN 2
Balancer 2: WAN 2 and WAN 3and I want setup 10.10.10.0/24 -> 10.10.15.0/24 traffic to balancer 1 and other subnets to Balancer 2, can I perform this task?
thanks, JN
-
Sure, just set up the two pools and use each one as gateway in the firewallrule at the desired interface.
-
so, for each subnet I just map it's gateway to balancer I want it traffic over?
thanks hoba
-
One again I want ask you, because in system advanced is enable "static route filter", I saw this warning "This option only applies if you have defined one or more static routes. If it is enabled, traffic that enters and leaves through the same interface will not be checked by the firewall. This may be desirable in some situations where multiple subnets are connected to the same interface",
I want ask, Can I make traffic shapping for subnets?
-
Because when using balancer with many WANs, traffic shapping can not perform, so I have this diagram
subnets ==> router (L3) ==>pfsense (shapping) ==> pfsense (Load Balance) ==> Multiwan
ex: at pfsense (Load Balance) I make Balancer 1, Balancer 2
subnets are 10.10.10.0/24, …..10.10.19.0/24.Can I make 10.10.10.0/24, ... 10.10.14.0/24 pass over Balancer 1 and other subnets pass over Balancer 2?
If can, pls help me howto make?
Thanks
-
Because when using balancer with many WANs, traffic shapping can not perform, so I have this diagram
subnets ==> router (L3) ==>pfsense (shapping) ==> pfsense (Load Balance) ==> Multiwan
ex: at pfsense (Load Balance) I make Balancer 1, Balancer 2
subnets are 10.10.10.0/24, …..10.10.19.0/24.Can I make 10.10.10.0/24, ... 10.10.14.0/24 pass over Balancer 1 and other subnets pass over Balancer 2?
If can, pls help me howto make?
Thanks
Please see http://forum.pfsense.org/index.php/topic,1656.0.html why that configuration (one shaper between lan and wan balancer) won't work like expected.
-
Thanks Hoba, I will try to test.