Skip to content

Instantly share code, notes, and snippets.

@kpucynski
Created February 22, 2023 00:00
Show Gist options
  • Save kpucynski/2cf8f0572f6e1386f6d9302e39ac6faf to your computer and use it in GitHub Desktop.
Save kpucynski/2cf8f0572f6e1386f6d9302e39ac6faf to your computer and use it in GitHub Desktop.
USG-3P with dual-wan Startlink & UMTS

USG-3P with dual-wan Startlink & UMTS

Static routes for Startlink Dishy management and UMTS modem admin page. WAN1 (eth0) -> Startlink WAN2 (eth2) -> UMTS

configure
set protocols static table 6 interface-route 192.168.100.1/32 next-hop-interface eth0
set protocols static table 7 interface-route 34.120.255.244/32 next-hop-interface eth0
set protocols static table 8 interface-route 192.168.5.1/32 next-hop-interface eth2

set firewall modify LOAD_BALANCE rule 2600 action modify
set firewall modify LOAD_BALANCE rule 2600 modify table 6
set firewall modify LOAD_BALANCE rule 2600 destination address 192.168.100.1/32
set firewall modify LOAD_BALANCE rule 2600 protocol all

set firewall modify LOAD_BALANCE rule 2601 action modify
set firewall modify LOAD_BALANCE rule 2601 modify table 7
set firewall modify LOAD_BALANCE rule 2601 destination address 34.120.255.244/32
set firewall modify LOAD_BALANCE rule 2601 protocol all

set firewall modify LOAD_BALANCE rule 2602 action modify
set firewall modify LOAD_BALANCE rule 2602 modify table 8
set firewall modify LOAD_BALANCE rule 2602 destination address 192.168.5.1/32
set firewall modify LOAD_BALANCE rule 2602 protocol all

commit
save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment