I've been trying to figure this out, but I can't. I'm not very good with linux unfortunately.
I have a VPN I'm connected to with OpenVPN. What I'd like to do is to route just one/some Ip(s) through the VPN, and let the rest of the IPs go through the normal internet connection. I think this is supposed to be done with iproute2, but it's too complicated for me without help.
If it's any easier, just letting all traffic on the wireless interface go through the normal internet connection and non-wireless traffic go through the VPN would also work.
I'm also wondering how to use specific DNS for the clients on the LAN. When connected to the VPN, DNS does not work if not specified in the clients. Isn't it possible to tell the router do use a specific DNS for all the clients instead of specifying DNS in all clients ever connecting to the router on the LAN side wanting to use the internet connection?
Anyone know how to solve any of these things?
With the VPN, are you remembering to push the DNS servers to the clients?
How is that done, more precisely? Is it possible to do from within the dd-wrt GUI?
Almost certainly, but as I don't have a VPN build of DD-WRT I can't say. I assume you've asked on DD-WRT's own forums?
I thought that the router could "push" the DNS to clients regardless of having a VPN or not. Incorrect? I thought that the fields for "Static DNS" in the Basic Setup tab was precisely this, but I haven't got it to work, so I guess that's not the function of these fields.
For directly connected devices DHCP configuration takes care of DNS server settings, assuming the client allows it. That doesn't work across a (routed) OpenVPN connection however so you have to push the DNS servers using the OpenVPN configuration.