DNS across site2site tunnel
Posted: Mon Nov 27, 2023 9:20 pm
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
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