A
A
Anton Nagaets2021-09-25 10:06:24
firewall
Anton Nagaets, 2021-09-25 10:06:24

I'm stupid. How to register a static route Vlana Vyos?

Immediately I apologize for the stupid question born on Saturday morning.
Given:

  • Network configuration with two Firewalls on Vyos
  • Vyos-Wan - server for working with external lines
  • Vyos-Lan is a server for working with internal routing.
  • There are two Internet channels ISP1 and ISP2
  • There are a lot of vlans. As an example, let's take 200 clients of which have direct access to the Internet bypassing the proxy.
  • On Vyos-WAN, the 10.20.200.1 interface has been raised, which is the gateway for this vlan.

There are rules
Internet access
protocols {
     static {
         route 0.0.0.0/0 {
             next-hop ISP1-IP {
             }
         }

Routing of internal vlans wraps all traffic on Vyos-Lan

protocols {
     static {
         route 10.20.0.0/16 {
             next-hop Vyos-Lan-IP {
             }
         }


And this is where I got stuck.
How can I pass all traffic from 10.20.200.0/24 or from the network card that is the gateway of this vlan through ISP2-IP ?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question