[Solved] OpenVPN Server in a DS Lite network

Need help configuring your VPN? Just post here and you'll get that help.

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.
Locked
imperator
OpenVpn Newbie
Posts: 6
Joined: Mon Aug 07, 2017 3:09 pm

[Solved] OpenVPN Server in a DS Lite network

Post by imperator » Mon Aug 07, 2017 3:29 pm

Hi all,

I need your help for the establishment of an OpenVPN Server in a DS Lite Network. I have already seen that there are a lot of articles which you can find in the internet but from my point of view no article does really solve my problem.

In fact my OpenVPN Server is already running and it is also possible for me to establish a connection to this server via my IPhone (I am using the official OpenVPN App) but there are some limitations.

- Connection can be established via mobile network
- Connection can be established via VDSL (German Telekom - as far as i know IPv4 connection)
- Connection cannot be established via IPv6 connection (Unitymedia - German cable provider). On my IPhone I can see that the connection is established but I am not able to send or receive any data via my Iphone.

I have already added the option tun-ipv6 in my configuration but this did not solve my problem. :(

Please let me know in case you need more details.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: OpenVPN Server in a DS Lite network

Post by TinCanTech » Mon Aug 07, 2017 7:35 pm


imperator
OpenVpn Newbie
Posts: 6
Joined: Mon Aug 07, 2017 3:09 pm

Re: OpenVPN Server in a DS Lite network

Post by imperator » Fri Sep 15, 2017 3:03 pm

Hi all,

I have set up a new OpenVPN Server on a new Raspberry PI (on port 1195 since the other OpenVPN Server is still running). Now I am able to connect to the OpenVPN Server via my IPhone (using the OpenVPN APP) but I am not able to route the internet traffic via this server. When I am trying to comunicate to the internet I am not getting any respone.

Please find attached my configurations:

Server Configuration
dev tun
tun-ipv6
proto udp6
port 1195
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh2048.pem
user nobody
group nogroup
server 10.8.0.0 255.255.255.0
persist-key
persist-tun
status /var/log/openvpn-status.log
verb 3
client-to-client
push "redirect-gateway def1 bypass-dhcp"
#set the dns servers
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
log-append /var/log/openvpn
comp-lzo
duplicate-cn
keepalive 10 120

Client Configuration
dev tun
client
proto udp6
remote {my DynDNS Server} 1195
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert ipv6_iphone.crt
key ipv6_iphone.key
comp-lzo
verb 3

Log from OpenVPN App
2017-09-15 16:51:52 PROTOCOL OPTIONS:
cipher: AES-256-GCM
digest: SHA1
compress: LZO
peer ID: 0
2017-09-15 16:51:52 EVENT: ASSIGN_IP
2017-09-15 16:51:53 Connected via tun
2017-09-15 16:51:53 LZO-ASYM init swap=0 asym=0
2017-09-15 16:51:53 EVENT: CONNECTED @{MY DynDNS Server}:1195 (my IP Address) via /UDPv4 on tun/10.8.0.6/ gw=[10.8.0.5/]
2017-09-15 16:51:53 SetStatus Connected
2017-09-15 16:53:33 OS Event: SLEEP
2017-09-15 16:53:33 TUN reassert
2017-09-15 16:53:33 TUN reset routes
2017-09-15 16:53:33 EVENT: PAUSE
2017-09-15 16:57:48 OS Event: WAKEUP
2017-09-15 16:57:51 RESUME TEST: Internet:ReachableViaWiFi/-R t------
2017-09-15 16:57:51 EVENT: RESUME
2017-09-15 16:57:51 EVENT: RECONNECTING
2017-09-15 16:57:51 EVENT: RESOLVE
2017-09-15 16:57:51 Contacting (my IP Address):1195 via UDP
2017-09-15 16:57:51 EVENT: WAIT
2017-09-15 16:57:51 SetTunnelSocket returned 1
2017-09-15 16:57:51 Connecting to [{MY DynDNS Server}]:1195 (my IP Address) via UDPv4
2017-09-15 16:57:59 EVENT: DISCONNECTED
2017-09-15 16:57:59 Raw stats on disconnect:
BYTES_IN : 4590
BYTES_OUT : 11670
PACKETS_IN : 22
PACKETS_OUT : 128
TUN_BYTES_IN : 6384
TUN_PACKETS_IN : 98
N_PAUSE : 1
N_RECONNECT : 1
2017-09-15 16:57:59 Performance stats on disconnect:
CPU usage (microseconds): 120774
Tunnel compression ratio (downlink): inf
Network bytes per CPU second: 134631
Tunnel bytes per CPU second: 52859
2017-09-15 16:57:59 ----- OpenVPN Stop -----

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: OpenVPN Server in a DS Lite network

Post by TinCanTech » Fri Sep 15, 2017 5:24 pm


imperator
OpenVpn Newbie
Posts: 6
Joined: Mon Aug 07, 2017 3:09 pm

Re: OpenVPN Server in a DS Lite network

Post by imperator » Fri Sep 15, 2017 7:09 pm

Hi all,

I have set up a new OpenVPN Server on a new Raspberry PI (on port 1195 since the other OpenVPN Server is still running). Now I am able to connect to the OpenVPN Server via my IPhone (using the OpenVPN APP) but I am not able to route the internet traffic via this server. When I am trying to comunicate to the internet I am not getting any respone.

Please find attached my configurations:

SERVER
### Paste Your Server Config File Below ### server 10.8.0.0 255.255.255.0 # This is a private IP address which # can *not* be used to hack your network verb 4 # Make sure to use --verb 4 etc ...
dev tun
tun-ipv6
proto udp6
port 1195
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh2048.pem
user nobody
group nogroup
server 10.8.0.0 255.255.255.0
persist-key
persist-tun
status /var/log/openvpn-status.log
verb 3
client-to-client
push "redirect-gateway def1 bypass-dhcp"
#set the dns servers
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
log-append /var/log/openvpn
comp-lzo
duplicate-cn
keepalive 10 120

Code: Select all

# Server Log
Fri Sep 15 14:51:48 2017 FAKE_ID TLS: Initial packet from [AF_INET6]::ffff:FAKE_ID:0815, sid=a99f2b37 cf7a27ae
Fri Sep 15 14:51:51 2017 FAKE_ID VERIFY OK: depth=1, C=DE, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=MyOrganizationalUnit, CN=Fort-Funston CA, name=EasyRSA, emailAddress=me@myhost.mydomain
Fri Sep 15 14:51:51 2017 FAKE_ID VERIFY OK: depth=0, C=DE, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=MyOrganizationalUnit, CN=ipv6_iphone, name=EasyRSA, emailAddress=me@myhost.mydomain
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_GUI_VER=net.openvpn.connect.ios_1.1.1-212
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_VER=3.1.2
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_PLAT=ios
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_NCP=2
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_TCPNL=1
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_PROTO=2
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_LZO=1
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_AUTO_SESS=1
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_BS64DL=1
Fri Sep 15 14:51:51 2017 FAKE_ID Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Fri Sep 15 14:51:51 2017 FAKE_ID [ipv6_iphone] Peer Connection Initiated with [AF_INET6]::ffff:FAKE_ID:28272
Fri Sep 15 14:51:51 2017 ipv6_iphone/FAKE_ID MULTI_sva: pool returned IPv4=10.8.0.6, IPv6=(Not enabled)
Fri Sep 15 14:51:51 2017 ipv6_iphone/FAKE_ID MULTI: Learn: 10.8.0.6 -> ipv6_iphone/FAKE_ID
Fri Sep 15 14:51:51 2017 ipv6_iphone/FAKE_ID MULTI: primary virtual IP for ipv6_iphone/FAKE_ID: 10.8.0.6
Fri Sep 15 14:51:52 2017 ipv6_iphone/FAKE_ID PUSH: Received control message: 'PUSH_REQUEST'
Fri Sep 15 14:51:52 2017 ipv6_iphone/FAKE_ID SENT CONTROL [ipv6_iphone]: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5,peer-id 0,cipher AES-256-GCM' (status=1)
Fri Sep 15 14:51:52 2017 ipv6_iphone/FAKE_ID Data Channel Encrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
Fri Sep 15 14:51:52 2017 ipv6_iphone/FAKE_ID Data Channel Decrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
Fri Sep 15 14:51:52 2017 ipv6_iphone/FAKE_ID PUSH: Received control message: 'PUSH_REQUEST'
Fri Sep 15 14:53:33 2017 ipv6_iphone/FAKE_ID SIGTERM[soft,remote-exit] received, client-instance exiting
CLIENT
### Paste Your Client Config Below ### client remote x.x.x.x # Please remove the public IP # of your server ! verb 4 # Make sure to use --verb 4 etc ...
dev tun
client
proto udp6
remote {my DynDNS Server} 1195
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert ipv6_iphone.crt
key ipv6_iphone.key
comp-lzo
verb 3

Code: Select all

Log from OpenVPN App
2017-09-15 16:51:52 PROTOCOL OPTIONS:
cipher: AES-256-GCM
digest: SHA1
compress: LZO
peer ID: 0
2017-09-15 16:51:52 EVENT: ASSIGN_IP
2017-09-15 16:51:53 Connected via tun
2017-09-15 16:51:53 LZO-ASYM init swap=0 asym=0
2017-09-15 16:51:53 EVENT: CONNECTED @{MY DynDNS Server}:1195 (my IP Address) via /UDPv4 on tun/10.8.0.6/ gw=[10.8.0.5/]
2017-09-15 16:51:53 SetStatus Connected
2017-09-15 16:53:33 OS Event: SLEEP
2017-09-15 16:53:33 TUN reassert
2017-09-15 16:53:33 TUN reset routes
2017-09-15 16:53:33 EVENT: PAUSE
2017-09-15 16:57:48 OS Event: WAKEUP
2017-09-15 16:57:51 RESUME TEST: Internet:ReachableViaWiFi/-R t------
2017-09-15 16:57:51 EVENT: RESUME
2017-09-15 16:57:51 EVENT: RECONNECTING
2017-09-15 16:57:51 EVENT: RESOLVE
2017-09-15 16:57:51 Contacting (my IP Address):1195 via UDP
2017-09-15 16:57:51 EVENT: WAIT
2017-09-15 16:57:51 SetTunnelSocket returned 1
2017-09-15 16:57:51 Connecting to [{MY DynDNS Server}]:1195 (my IP Address) via UDPv4
2017-09-15 16:57:59 EVENT: DISCONNECTED
2017-09-15 16:57:59 Raw stats on disconnect:
BYTES_IN : 4590
BYTES_OUT : 11670
PACKETS_IN : 22
PACKETS_OUT : 128
TUN_BYTES_IN : 6384
TUN_PACKETS_IN : 98
N_PAUSE : 1
N_RECONNECT : 1
2017-09-15 16:57:59 Performance stats on disconnect:
CPU usage (microseconds): 120774
Tunnel compression ratio (downlink): inf
Network bytes per CPU second: 134631
Tunnel bytes per CPU second: 52859
2017-09-15 16:57:59 ----- OpenVPN Stop -----
Better now? Do weed need verb 4 for better log information?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: OpenVPN Server in a DS Lite network

Post by TinCanTech » Fri Sep 15, 2017 7:28 pm

Unfortunately, the BBCode for [ code ] is currently stripping out newlines.

Here is your log in a readable format:
# Server Log
Fri Sep 15 14:51:48 2017 FAKE_ID TLS: Initial packet from [AF_INET6]::ffff:FAKE_ID:0815, sid=a99f2b37 cf7a27ae
Fri Sep 15 14:51:51 2017 FAKE_ID VERIFY OK: depth=1, C=DE, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=MyOrganizationalUnit, CN=Fort-Funston CA, name=EasyRSA, emailAddress=me@myhost.mydomain
Fri Sep 15 14:51:51 2017 FAKE_ID VERIFY OK: depth=0, C=DE, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=MyOrganizationalUnit, CN=ipv6_iphone, name=EasyRSA, emailAddress=me@myhost.mydomain
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_GUI_VER=net.openvpn.connect.ios_1.1.1-212
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_VER=3.1.2
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_PLAT=ios
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_NCP=2
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_TCPNL=1
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_PROTO=2
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_LZO=1
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_AUTO_SESS=1
Fri Sep 15 14:51:51 2017 FAKE_ID peer info: IV_BS64DL=1
Fri Sep 15 14:51:51 2017 FAKE_ID Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Fri Sep 15 14:51:51 2017 FAKE_ID [ipv6_iphone] Peer Connection Initiated with [AF_INET6]::ffff:FAKE_ID:28272
Fri Sep 15 14:51:51 2017 ipv6_iphone/FAKE_ID MULTI_sva: pool returned IPv4=10.8.0.6, IPv6=(Not enabled)
Fri Sep 15 14:51:51 2017 ipv6_iphone/FAKE_ID MULTI: Learn: 10.8.0.6 -> ipv6_iphone/FAKE_ID
Fri Sep 15 14:51:51 2017 ipv6_iphone/FAKE_ID MULTI: primary virtual IP for ipv6_iphone/FAKE_ID: 10.8.0.6
Fri Sep 15 14:51:52 2017 ipv6_iphone/FAKE_ID PUSH: Received control message: 'PUSH_REQUEST'
Fri Sep 15 14:51:52 2017 ipv6_iphone/FAKE_ID SENT CONTROL [ipv6_iphone]: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5,peer-id 0,cipher AES-256-GCM' (status=1)
Fri Sep 15 14:51:52 2017 ipv6_iphone/FAKE_ID Data Channel Encrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
Fri Sep 15 14:51:52 2017 ipv6_iphone/FAKE_ID Data Channel Decrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
Fri Sep 15 14:51:52 2017 ipv6_iphone/FAKE_ID PUSH: Received control message: 'PUSH_REQUEST'
Fri Sep 15 14:53:33 2017 ipv6_iphone/FAKE_ID SIGTERM[soft,remote-exit] received, client-instance exiting
which looks like a successful connection.


HOWTO: Routing all client traffic (including web-traffic) through the VPN

imperator
OpenVpn Newbie
Posts: 6
Joined: Mon Aug 07, 2017 3:09 pm

Re: OpenVPN Server in a DS Lite network

Post by imperator » Fri Sep 15, 2017 8:52 pm

Thanks for the information. I have replaced the following section
SERVER

...
push "redirect-gateway def1 bypass-dhcp"
...

with
SERVER

...
push "redirect-gateway def1"
...


... and even this does not work :-( any other ideas?

imperator
OpenVpn Newbie
Posts: 6
Joined: Mon Aug 07, 2017 3:09 pm

Re: OpenVPN Server in a DS Lite network

Post by imperator » Tue Sep 19, 2017 7:09 pm

Are there any other logs where I can find the reason why the web traffic is not routed through the VPN or do you have some other ideas?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: OpenVPN Server in a DS Lite network

Post by TinCanTech » Tue Sep 19, 2017 7:37 pm

The HOWTO above includes instructions for iptables.

imperator
OpenVpn Newbie
Posts: 6
Joined: Mon Aug 07, 2017 3:09 pm

Re: OpenVPN Server in a DS Lite network

Post by imperator » Tue Sep 19, 2017 8:57 pm

I have found out that "eth0" is not listed when I run the command "ifconfig" on my raspberry (although the ethernet cable is connected). instead "enxb827ebc40ebd" is listed. Is this the reason why the traffic routing does not work?

Code: Select all

enxb827ebc40ebd: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.187.35  netmask 255.255.255.0  broadcast 192.168.187.255
        inet6 FAKE_IP  prefixlen 64  scopeid 0x20<link>
        inet6 FAKE_IP2  prefixlen 64  scopeid 0x0<global>
        ether ...  txqueuelen 1000  (Ethernet)
        RX packets 126  bytes 14552 (14.2 KiB)
        RX errors 0  dropped 12  overruns 0  frame 0
        TX packets 134  bytes 23985 (23.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 10.8.0.1  netmask 255.255.255.255  destination 10.8.0.2
        inet6 FAKE_IP3  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4  bytes 192 (192.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether ...  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: OpenVPN Server in a DS Lite network

Post by TinCanTech » Tue Sep 19, 2017 9:31 pm

imperator wrote:
Tue Sep 19, 2017 8:57 pm
enxb827ebc40ebd: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.187.35 netmask 255.255.255.0 broadcast 192.168.187.255
I would assign that a user friendly name and a fixed IP address .. then go back to the HOWTO above.

imperator82
OpenVpn Newbie
Posts: 4
Joined: Thu Oct 26, 2017 6:14 pm

Re: OpenVPN Server in a DS Lite network

Post by imperator82 » Thu Oct 26, 2017 6:22 pm

Hi all,

I was right. Once I have changed my ethernet adapter to eth0 the OpenVPN connection was working fine. Now after 4 weeks (without any changes on my phone or on my OpenVPN server) I am not able to establish any connection to my VPN server. My Mobiles Phone says that packages are sent out but my server is not receiving any packages. In the log files you can see that I was able to connect to the server until 22th October.

Any ideas what went wrong in the meantime?

### Paste Your Client Log Below ###
2017-10-22 13:44:37 PROTOCOL OPTIONS:
cipher: AES-256-GCM
digest: SHA1
compress: LZO
peer ID: 0
2017-10-22 13:44:37 EVENT: ASSIGN_IP
2017-10-22 13:44:37 Connected via tun
2017-10-22 13:44:37 LZO-ASYM init swap=0 asym=0
2017-10-22 13:44:37 EVENT: CONNECTED @***MY_DYNDNS_SERVICE***:1195 (***MY_IP_ADDRESS***) via /UDPv4 on tun/10.8.0.6/ gw=[10.8.0.5/]
2017-10-22 13:44:37 SetStatus Connected
2017-10-22 13:51:30 TUN reset routes
2017-10-22 13:51:30 EVENT: DISCONNECTED
2017-10-22 13:51:30 Raw stats on disconnect:
BYTES_IN : 58435018
BYTES_OUT : 3015154
PACKETS_IN : 52258
PACKETS_OUT : 35448
TUN_BYTES_IN : 2268246
TUN_BYTES_OUT : 59959650
TUN_PACKETS_IN : 35436
TUN_PACKETS_OUT : 52248
2017-10-22 13:51:30 Performance stats on disconnect:
CPU usage (microseconds): 10170014
Tunnel compression ratio (uplink): 1.32929
Tunnel compression ratio (downlink): 0.974572
Network bytes per CPU second: 6042289
Tunnel bytes per CPU second: 6118762
2017-10-22 13:51:30 ----- OpenVPN Stop -----
2017-10-24 21:55:29 ----- OpenVPN Start -----
OpenVPN core 3.1.2 ios arm64 64-bit built on Dec 5 2016 12:50:25
2017-10-24 21:55:29 Frame=512/2048/512 mssfix-ctrl=1250
2017-10-24 21:55:29 UNUSED OPTIONS
4 [resolv-retry] [infinite]
5 [nobind]
6 [persist-key]
7 [persist-tun]
12 [verb] [3]




2017-10-24 21:56:09 EVENT: RESOLVE
2017-10-24 21:56:09 Contacting ***MY_IP_ADDRESS***:1195 via UDP
2017-10-24 21:56:09 EVENT: WAIT
2017-10-24 21:56:09 SetTunnelSocket returned 1
2017-10-24 21:56:09 Connecting to [***MY_DYNDNS_SERVICE***]:1195 (***MY_IP_ADDRESS***) via UDPv4
2017-10-24 21:56:09 NET Internet:ReachableViaWiFi/-R t------
2017-10-24 21:56:19 Server poll timeout, trying next remote entry...
2017-10-24 21:56:19 EVENT: RECONNECTING
2017-10-24 21:56:19 EVENT: RESOLVE
2017-10-24 21:56:19 Contacting ***MY_IP_ADDRESS***:1195 via UDP
2017-10-24 21:56:19 EVENT: WAIT
2017-10-24 21:56:19 SetTunnelSocket returned 1
2017-10-24 21:56:19 Connecting to [***MY_DYNDNS_SERVICE***]:1195 (***MY_IP_ADDRESS***) via UDPv4
2017-10-24 21:56:29 Server poll timeout, trying next remote entry...
2017-10-24 21:56:29 EVENT: RECONNECTING
2017-10-24 21:56:29 EVENT: RESOLVE
2017-10-24 21:56:29 Contacting ***MY_IP_ADDRESS***:1195 via UDP
2017-10-24 21:56:29 EVENT: WAIT
2017-10-24 21:56:29 SetTunnelSocket returned 1
2017-10-24 21:56:29 Connecting to [***MY_DYNDNS_SERVICE***]:1195 (***MY_IP_ADDRESS***) via UDPv4
2017-10-24 21:56:39 Server poll timeout, trying next remote entry...
2017-10-24 21:56:39 EVENT: RECONNECTING
2017-10-24 21:56:39 EVENT: RESOLVE
2017-10-24 21:56:39 Contacting ***MY_IP_ADDRESS***:1195 via UDP
2017-10-24 21:56:39 EVENT: WAIT
2017-10-24 21:56:39 SetTunnelSocket returned 1
2017-10-24 21:56:39 Connecting to [***MY_DYNDNS_SERVICE***]:1195 (***MY_IP_ADDRESS***) via UDPv4
2017-10-24 21:56:49 Server poll timeout, trying next remote entry...
2017-10-24 21:56:49 EVENT: RECONNECTING
2017-10-24 21:56:49 EVENT: RESOLVE
2017-10-24 21:56:49 Contacting ***MY_IP_ADDRESS***:1195 via UDP
2017-10-24 21:56:49 EVENT: WAIT
2017-10-24 21:56:49 SetTunnelSocket returned 1
2017-10-24 21:56:49 Connecting to [***MY_DYNDNS_SERVICE***]:1195 (***MY_IP_ADDRESS***) via UDPv4
2017-10-24 21:56:59 Server poll timeout, trying next remote entry...
2017-10-24 21:56:59 EVENT: RECONNECTING
2017-10-24 21:56:59 EVENT: RESOLVE
2017-10-24 21:56:59 Contacting ***MY_IP_ADDRESS***:1195 via UDP
2017-10-24 21:56:59 EVENT: WAIT
2017-10-24 21:56:59 SetTunnelSocket returned 1
2017-10-24 21:56:59 Connecting to [***MY_DYNDNS_SERVICE***]:1195 (***MY_IP_ADDRESS***) via UDPv4
2017-10-24 21:57:09 EVENT: CONNECTION_TIMEOUT [ERR]
2017-10-24 21:57:09 EVENT: DISCONNECTED
2017-10-24 21:57:09 Raw stats on disconnect:
BYTES_OUT : 840
PACKETS_OUT : 60
CONNECTION_TIMEOUT : 1
N_RECONNECT : 5
2017-10-24 21:57:09 Performance stats on disconnect:
CPU usage (microseconds): 46569
Network bytes per CPU second: 18037
Tunnel bytes per CPU second: 0
2017-10-24 21:57:09 EVENT: DISCONNECT_PENDING
2017-10-24 21:57:09 ----- OpenVPN Stop -----
2017-10-24 21:57:17 ----- OpenVPN Start -----
OpenVPN core 3.1.2 ios arm64 64-bit built on Dec 5 2016 12:50:25
2017-10-24 21:57:17 Frame=512/2048/512 mssfix-ctrl=1250
2017-10-24 21:57:17 UNUSED OPTIONS
4 [resolv-retry] [infinite]
5 [nobind]
6 [persist-key]
7 [persist-tun]
12 [verb] [3]

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: OpenVPN Server in a DS Lite network

Post by TinCanTech » Fri Oct 27, 2017 11:26 am

And what does the server log show ? (verb 4 please)

imperator82
OpenVpn Newbie
Posts: 4
Joined: Thu Oct 26, 2017 6:14 pm

Re: OpenVPN Server in a DS Lite network

Post by imperator82 » Wed Feb 07, 2018 10:54 am

Issue is fixed. There was network address problem after I have installed two Raspberry PIs with Port Forwarding in my local network.

Locked