Brax84 0 Posted ... (edited) Hi, i have this setup My ISP----> Modem (192.168.10.1)---> Raspberry pi4 (192.168.10.3) with PiVpn and Adguardhome The raspberry connects to airvpn and there is openvpn server to route everything under vpn all my devices have a client Openvpn for connect to raspberry and on adguardhome 'I've setup the airvpn dns 10.4.0.1 and 10.5.0.1 on all client *.ovpn dns server is raspberry (192.168.10.3) for blocks ads etc.. On my network everything works explore network and surfing Out home my iPhone with client Air DDNS everythings work if my ISP set to me public ip, but if my ISP set NAT ip can explore network can connect with webssh app to raspberry BUT can't surfing ...there is a dns problem If I connect with ssh to server airvpn from raspberry everything works even under nat ip , but the performance is clearly lower How to solve? Thanks P.s Sorry for my bad English Edited ... by bracio84 Quote Share this post Link to post
OpenSourcerer 1441 Posted ... Are you using vanilla OpenVPN or this PiVPN to connect to AirVPN? It's not 100% clear. Try adding this to your clients' .ovpn: redirect-gateway bypass-dns . Quote Hide OpenSourcerer's signature Hide all signatures NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT. LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too! Want to contact me directly? All relevant methods are on my About me page. Share this post Link to post
Brax84 0 Posted ... Hi,@OpenSourcerer Connect use vanilla Openvpn , I've my ***.conf in /etc/openvpn folder for automatic start at boot .. PiVPN is only a script method for install and create/manage client but is Openvpn vanilla I've test on client redirect-gateway bypass-dns but same problem I've test dhcp-option DNS 10.4.0.1 on client but same problem if on raspberry connect airvpn over ssl no problem work very well Quote Share this post Link to post
Wolke68 5 Posted ... I would set AirVPN DNS for external dns local DNS for local Network Quote Share this post Link to post