Posted: Wed May 05, 2021 11:24 Post subject: Can connect to openvpn server but no internet or lan servers
Hi, I can connect from my android phone using the OpenVPN client to the OpenVPN server running on my Linksys WRT3200ACM using DD-WRT but there is no internet or any of my LAN devices showing.
My main router/modem that connects to the internet has an IP of 192.168.1.254 I have forwarded port 1194 to my Linksys router that has the OpenVPN server on which is 192.168.1.1
Joined: 18 Mar 2014 Posts: 12837 Location: Netherlands
Posted: Wed May 05, 2021 12:59 Post subject:
Maybe not but you should get rid of the firewall rules and probably of all the extra rules, you only need the rule to NAT OpenvPN traffic out if your OpenVPN clients want internet as described in paragraph 8a (and of course disable the "Inbound Firewall on TUN")
You should probably also get rid of the extra's in the Additional Config
For access to clients on the LAN disable "CVE-2019-14899 Mitigation" and if necessary allow VPN traffic in the LAN clients firewall
The picture on page 9 should give you a good overview.
Ok I'm making progress, thank you, I can access my NAS at 192.168.1.50 on my LAN but my Nvidia shield at 192.168.1.81 I cannot. Also still can't access the internet.
Can access the web interface of my linksys router with DD-WRT on at 192.168.1.1 but I can't access my isps router web interface at 192.168.1.254
Do you have in 'Additional Dnsmasq Options'
interface=tun2
assuming your OVPN server is tun2.. you can check that on page ../Routing.asp
show routing table should look so as mine is:
Make its Local IP address 192.168.2.1 or some such that is not same as your main.
EDIT: leave its gateway and DNS all blank (zeros) ....end EDIT
you will need to reboot it so all is good and whatever is connected to it will be good.
You can of course set this unit up as a WAP with WAN assigned to switch and still run an OVPN server on it iffin you want.
I have a couple set that way so all my main stuff is on same subnet. You have to do a bit of research
egc likely has a guide about that also....I ain't looked at his stuff...since I've had all mine running long before he got so active
It's my dinner time so gotta run
good luck
Last edited by mrjcd on Thu May 06, 2021 0:09; edited 1 time in total