Hi,
I just setup my vyos instance.
I have 2 WAN connections which provide me with a DHCP address.
WAN1 = eth0
WAN2 = eth0.70
LAN = eth1
I want to route traffic to a specific destination port through WAN2, nothing else. I configured my PBR rule as followed:
route PBR {
interface eth1
rule 10 {
description "WAN2 Test"
protocol icmp
set {
table 10
}
}
}
This was just to test, but this should send all my ICMP requests to routing table 10, right?
The table looks like this, very basic, only outbound interface defined:
route 0.0.0.0/0 {
interface eth0.70 {
}
}
My source NAT rules look like this:
rule 100 {
outbound-interface {
name eth0
}
source {
group {
network-group NET-LAN-v4
}
}
translation {
address masquerade
}
}
rule 110 {
outbound-interface {
name eth0.70
}
source {
group {
network-group NET-LAN-v4
}
}
translation {
address masquerade
}
}
now when I do a ping from my client, I just get “Destination Host Unreachable”, but all my pings directly from vyos go via the WAN2 interface and get a response.
What am I missing, that my client doesnt work, via the WAN2?