M
M
Maxim2017-07-31 13:51:29
openvpn
Maxim, 2017-07-31 13:51:29

Why is openvpn not connecting?

There are 2 computers with Debian 8.
server:

cat /etc/openvpn/server.conf
dev tun0
ifconfig 172.10.0.1 172.10.0.2

ifconfig:
tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:172.10.0.1  P-t-P:172.10.0.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

client:
cat /etc/openvpn/tun0.conf
remote server.local
dev tun0
ifconfig 172.10.0.2 172.10.0.1

ifconfig:
tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:172.10.0.2  P-t-P:172.10.0.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:292 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 B)  TX bytes:24528 (23.9 KiB)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question