Ips redirect
-
Hi. I'm new to pfsense, I have a question? I have it installed in my company with two internet links. 1 fiber of the tim and a net fiber that is dhcp with loab balance enabled. I need a package to just come out with ip from the tim link, how to?
Thx
-
What sort of package?
You can policy route any traffic you can define using a firewall rule to use a particular gateway.
Traffic from the firewall itself though will use the default system route in most cases.
Steve
-
has that site https://www.timcommerce.com.br/ that with two linked link it does not access from bad key. I did a test I disconnected the link from netvirtua and access.
-
You can add that fqdn as an alias and then create a firewall rule on LAN above the load balancing rule with that as destination.
Add just one specific gateway to that rule and all traffic will always use that WAN.That does depend on that fqdn resolving to a single IP though. If they have a range you will need to include them all in the alias.
Steve
-
I followed his suggestion, but it did not work out. Still not coming in.
I left the configuration like this. it's correct?
-
No.
The source should beLAN net
The destination should be189.40.221.19
or an alias containing it. You might want to also include 200.179.42.41 which timcommerce.com.br resolves to.
In the advanced section you need to set the gateway to be the LINK_FIBRA_TIM gateway.Steve
-
I did it the way you said it, but nothing yet. I noticed that the virtua is as default, you know if you can to leave the tim link as default?
I left these settings, are they correct?
-
You might want to set protocol to
any
of you need more than http(s).That rule must be above your load balancing rule in the LAN rules.
You might need more than just 189.40.221.19 as the destination. timcommerce.com.br resolves to a different IP for example.
Steve
-
Hi. It worked. Thank you for the help