On 20/05/2021 19:27, Anca, Tibor wrote:
Hi, Am Donnerstag, dem 20.05.2021 um 19:14 +0800 schrieb Ed Greshko:
How are you specifying the hostname you want to reach on the remote side?
If you are just using "Aname" then when the request is sent to 192.168.3.33 it will become a request for an A (or AAAA) record for "Aname.vpn.domain.de"
I mus admit, I don't really get it...
If you the actual FQDN is different than that you'd need to spell it out or add the additional "Search Domain" under the IPv4 Tab in the openconnect configuration of NM.
You can always use the "host" command to test/try different combination and direct the request only to that one DNS server.
host Aname 192.168.3.33 for example
I added a few days ago in /etc/hosts a line:
ip.add.re.ss host.name.de
By doing this Firefox finds the target website, even if I only use the url. Without this entry I must specify the ip of the website. The difference is: anyconnect populates the nameservers, openconnect doesn't.
Does
host host.name.de 192.168.3.33
Return the IP address you expect?