I have just configured my new OpenVPN server running on a RaspberryPi3B+ with
the latest release of the operating system PiOS (Debian Buster derivative).
Openvpn was installed via apt.

I have created 3 different instances:

serverweb.conf  Allows access to the local LAN and Internet
serverlan.conf  Allows access to the local LAN but not to the web
servertun.conf  Allows no access to LAN or Internet, only client-to client

I had to reboot the RPi3 in order to get VNC working and after fixing this I
went back to working on the OpenVPN stuff. I blocked use of ipv6 by setting:
proto udp4
in all three conf files

Then I tried to manually run an instance off of the servertunconf and once it
started I checked the port usage and found to my astonishment that not only was
my designated port (1196) listening, but also the other two!

But I have not yet registered openvpn as a service with the operating system and
decided which service would be allowed to run!!!!!!

And I have not yet fixed IPTABLES to handle the routing from the server
either...

I have looked at the /etc/default/openvpn file but there is nothing there that
would cause the 3 instances to start running like this.
This file is where I usually specify which instances should run.

What has happened here?
>From where were they started?
And how can I fix it such that only the instances I want running will run?


-- 
Bo Berglund
Developer in Sweden



_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to