Benutzer-Werkzeuge

Webseiten-Werkzeuge


ubiquity_unify

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

ubiquity_unify [2020/03/13 09:48] (aktuell)
matthias angelegt
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 09:48 von matthias