I have been banging my head on the wall for days now trying to figure out how to route some of my LAN hosts out a privacy VPN using wireguard. I have read a lot of the docs over and over and I have to be missing something. Here is my config. If anyone sees any issues, please let me know. I feel like I am at a loss.
show protocols static table
table 100 {
route 0.0.0.0/0 {
interface wg1 {
}
}
}
show policy route PrivateVPN
interface eth1
rule 100 {
set {
table 100
}
source {
address 192.168.99.110
}
}
show nat source rule 100
description "LAN out WG1"
outbound-interface {
name wg1
}
source {
address 192.168.99.110
group {
}
}
translation {
address masquerade
}
I notice this when I I tried to see if it was apply the policy at all.
ip route get 1.1.1.1 from 192.168.99.110 iif eth1
1.1.1.1 from 192.168.99.110 via 100.64.64.1 dev eth0
cache iif eth1