Page 1 of 1

How to configure VPN settings on VPN server

Posted: Tue Apr 28, 2020 2:20 pm
by monsieur N
Hello,
Before I start, I want you to know that I am French, so I use an online translator because I don’t speak English. So I apologize in advance for my language mistakes.

I'm using openvpn with portainer in Openmediavault.I install it and it seems work because i can onnect. But, when i connect, i can't see my shared folders and I can’t see my other computers on my local network.
So as I start, could someone give me the configuration to set up in openvpn server so that I can automatically detect my local network outside my home (on my android for example).
It is mainly that this would allow me to understand how and why to put certain data (example in:Specify the private subnets to which all clients should be given access (one per line))

when i do this command : ip addr, i have this :

root@OMV5:~# ip addr

Code: Select all

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

inet 127.0.0.1/8 scope host lo

valid_lft forever preferred_lft forever

inet6 ::1/128 scope host

valid_lft forever preferred_lft forever

2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000

link/ether xxxxxxxxxx brd ff:ff:ff:ff:ff:ff

inet 192.168.0.30/24 brd 192.168.0.255 scope global enp0s3

valid_lft forever preferred_lft forever

3: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default

link/ether xxxxxxxxxx brd ff:ff:ff:ff:ff:ff

inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0

valid_lft forever preferred_lft forever

inet6 fe80::42:e1ff:feba:5178/64 scope link

valid_lft forever preferred_lft forever

5: veth7cba650@if4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default

link/ether f2:b0:87:25:f0:39 brd ff:ff:ff:ff:ff:ff link-netnsid 0

inet6 fe80::f0b0:87ff:fe25:f039/64 scope link

valid_lft forever preferred_lft forever

7: veth83ab0b5@if6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default

link/ether 5e:db:98:29:d9:3a brd ff:ff:ff:ff:ff:ff link-netnsid 1

inet6 fe80::5cdb:98ff:fe29:d93a/64 scope link

valid_lft forever preferred_lft forever
example :how finding my network address and netmask ? where i have to put it: in Dynamic IP Address Network or inStatic IP Address Network (Optional) ?

In Routing, what does i put in "Specify the private subnets to which all clients should be given access (one per line) "



My network is 192.168.0.30 when i want to connect web gui openvpn.

I know my message is very long and thank you for your understanding

Re: How to configure VPN settings on VPN server

Posted: Tue Apr 28, 2020 2:27 pm
by TinCanTech
I am sorry but you have a very long way to go indeed to get openvpn working.

And when I look on https://www.openmediavault.org/features.html OpenVPN is not listed as a feature.


Start with the Howto: https://community.openvpn.net/openvpn/wiki/HOWTO

You will probably need to learn how to use Linux as well.