Hi all,
I've set my site2site configuration this way:
OpenVPN server (A) is in Switzerland
OpenVPN client (B) is in Italy (via pfsense)
Everything is up and running but I'm facing issues trying to force a PC in Italy to get DNS responses via VPN tunnel by the Openvpn server (A) in Switzerland.
Directives I've tried to set so far:
openvpn (A)
push "dhcp-option DNS router_address_site_A --> push "dhcp-option DNS 192.168.1.1
openvpn (B)
pull-filter ignore "dhcp-option DNS"
i had no luck. Can anybody help me?
thanks
Luca
DNS across site2site tunnel
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Dec 06, 2023 9:08 pm
Re: DNS across site2site tunnel
Client's option "pull-filter ignore "dhcp-option DNS" tells client to ignore servers dns push, so what dns server is client using?
Check if resolv is updated if you are on linux or tun device dns setting if you are on windows.
Check if resolv is updated if you are on linux or tun device dns setting if you are on windows.