Site-to-site openvpn issue


#1

I set up site-to-site connection between 2 vyos servers and i can connect to second vyos router through first, but i can’t get access from one of local networks to another.
I set up NAT rule at both sides for openvpn interface, but it didn’t helped…

rule 11 {
         outbound-interface vtun0
         protocol all
         source {
             address 0.0.0.0/0
         }
         translation {
             address masquerade
         }
     }

Please suggest something, what could help.

Local networks at both sides are same (172.16.0.0/16), could it be the problem?


#2

Please share with us the topology and configuration of 2 Vyos boxes. With these information we may help.