Posted: Fri Mar 15, 2019 17:13 Post subject: Openvpn server on second router
Hello together,
I have two router with dd-wrt.
First router runs openvpn in tap mode. Now I like to have on my second router openvpn in tun mode.
I can connect to both openvpn server
but I can not surf in tun mode.
Can someone tell which config I need
In firewall that I can surf?
Port forward I have on router two.
Thanks...
My second router works as a repeater.
The normal port forward don't run. I can connect from outside but I can not surf from outside. I will see what happened...
I installed on my first router (r7000 with kong build 37900) a dhcp server.
My second router (tp-link 1043 with 33555) is nothing installed.
My second router wan is disabled.
Static IP, gateway and dns IP from first router.
And DHCP as DHCP Forwarder. And IP from first router.
Joined: 18 Mar 2014 Posts: 12915 Location: Netherlands
Posted: Mon Mar 18, 2019 13:04 Post subject:
So it looks like you are setting up an OVPN server on a Wirelss Acces Point.
Unfortunately almost everything you are doing is redundant, because DDWRT is doing that for you, but the one and only firewall rule you really need is missing
In the guide (see my signature, at the bottom or look at: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795 ), head over to the Advanced section and look at the section titled: OpenVPN server on a WAP (WAN disabled). Maybe it can help you.
I changed my whole configuration in second router now.
Basic Setup:
WAN Connection Type disabled
Router Name repeater
DHCP-Server disabled
Local IP Adresse 192.168.6.40
Subnet Mask 255.255.255.0
Gateway and Local DNS from first router 192.168.6.1
Joined: 18 Mar 2014 Posts: 12915 Location: Netherlands
Posted: Tue Mar 19, 2019 15:36 Post subject:
At first glance it looks alright.
First start with a reboot
Can you ping 8.8.8.8 from your connected phone (I use Fing for troubleshooting on my phone)
If you can ping it can be a DNS problem
Can you ping clients on your network?
If you can ping clients on your network but have no internet access show the following output of your WAP (telnet to your WAP):
iptables -vnL -t nat
Posted: Fri May 17, 2019 4:29 Post subject: openvpn no internet
I followed your guide and was able to get connected to my openvpn server.But couldn't surf the internet. The browser's message is "server not found".
LZO Compression is disabled and I'm sure that's not the problem.
I'm completely new to vpn. I'm confused as to what the firewall code should be after reading your guide. Maybe you can post it here.
Router Model Netgear WNDR4300
Firmware Version DD-WRT v3.0-r39715 std
This is a second router behind another router which I use to connect to the broadband. I port forwarded 1194 udp from the main router to the dd-wrt router (secondary router), I wonder if that's enough.
Anyway, thank you very much. I think the guide is the best thing on the internet concerning setting up openvpn on dd-wrt routers. I was excited to get connected. Now I want the internet to work. Can you help please?
Joined: 18 Mar 2014 Posts: 12915 Location: Netherlands
Posted: Fri May 17, 2019 8:05 Post subject:
As this is another problem would you be so kind to start a new thread?
Describe your problem, show pictures of log file (Status/OVPN page) picture of your OVPN settings page and describe your network setup especially how the second router is configured.
Posted: Sun May 19, 2019 10:24 Post subject: Advanced Networking
In the market you can find different type of router with different bandwidth. You can choose your requirement. Wanos Networks Pty (Ltd) is the best network provider. They also provide the best WAN optimization