Network-folder not responding or Internet not working

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Vangone
OpenVpn Newbie
Posts: 1
Joined: Tue Sep 12, 2023 7:46 am

Network-folder not responding or Internet not working

Post by Vangone » Tue Sep 12, 2023 7:57 am

Hi together,

we are using a Synology NAS with Open VPN Server. The NAS is sitting behind a Fritz!Box Cable and the Port 1194 is Open.
We are using the OpenVPN Connect, and imported the config from the Synology.

I edited the config as followed:

Code: Select all

dev tun
tls-client

remote ***OUR DYN DNS*** 1194

# The "float" tells OpenVPN to accept authenticated packets from any address,
# not only the address which was specified in the --remote option.
# This is useful when you are connecting to a peer which holds a dynamic address
# such as a dial-in user or DHCP client.
# (Please refer to the manual of OpenVPN for more information.)

#float

# If redirect-gateway is enabled, the client will redirect it's
# default network gateway through the VPN.
# It means the VPN connection will firstly connect to the VPN Server
# and then to the internet.
# (Please refer to the manual of OpenVPN for more information.)

#redirect-gateway def1

route 192.168.178.0 255.255.255.0 10.8.0.6

# dhcp-option DNS: To set primary domain name server address.
# Repeat this option to set secondary DNS server addresses.

#dhcp-option DNS DNS_IP_ADDRESS


# If you want to connect by Server's IPv6 address, you should use
# "proto udp6" in UDP mode or "proto tcp6-client" in TCP mode
proto udp

script-security 2


comp-lzo

reneg-sec 0

cipher AES-256-CBC

auth SHA512

auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----
MIIDgDCCAmigAwIBAgIUCNLnmOblJGKeCrIU5FIESf+OxG8wDQYJKoZIhvcNAQEL
BQAwUTELMAkGA1UEBhMCVFcxDzANBgNVBAcMBlRhaXBlaTEWMBQGA1UECgwNU3lu
b2xvZ3kgSW5jLjEZMBcGA1UEAwwQU3lub2xvZ3kgSW5jLiBDQTAeFw0yMjExMjEx
NTE3MTJaFw0yMzExMjIxNTE3MTJaMFExCzAJBgNVBAYTAlRXMQ8wDQYDVQQHDAZU
YWlwZWkxFjAUBgNVBAoMDVN5bm9sb2d5IEluYy4xGTAXBgNVBAMMEFN5bm9sb2d5
IEluYy4gQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7PvQYFAF6
4IaTYRl8gT43nU18w8aoY+R5OnbKHMHfK+sb06amUQH/Rers90JCRLUYFB/c+o89
QnuniAV1wpKMp6hKrgewKlzMztOWf9aCHiMZ9qdrEReJBfX1lMHNu8IgNGm3O/rq
hHxbGbI2TVe+HWXU6Ni3mvfHfeThApF8s6LLPgHo9CcxKHax3QE/9IW5vv+EPH4X
s7Of6Dlq6MGevoq38GgkPhqxBDuv44qo9fFuDrq3o18AQ0OEwbCpRKnpTEEf/aD3
4ohYEiK2gkS5ro/0Icw0G/a2Sq9V6YGneRTdsd53aSO4DNPAEvHVs79y+S5XmMTo
Ovnw0t/yRSgvAgMBAAGjUDBOMB0GA1UdDgQWBBSoX3RPmauQxeu2S+aMJdDTwIcB
rDAfBgNVHSMEGDAWgBSoX3RPmauQxeu2S+aMJdDTwIcBrDAMBgNVHRMEBTADAQH/
MA0GCSqGSIb3DQEBCwUAA4IBAQCsHUqcwmjKuibBXV7y3BDRhS04tgc6ypGUPZ1O
P3tiwBeCErqgejem6u9BxV0fwbEJ+QXrul8dAd8hM9ZE39MYkgK5Odj9PG3HKoAy
coSKZUL49Wx2yE++rHnTW9Fmygz9U7EBIADZJdhzGMt2OS7SBc8Qm/4cA9ZXalOK
OkgwFTFpFFXfPzhS7iH4UqRASsevYKL7NXzubVzMp+wluKjjasg/JQEDzMXz5DkA
6GnPcviodoina5LQmfLD1VvZyPMG41s0J/e5cq2encWbft3QrQjWUSmRI/p3l9MW
KxYNTCQrDMSebqAH6j44J+SoUVG726ThMSufxW5/H5OFiEkI
-----END CERTIFICATE-----

</ca>
The connection starts smooth and easy, but after a time, we lose conenction to our shared folders (192.168.178.34, ...)
Our IP-address-range from the external Part (Fritz!Box cable) is 192.168.178.0/24
Our IP-address from the VPN Server is 10.0.0.8
Our IP-adress-range from our internal network (Client) is 192.168.1.0/24

The speed from our external network (Server) is arround 250mbit
The speed of our internel network (Client) is arround 16mbit

It also sometimes appears that we cant connect to the internet itself, Outlook is not receiving data from exchange or internet-sites arent reachable.


How can I find out, what is causing that Problem?

Kind regards,
Phil

OVUser81
OpenVpn Newbie
Posts: 3
Joined: Fri Nov 03, 2023 10:11 am

Re: Network-folder not responding or Internet not working

Post by OVUser81 » Fri Nov 03, 2023 10:58 am

I'm currently have a similar problem.

Are you sure, that your IP-address from the VPN Server is 10.0.0.8?
Should it not be 10.8.0.x?

Beside your manual change to a add the line

Code: Select all

route 192.168.178.0 255.255.255.0 10.8.0.6
to your VPNConfig.ovpn file did you anything else that you can establish connections to your NAS and your shared folders?
(I can not even ping them...)

Post Reply