6/24/2023 0 Comments Openvpn access server portIn this section, we assume thatyou know what firewall you are using. ![]() Then you have to open your new config file with a text editor to edit the lines that refer to Port, Protocol stack and IP: nano nfĮdit the following lines and change the red parts to your preferred values:įor packet forwarding, you need to add a rule for the new IP range in you firewall. ![]() Make sure that you change the port and IP range.įirst, you need to make a copy of your config file: cd /etc/openvpn/ cp nf nf You should create a second config file just like your primary one. These instructions are working on CentOS 7, Debian 8 and Ubuntu 16. Prerequisitesįor this tutorial, you need a working OpenVPN server, If you don’t check out our OpenVPN configuration articles.Ĭonfigure OpenVPN on Debian and Ubuntu server We are assuming that you have root permission, otherwise, you may start commands with “sudo”. In this tutorial, we are going to make OpenVPN run several configuration files which may be used to run multi-protocol (TCP and UDP at the same time) or several ports.
0 Comments
Leave a Reply. |