# Can't randomly access to Green network

**URL:** <https://community.ipfire.org/t/cant-randomly-access-to-green-network/8274>\
**Category:** OpenVPN\
**Created:** [20 July 2022 09:00 UTC](https://community.ipfire.org/t/cant-randomly-access-to-green-network/8274 "2022-07-20T09:00:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![otherego](https://community.ipfire.org/user_avatar/community.ipfire.org/otherego/32/4523_2.png) [@otherego](https://community.ipfire.org/u/otherego)\
**Post date:** [20 July 2022 09:00 UTC](https://community.ipfire.org/t/cant-randomly-access-to-green-network/8274/1 "2022-07-20T09:00:42Z")

</div>

I just have a new installed ipfire 169 in my new office.  
i use openvpn to connect my clients to my nas.  
i’m experiencing the following trouble: client can connect to vpn, but randomly they can’t reach my nas ip (in green network).  
What is strange is that it works 80% of times, but randomly it doesn’t, without modify any parameter.  
This append from different clients with different provider/connections  
Also i will like to know how to post a log on here, hiding all sensitive data.

---

<div class="post-metadata">

**Author:** ![cfusco](https://community.ipfire.org/user_avatar/community.ipfire.org/cfusco/32/9213_2.png) [@cfusco](https://community.ipfire.org/u/cfusco)\
**Post date:** [20 July 2022 13:26 UTC](https://community.ipfire.org/t/cant-randomly-access-to-green-network/8274/2 "2022-07-20T13:26:40Z")

</div>

> [@otherego](#):
>
> i’m experiencing the following trouble: client can connect to vpn, but randomly they can’t reach my nas ip (in green network).

Can they do anything else?

> [@otherego](#):
>
> Also i will like to know how to post a log on here, hiding all sensitive data.

Just mangle the text in an editor before posting it here. Use the preformatted text option.

---

<div class="post-metadata">

**Author:** ![otherego](https://community.ipfire.org/user_avatar/community.ipfire.org/otherego/32/4523_2.png) [@otherego](https://community.ipfire.org/u/otherego)\
**Post date:** [20 July 2022 13:41 UTC](https://community.ipfire.org/t/cant-randomly-access-to-green-network/8274/3 "2022-07-20T13:41:41Z")

</div>

Unfortunately when problem appear, i can’t ping any address of my green network.

after disconnect and connect it again without touching any paramether everything woks flawlessy.

this is part of openvpn log hoping it will helps

06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 TLS: Initial packet from [AF\_INET]2.xxx.xxx.xxx:52772, sid=74457fc6 33549909  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 VERIFY SCRIPT OK: depth=1, C=FR, O=xxxxinternational, CN=xxxxinternational CA  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 VERIFY OK: depth=1, C=FR, O=xxxxinternational, CN=xxxxinternational CA  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 VERIFY SCRIPT OK: depth=0, C=FR, O=xxxxinternational, CN=Alessandro  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 VERIFY OK: depth=0, C=FR, O=xxxxinternational, CN=Alessandro  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 peer info: IV\_VER=2.5.4  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 peer info: IV\_PLAT=mac  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 peer info: IV\_PROTO=6  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 peer info: IV\_NCP=2  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 peer info: IV\_CIPHERS=AES-256-GCM:AES-128-GCM:CAMELLIA-256-CBC  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 peer info: IV\_LZ4=1  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 peer info: IV\_LZ4v2=1  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 peer info: IV\_LZO=1  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 peer info: IV\_COMP\_STUB=1  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 peer info: IV\_COMP\_STUBv2=1  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 peer info: IV\_TCPNL=1  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 peer info: IV\_GUI\_VER=“net.tunnelblick.tunnelblick\_5770\_3.8.7a\_\_build\_5770)”  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 TLS: Username/Password authentication deferred for username ‘Q!_’  
06:46:37 openvpnserver[6727]: MANAGEMENT: CMD ‘client-auth-nt 153 0’  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 Control Channel: TLSv1.3, cipher TLSv1.3 TLS\_AES\_256\_GCM\_SHA384, peer certificate: 2048 bit RSA, signature: RSA-SHA256  
06:46:37 openvpnserver[6727]: 2.xxx.xxx.xxx:52772 [Alessandro] Peer Connection Initiated with [AF\_INET]2.xxx.xxx.xxx:52772  
06:46:37 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 MULTI\_sva: pool returned IPv4=10.11.213.14, IPv6=(Not enabled)  
06:46:37 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 OPTIONS IMPORT: reading client specific options from: /var/ipfire/ovpn/ccd/Alessandro  
06:46:37 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 OPTIONS IMPORT: reading client specific options from: /tmp/openvpn\_cc\_196efb46621545db17292081b7afb69d.tmp  
06:46:37 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 MULTI: Learn: 10.11.213.14 → Alessandro/2.xxx.xxx.xxx:52772  
06:46:37 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 MULTI: primary virtual IP for Alessandro/2.xxx.xxx.xxx:52772: 10.11.213.14  
06:46:37 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 Outgoing Data Channel: Cipher ‘CAMELLIA-256-CBC’ initialized with 256 bit key  
06:46:37 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 Outgoing Data Channel: Using 512 bit message hash ‘whirlpool’ for HMAC authentication  
06:46:37 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 Incoming Data Channel: Cipher ‘CAMELLIA-256-CBC’ initialized with 256 bit key  
06:46:37 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 Incoming Data Channel: Using 512 bit message hash ‘whirlpool’ for HMAC authentication  
06:46:37 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 SENT CONTROL [Alessandro]: ‘PUSH\_REPLY,route 10.11.213.0 255.255.255.0,topology net30,ping 10,ping-restart 60,route 192.168.1.0 255.255.255.0,ifconfig 10.11.213.14 10.11.213.13,peer-id 0,cipher CAMELLIA-256-CBC’ (status=1)  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 VERIFY SCRIPT OK: depth=1, C=FR, O=xxxxinternational, CN=xxxxinternational CA  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 VERIFY OK: depth=1, C=FR, O=xxxxinternational, CN=xxxxinternational CA  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 VERIFY SCRIPT OK: depth=0, C=FR, O=xxxxinternational, CN=Alessandro  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 VERIFY OK: depth=0, C=FR, O=xxxxinternational, CN=Alessandro  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 peer info: IV\_VER=2.5.4  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 peer info: IV\_PLAT=mac  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 peer info: IV\_PROTO=6  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 peer info: IV\_NCP=2  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 peer info: IV\_CIPHERS=AES-256-GCM:AES-128-GCM:CAMELLIA-256-CBC  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 peer info: IV\_LZ4=1  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 peer info: IV\_LZ4v2=1  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 peer info: IV\_LZO=1  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 peer info: IV\_COMP\_STUB=1  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 peer info: IV\_COMP\_STUBv2=1  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 peer info: IV\_TCPNL=1  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 peer info: IV\_GUI\_VER=“net.tunnelblick.tunnelblick\_5770\_3.8.7a\_\_build\_5770)”  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 TLS: Username/Password authentication deferred for username 'Q!_’  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 Outgoing Data Channel: Cipher ‘CAMELLIA-256-CBC’ initialized with 256 bit key  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 Outgoing Data Channel: Using 512 bit message hash ‘whirlpool’ for HMAC authentication  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 Incoming Data Channel: Cipher ‘CAMELLIA-256-CBC’ initialized with 256 bit key  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 Incoming Data Channel: Using 512 bit message hash ‘whirlpool’ for HMAC authentication  
07:46:38 openvpnserver[6727]: MANAGEMENT: CMD ‘client-auth-nt 153 2’  
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 Control Channel: TLSv1.3, cipher TLSv1.3 TLS\_AES\_256\_GCM\_SHA384, peer certificate: 2048 bit RSA, signature: RSA-SHA256

---

<div class="post-metadata">

**Author:** ![cfusco](https://community.ipfire.org/user_avatar/community.ipfire.org/cfusco/32/9213_2.png) [@cfusco](https://community.ipfire.org/u/cfusco)\
**Post date:** [20 July 2022 14:04 UTC](https://community.ipfire.org/t/cant-randomly-access-to-green-network/8274/4 "2022-07-20T14:04:57Z")

</div>

Can you see any difference in the logs as you posted them and after you successfully connect? Can you do the same comparison also from the client side?

I noticed this in your logs (notice my use of the preformatted text):

```auto
07:46:38 openvpnserver[6727]: Alessandro/2.xxx.xxx.xxx:52772 TLS: Username/Password authentication deferred for username 'Q!’

```

Maybe you have this problem:

[https://community.openvpn.net/openvpn/ticket/222](https://community.openvpn.net/openvpn/ticket/222)

It could fit the randomness of your connection.

* * *

**EDIT** : moderator corrected link

---

<div class="post-metadata">

**Author:** ![jon](https://community.ipfire.org/user_avatar/community.ipfire.org/jon/32/16838_2.png) [@jon](https://community.ipfire.org/u/jon)\
**Post date:** [20 July 2022 16:39 UTC](https://community.ipfire.org/t/cant-randomly-access-to-green-network/8274/5 "2022-07-20T16:39:35Z")

</div>

> [@cfusco](#):
>
> Use the preformatted text option.

This should help:

> [@How to post code or preformatted text](https://community.ipfire.org/t/how-to-post-code-or-preformatted-text/5317):
>
> Have a line of code you need to share? Perhaps you need to share an error log from your site? Reading code without formatting can be tough, if not impossible if the code depends on spacing or contains special characters Discourse transforms. This guide focuses on Markdown, but Discourse also support a subset of BBCode and HTML, so pick whichever style you like best. Inline code formatting To format a specific section of text, use a single backtick on each side of the code. This can be done …
