R
R
Rhaps1072015-01-01 13:21:45
openvpn
Rhaps107, 2015-01-01 13:21:45

How to set up vpn on a wifi router with dd-wrt so that client traffic goes through vpn routes?

In work, you need to connect to the office VPN (using openvpn) from various devices. It was decided to put dd-wrt on the home wifi router tl-wr1043nd, because there is vpn functionality.
After installing dd-wrt and setting up an openvpn client on it, if you ssh into the router and request resources that are only accessible from the VPN, then everything works correctly.
However, when clients request these resources, requests hang. judging by mtr, traffic stops on a router.
It seems that some kind of traffic routing is missing when the VPN is connected. Probably need to add a rule to iptables.
When vpn is turned off on the router, traffic reaches the recipients but via the external network.
Tell me what else to configure in the router so that when vpn is enabled on it, requests to vpn resources go through the connection to vpn and reach the target through vpn routes on the router. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Axian Ltd., 2016-01-06
@AxianLTD

If there is a router, packets go from the internal network to the Internet through NAT. A connected VPN is essentially another channel to the outside world - apparently there are not enough NAT-src rules for the VPN interface.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question