T
T
tartarelin2019-06-23 22:23:28
openvpn
tartarelin, 2019-06-23 22:23:28

How to set up OpenVPN on Keenetic Giga?

There is a local network 192.168.1.0/24 and a Pfsense 1.1.1.1 gateway on which there are three openVPN servers
In the data center there is a server 2.2.2.2 on which I installed the openVPN client, it receives IP 10.0.99.2
it is accessible from the local network 192.168.1.0/24 and the network is available to him
In the second office, the local network 192.168.2.0/24 is also a Pfsense and OpenVPN gateway as a client
, and for this network there is access to the network 192.168.1.0/24 and to the server 10.0.99.2 and vice versa
In the third office, the local network 192.168. 3.0/24 and costs Keenetic Giga and OpenVPN as a client

with this configuration
dev tun
persist-tun
persist-key
cipher AES-128-CBC
auth SHA1
resolv-retry infinite
proto udp
remote 1.1.1.1 1196
ifconfig 10.0.97.2 10.0.97.1
keepalive 10 60
ping-timer-rem
route 10.0.99.0 255.255.255.0
route 10.0.97.0 255.255.255.0
route 192.168.1.0 255.255.255.0
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----

and for the network 192.168.3.0/24 the network 192.168.1.0/24 is available and vice versa, but the server 10.0.99.2 is not available
5d0ffaadb3ac4175269430.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2019-06-24
@feanor7

Check routing and iptables.
Try manually specifying the route from 10.0.97.2 to 10.0.99.2 through 10.0.99.1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question