I have openVPN running on a Synology NAS using TCP 443 to overcome blocked ports at work.
Using cellular data, I am able to connect to it just fine. But when behind corporate firewall, I get the NETWORK_RECV_ERROR message and it does not connect.
2016-02-02 10:44:32 LZO-ASYM init swap=0 asym=0
2016-02-02 10:44:32 EVENT: RESOLVE
2016-02-02 10:44:32 Contacting MY_IP:443 via TCP
2016-02-02 10:44:32 EVENT: WAIT
2016-02-02 10:44:32 SetTunnelSocket returned 1
2016-02-02 10:44:32 Connecting to my_domain.com:443 (my_ip) via TCPv4
2016-02-02 10:44:32 TCP recv error: Connection reset by peer
2016-02-02 10:44:32 Transport Error: Transport error on 'my_domain.com: NETWORK_RECV_ERROR
2016-02-02 10:44:32 EVENT: TRANSPORT_ERROR Transport error on 'my_domain.com: NETWORK_RECV_ERROR [ERR]
2016-02-02 10:44:32 Client terminated, restarting in 5...
2016-02-02 10:44:35 RECONNECT TEST: Internet:ReachableViaWiFi/-R ------- WiFi:ReachableViaWiFi/-R ------d
2016-02-02 10:44:35 EVENT: CONNECTION_TIMEOUT [ERR]
2016-02-02 10:44:35 EVENT: DISCONNECTED
2016-02-02 10:44:35 Raw stats on disconnect:
BYTES_OUT : 192
PACKETS_OUT : 12
NETWORK_RECV_ERROR : 12
TRANSPORT_ERROR : 12
CONNECTION_TIMEOUT : 1
N_RECONNECT : 11
2016-02-02 10:44:35 Performance stats on disconnect:
CPU usage (microseconds): 95264
Network bytes per CPU second: 2015
Tunnel bytes per CPU second: 0
2016-02-02 10:44:35 EVENT: DISCONNECT_PENDING
2016-02-02 10:44:35 ----- OpenVPN Stop -----
I actually use to connect via L2TP/IPSec just fine, but it seems they started blocking that so I wanted to give openvpn a try with port 443, knowing that is open and working. As I have port-sharing enabled, I can properly view web pages behind the firewall.
TIA