Try removing the spaces in openvpn-event and see if that gets you going, that is a really weird error though.output send,
AC68U 386.5_2
AC86U 387.Beta1 <- haven't try this yet. chance are the problem before was that Permission denied
You create policies, assign a vpn interface to that policy and then add domains to the policie(s) and it will create the routes for that domain to go over that VPN interface.So I don't understand is this like X3MRouting ? meaning can I bypass certain domains past the VPN to wan with the script.
OK but does it do the reverse meaning can I route netflix to wan?You create policies, assign a vpn interface to that policy and then add domains to the policie(s) and it will create the routes for that domain to go over that VPN interface.
EDIT: This also supports IPv6 if you have IPv6 implemented with your OpenVPN connections like I do.
Negative, are you routing all traffic across VPN and want to make exceptions?OK but does it do the reverse meaning can I route netflix to wan?
NO currently i'm using X3mrouting to bypass the vpn for certain clients using the asnum method. I was just wondering if this is a new alternative. I'm guessing this isn't that.Negative, are you routing all traffic across VPN and want to make exceptions?
NO currently i'm using X3mrouting to bypass the vpn for certain clients using the asnum method. I was just wondering if this is a new alternative. I'm guessing this isn't that.
/jffs/scripts/domain_vpn_routing.sh update
I'm running pihole on a Raspi , when i try to route it through a vpn , it is no longer accessible over lan and the whole network goes down .You still should be able to make an entry in the dnsmasq.conf add on file that will override DNS queries to the specified DNS Server you want per domain.
EDIT: If you have to, you can designate the IP of a DNS Server to go over your VPN using VPN Director or OVPN config and then specify that DNS Server in dnsmasq.conf for that particular domain.
Your whole network goes down? That is strange, from routing the DNS Server through the VPN? Are all of your LAN clients using that DNS Server?I'm running pihole on a Raspi , when i try to route it through a vpn , it is no longer accessible over lan and the whole network goes down .
What am i supposed to do after routing the dns server in my case "pihole" through vpn using VPN director
forgot to mention , im running unbound too on the same Raspi
yes, dns is configured in lan dhcpYour whole network goes down? That is strange, from routing the DNS Server through the VPN? Are all of your LAN clients using that DNS Server?
Can you look and see where and how the route is added? look under ovpnc(1-5) route tables and main table.yes, dns is configured in lan dhcp
No Idea how to do thatCan you look and see where and how the route is added? look under ovpnc(1-5) route tables and main table.
GT-AX11000-6A10 openvpn-routing: Routing from 192.168.1.3 to any through ovpnc3
GT-AX11000-6A10 openvpn: Forcing 192.168.1.3 to use DNS server 103.86.96.100
No Idea how to do that
what i could figure was
Code:GT-AX11000-6A10 openvpn-routing: Routing from 192.168.1.3 to any through ovpnc3 GT-AX11000-6A10 openvpn: Forcing 192.168.1.3 to use DNS server 103.86.96.100
Pihole :192.168.1.3What is the IP of your PiHole Server?
What is the IP of the DNS Server you are trying to reroute?
What is the interface of the VPN you are trying to use?
What is this set to?Pihole :192.168.1.3
IP of the DNS Server :103.86.96.100 (Nord DNS)
interface of the VPN: ovpnc3
nvram get vpn_client3_rgw
2What is this set to?
Code:nvram get vpn_client3_rgw
ip rule add from 192.168.1.3 to 103.86.96.100 table ovpnc3
if [ -z "$(ip rule list from 192.168.1.3 to 103.86.96.100 table ovpnc3)" ] >/dev/null;then
ip rule add from 192.168.1.3 to 103.86.96.100 table ovpnc3
fi
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!