Hi,

Sorry for the dumb question but I'm suffering from config-writer's block !

OpenBSD6 if it makes any difference to the answers.....

Let's say I've got the following in ipsec.conf on my local gateway :

"ike esp from 198.51.100.0/24 to any"

Given that "any" is a catch-all, how do I, for example specify to
route "203.0.113.0/24" via the ipsec gateway ?

e.g. something like the below (where 192.0.2.1 is the remote gateway)

doas route add -inet 203.0.113.0/24 192.0.2.1
add net 203.0.113.0/24: gateway 192.0.2.1: Network is unreachable

Bob

Reply via email to