Lan Network not accessible to OpenVPN Clients

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
ashima
DD-WRT Novice


Joined: 30 Jan 2017
Posts: 2

PostPosted: Sat Oct 21, 2017 15:12    Post subject: Lan Network not accessible to OpenVPN Clients Reply with quote
Hello everyone,

I am new to ddwrt. I need help to configure openvpn server. My current scenario :

Linksys e900 flashed with dd-wrt.v24-21061_NEWD-2_K2.6_big-nv64k. Certificates have been successfully created for the server as well as the client.

Local network : 172.16.8.1
OpenVPN Network : 172.16.10.1

The configuration at server end is as follows :

Start Type : WAN Up
Config as : Server
Server Mode : Router (tun)
Network : 172.16.10.1
Netmask : 255.255.255.0
Port : 1595
Protocol : udp
TLS Cipher : None
Compression : No
Additional config : push "route 172.16.8.0 255.255.255.0"

Server cert, CA cert , Server Key, DH PEM, TLS auth key has been copied.

The client is able to connect successfully through openvpn. I can even access e900 through openvpn. But none of the LAN devices are accessible.

Surprisingly I can access e900 through web browser but I cannot ping e900 (172.16.8.1). Also If traceroute to 172.16.8.X the packets are sent to wan IP of openvpn server (e900) but after that it shows *.
I am completely clueless where am I going wrong. I searched the forum but couldn't find an appropriate solution.

Any suggestions please.

Regards,
Ashima
Sponsor
tdiguy
DD-WRT User


Joined: 20 Apr 2010
Posts: 203

PostPosted: Sat Oct 21, 2017 16:05    Post subject: Reply with quote
For my openvpn config one thing that i have that i didnt see mentioned in your config is under additional dnsmasque options:
interface=tun2
no-dhcp-interface=tun2

( adjust tun to whatever adapter your openvpn uses weather its tun1 tun2 or tun3 )
ashima
DD-WRT Novice


Joined: 30 Jan 2017
Posts: 2

PostPosted: Mon Oct 23, 2017 6:57    Post subject: Reply with quote
Thank you tdiguy for responding.

In dnsmasque additionl option, I have added the configuration as specified by you. But still couldn't access the LAN network.

If I disable SPI firewall it starts working. I am able to access the LAN Network. I am not sure if it is a right thing to do. Also would like to mention, right now the whole setup is in test environment. The WAN Ip for the e900 (OPENVpn Server ) is 192.168.1.4. I am connecting from OpenVPN client having IP address 192.168.1.6. So may be SPI firewall is blocking as I am using private Network range.

Any suggestions,
Ashima
tdiguy
DD-WRT User


Joined: 20 Apr 2010
Posts: 203

PostPosted: Mon Oct 23, 2017 21:59    Post subject: Reply with quote
ashima wrote:
Thank you tdiguy for responding.

In dnsmasque additionl option, I have added the configuration as specified by you. But still couldn't access the LAN network.

If I disable SPI firewall it starts working. I am able to access the LAN Network. I am not sure if it is a right thing to do. Also would like to mention, right now the whole setup is in test environment. The WAN Ip for the e900 (OPENVpn Server ) is 192.168.1.4. I am connecting from OpenVPN client having IP address 192.168.1.6. So may be SPI firewall is blocking as I am using private Network range.

Any suggestions,
Ashima

I have openvpn set up as well using a private ip network. Did you make sure its a different subnet than 1 where you are and different than your home network? Myself I decided using 10.255.230.0/24 would likely be oddball enough to not match most networks i travel to.
Its also odd that turning spi off allows it to work.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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 cannot attach files in this forum
You cannot download files in this forum