Joined: 03 Jun 2013
|Posted: Mon Jan 03, 2022 1:52 Post subject: DDWrt Openvpn client connected to standard R7000.No internet
|I have configured openvpn client on dd-wrt to successfully connect. It shows this via the status tab and using the Admin Command I can see that I can get to my internal stuff on the home network. But wireless clients that connect to this router don't seem to use the vpn tunnel... How can I make that happen?
On my PC (a wireless client) Wireless adapter says:
Wireless LAN adapter Wi-Fi 2:
Connection-specific DNS Suffix . : lan
Link-local IPv6 Address . . . . . : fe80::99c9:8965:845c:9823%6
IPv4 Address. . . . . . . . . . . : 192.168.1.105
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.69
And trouble shooting the network says:
Your computer appears to be correctly configured, but the device or resource (DNS server) is not responding Detected Detected
But I'm not network capable enough to know if this is write or wrong or what to do about it.
i also tried following which I saw somewhere but it was no help:
# Enable IP forwarding.
echo 1 > /proc/sys/net/ipv4/ip_forward
# Allow postrouting to tun0. You may want to use "-s" here to strictly limit forwarding to IPs on your LAN.
iptables -t nat -A POSTROUTING -o tun1 -j MASQUERADE
# Enable forwarding from the LAN to the VPN (and back via related and established connections).
# Again, you may want to use "-s".
iptables -A FORWARD -i br0 -o tun1 -j ACCEPT
iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT