我有来自digitalocean的ubuntu 18.04,带有VPN strongswan Ikev2设置。 我关注这篇文章: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-ikev2-vpn-server-with-strongswan-on-ubuntu-18-04-2 VPN运作良好,但所有流量都通过VPN,我只需要DNS流量,而不是所有流量(80/443等) 我需要在before.rules进行更改以进行更改吗?
type Foo struct {
Name string `db:"name"`
Types pq.StringArray `db:"types"` //this is what changed.
Role string `db:"role"`
}