Posted: Mon Apr 30, 2018 8:59 Post subject: Access Point with OpenVPN client configuration?
Hello Community,
I've been trying my router version with VPN for a long time to get up and running.
Currently the DDWRT is running with DHCP server. Somehow but always leads to problems with the connection. I think it will sometimes come to an IP conflict. Very often also problems with the name resolution DNS. To improve this, I have thought and hope that this has a solution for me.
Currently, the DDWRT router is connected to the Fritzbox via the LAN port.
My destination is the second router (DDWRT), which acts as an access point. The DHCP / server should be deactivated on this router and the connection should be made via OpenVPN Client. (Each terminal).
He should, so to speak, refer to the ip processing on the Fritzbox.
Optional. All LAN ports without VPN and all WLAN ports with VPN. If that can work?
Fritzbox IP (192.168.178.1)
DDWRT IP (192.168.178.2)
Currently the router is configured with this tutorial. This also works with the VPN.
Because of the problems I would like to use the router as an access point.
Hello I have now found a guide whereby the router is now running as AccessPoint but as I said without a VPN> I need a solution as I get Openvpn to run.
The VPN settings are still set as in the tutorial. This reports under Status Connecten Successful but I think that there is a problem here with the forwarding.
Does anyone have a solution for this? More information on demand.
So I want a two router configuration. Say to the Fritzbox hangs a router with DDwrt. This should be operated as an access point with associated Openvpn. Connection with a LAN cable from the Fritzbox to the second router DDWRT. (DHCP server deactivated) Say all terminals if they are logged in via WLAN should run over the VPN. Optionally however the terminals which are connected by Lan still the '' pure '' Internet get without VPN.
Say the router is configured with the two links above.
I have now tried the router as an access point to configure what has worked. Unfortunately, the Openvpn works as it was once configured (with an integrated DHCP server) and I'm just looking for the solution. The Openvpn works, in the status is (successfully connected) but my Internet connection is not running on the Openvpn IP. Apparently it looks like the router would have an unconfigured or faulty routing. Since I have no routing experience, I am now looking for answers to my problems
The WAP shows connected but all clients are routed through your primary router (the Fritzbox).
An easy way to test is manually setting up the network interface of one of your clients e.g. your windows/apple linux PC or even phone.
The trick is setting the standard gateway not to the Fritzbox but to the WAP so gateway = 192.168.178.2
This will route the traffic from that client via the WAP and hence through the VPN.
If this indeed works you know that everything is set up correctly.
What you now have done manually you can do with the help of DNSMasq on your primary router (if the Fritzbox does support these kind of things?)
But you can als setup an unbridged VAP on your DDWRT router. This unbridged VAP is routed through your WAP by default and thus should be routed through the VPN.
The beauty of a setup like this is that if you use your regular bridged WLAN you will be routed through the Fritzbox and if you connect to your unbridged VAP you will be routed through your WAP and through the VPN
Mind you setting up a VAP on WAP needs some special care