Benutzer-Werkzeuge

Webseiten-Werkzeuge


ubiquity_unify
no way to compare when less than two revisions

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.


ubiquity_unify [2020/03/13 08:48] (aktuell) – angelegt matthias
Zeile 1: Zeile 1:
 +====== Ubiquity Unify ======
 +Routing Traffic Out of WAN2 Based on the Source Network
 +<code>
 +configure
 +set protocols static table 5 route 0.0.0.0/0 next-hop 200.64.2.1
 +set firewall modify LOAD_BALANCE rule 2500 action modify
 +set firewall modify LOAD_BALANCE rule 2500 modify table 5
 +set firewall modify LOAD_BALANCE rule 2500 source address 192.168.1.0/24
 +set firewall modify LOAD_BALANCE rule 2500 protocol all
 +commit;exit
 +</code>
 +Routing Traffic Out of the VPN Interface (vti) Based on the Source
 +<code>
 +configure
 +set firewall modify VPN_Gateway rule 2502 action modify
 +set firewall modify VPN_Gateway rule 2502 modify table 5
 +set firewall modify VPN_Gateway rule 2502 source address 192.168.2.0/24
 +set firewall modify VPN_Gateway rule 2502 protocol all
 +set protocols static table 5 interface-route 0.0.0.0/0 next-hop-interface vti0
 +set interfaces ethernet eth1 vif 2 firewall in modify VPN_Gateway
 +commit;exit
 +</code>
 +Routing Traffic Out of WAN2 Primarily, and WAN1 on Failover Based on the Source
 +<code>
 +configure
 +set load-balance group wan2_failover interface eth3
 +set load-balance group wan2_failover interface eth2 failover-only
 +set firewall modify LOAD_BALANCE rule 2000 action modify
 +set firewall modify LOAD_BALANCE rule 2000 modify lb-group wan2_failover
 +set firewall modify LOAD_BALANCE rule 2000 source address 192.168.1.0/24
 +commit;exit
 +</code>
 +Excluding Certain Traffic From Load-Balancing
 +<code>
 +configure
 +set firewall modify LOAD_BALANCE rule 2450 action accept
 +set firewall modify LOAD_BALANCE rule 2450 source address 192.168.2.0/24
 +set firewall modify LOAD_BALANCE rule 2450 destination address 192.168.1.0/24
 +</code>
 +[[https://help.ubnt.com/hc/en-us/articles/360005460813-UniFi-USG-Advanced-Policy-Based-Routing-#5|Quelle]]
 +
  
ubiquity_unify.txt · Zuletzt geändert: 2020/03/13 08:48 von matthias