Site to site with OPENVPN and DSR-250n/dsr-1000ac
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Mar 28, 2017 2:53 pm
Site to site with OPENVPN and DSR-250n/dsr-1000ac
Hello all,
I come here because I have a problem.
I'm trying to connect 2 sites between dsr-250n and dsr-1000ac using OPENVPN.
My local network (site 1) is 192.168.1.X 255.255.255.0 (dsr-1000ac)
My other network (site 2) is 192.168.10.X 255.255.255.0 (dsr-250n)
I have generate the certificat with this how to: https://debian-facile.org/doc:reseau:openvpn (sorry, I'm french)
I have integrate this certificat in my dsr-1000ac (openvpn server) and my client certificat in my dsr-250n (using my primary IP of my WIN).
In the dashboard, I get the impression that the VPN via OpenVPN is OK.
I have this
But I can't ping from site1 to site2 and conversely.
Can you help me?
I come here because I have a problem.
I'm trying to connect 2 sites between dsr-250n and dsr-1000ac using OPENVPN.
My local network (site 1) is 192.168.1.X 255.255.255.0 (dsr-1000ac)
My other network (site 2) is 192.168.10.X 255.255.255.0 (dsr-250n)
I have generate the certificat with this how to: https://debian-facile.org/doc:reseau:openvpn (sorry, I'm french)
I have integrate this certificat in my dsr-1000ac (openvpn server) and my client certificat in my dsr-250n (using my primary IP of my WIN).
In the dashboard, I get the impression that the VPN via OpenVPN is OK.
I have this
But I can't ping from site1 to site2 and conversely.
Can you help me?
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Mar 28, 2017 2:53 pm
Re: Site to site with OPENVPN and DSR-250n/dsr-1000ac
Nobody?
I think that my problem is about route static and no about openvpn
I have this
In my route stating in Location 1, I have do
And in my Location 2:
Someone can help me?
I think that my problem is about route static and no about openvpn
I have this
Code: Select all
Location 1 (192.168.1.X/255.255.255.0) // NET // (192.168.10.X/255.255.255.0) Location 2
Location 1 is my openvpn server 128.10.0.0/255.255.255.0
Code: Select all
Name Destination Subnet Mask Gateway Interface Metric Active Private
VPN_1 128.10.0.0 255.255.255.0 192.168.1.1 LAN 2 yes no
VPN_2 192.168.10.1 255.255.255.0 192.168.1.1 LAN 2 yes no
Code: Select all
Name Destination Subnet Mask Gateway Interface Metric Active Private
VPN_1 128.10.0.1 255.255.255.0 192.168.10.1 LAN 2 yes no
VPN_2 192.168.1.0 255.255.255.0 192.168.10.1 LAN 2 yes no
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Mar 28, 2017 2:53 pm
Re: Site to site with OPENVPN and DSR-250n/dsr-1000ac
Hello All
no answer!!
I have this in my iptable of openvpnserver
Kernel IP routing table
and in my openvpn client
I do not understand what's going on
no answer!!
I have this in my iptable of openvpnserver
Kernel IP routing table
Code: Select all
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth1
10.8.0.0 10.8.0.2 255.255.0.0 UG 0 0 0 tun1
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 bdg1
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.10.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun1
192.168.30.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun1
192.168.90.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun1
Code: Select all
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.1 127.0.0.1 255.255.255.255 UGH 1 0 0 lo
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.90.0 0.0.0.0 255.255.255.0 U 0 0 0 bdg1
192.168.90.0 192.168.90.1 255.255.255.0 UG 1 0 0 bdg1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth1
I do not understand what's going on
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Site to site with OPENVPN and DSR-250n/dsr-1000ac
First, most people using this forum do not use the same router as you, so will not be able to help.
Second, your configs do not match your route tables ..
In one post you use 128.10.0.0/24 (Which you should not use)
In another post you use 10.8.0.0/24 .. so which is it ?
I suggest you read the openvpn HOWTO completely.
Second, your configs do not match your route tables ..
In one post you use 128.10.0.0/24 (Which you should not use)
In another post you use 10.8.0.0/24 .. so which is it ?
I suggest you read the openvpn HOWTO completely.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Mar 28, 2017 2:53 pm
Re: Site to site with OPENVPN and DSR-250n/dsr-1000ac
I realized that the range 128.10.0.1/24 was protected; So I switch to an ip page 10.8.0.0/24
Last edited by leknoppix on Wed Apr 05, 2017 1:30 pm, edited 1 time in total.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Site to site with OPENVPN and DSR-250n/dsr-1000ac
No you did not .. you switched to 10.8.0.0leknoppix wrote:I switch to an ip page 10.0.0.0/24
Please see the HOWTO above.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Mon Jan 11, 2021 10:47 am
Re: Site to site with OPENVPN and DSR-250n/dsr-1000ac
Hi!
Were you able to set up the connection after all? I want to do the same thing: site to site with OpenVPN and two DSR-250N routers.
I was following this guide: ftp://ftp2.dlink.com/PRODUCTS/DSR-SERIE ... PENVPN.pdf
Instead of certs I'm using a password for now. I didn't set up and static routes or anything else that's not in the guide.
Both router's GUI show that the OpenVPN connection is working just like it's shown in the guide. However the last step is not working, I'm not able to ping 192.168.10.1 and 192.168.20.1 from either site.
I'm really new to VPNs and don't know how to proceed.
Thanks for any help.
Were you able to set up the connection after all? I want to do the same thing: site to site with OpenVPN and two DSR-250N routers.
I was following this guide: ftp://ftp2.dlink.com/PRODUCTS/DSR-SERIE ... PENVPN.pdf
Instead of certs I'm using a password for now. I didn't set up and static routes or anything else that's not in the guide.
Both router's GUI show that the OpenVPN connection is working just like it's shown in the guide. However the last step is not working, I'm not able to ping 192.168.10.1 and 192.168.20.1 from either site.
I'm really new to VPNs and don't know how to proceed.
Thanks for any help.