DDWrt Openvpn client connected to standard R7000.No internet

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
garpinc
DD-WRT Novice


Joined: 03 Jun 2013
Posts: 8

PostPosted: Mon Jan 03, 2022 1:52    Post subject: DDWrt Openvpn client connected to standard R7000.No internet Reply with quote
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

--------------------
cat /tmp/dnsmasq.conf
gives:
interface=br0
resolv-file=/tmp/resolv.dnsmasq
domain=lan
dhcp-leasefile=/tmp/dnsmasq.leases
dhcp-lease-max=50
dhcp-option=br0,3,192.168.1.69
port=0
dhcp-option=6,192.168.86.1
dhcp-range=br0,192.168.1.100,192.168.1.149,255.255.255.0,1440m
bogus-priv
conf-file=/etc/rfc6761.conf
clear-on-reload
stop-dns-rebind
dhcp-option=252,"
"
cache-size=1500

cat /tmp/resolv.dnsmasq
gives:
nameserver 192.168.1.1

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
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum