Issue #2056
Leftsubnet = domaint names
Description
Hi.
Am I able to set up name based access in my vpn tunnel?
I need to set some host names in Leftsubnet.
History
#1 Updated by Tobias Brunner almost 6 years ago
- Status changed from New to Feedback
Am I able to set up name based access in my vpn tunnel?
No, you have to resolve them and configure the IPs in leftsubnet (e.g. with a script that dynamically creates the config file and maybe updates it occasionally).
#2 Updated by Vitaliy Girenko almost 6 years ago
Tobias Brunner wrote:
Am I able to set up name based access in my vpn tunnel?
No, you have to resolve them and configure the IPs in leftsubnet (e.g. with a script that dynamically creates the config file and maybe updates it occasionally).
Can you give some examples?
#3 Updated by Tobias Brunner almost 6 years ago
Am I able to set up name based access in my vpn tunnel?
No, you have to resolve them and configure the IPs in leftsubnet (e.g. with a script that dynamically creates the config file and maybe updates it occasionally).
Can you give some examples?
For instance, if you have a file /etc/ipsec.conf.in
that contains leftsubnet=a.example.com,b.example.com your (shell, Python, ...) script could parse that, resolve the hostnames and then write /etc/ipsec.conf
with leftsubnet=<IP of a.example.com>/32,<IP of b.example.com>/32. Or you just generate the whole config file from scratch or with data from some other source.
#4 Updated by Noel Kuntze about 5 years ago
- Status changed from Feedback to Closed
- Resolution set to No change required