![]() Note: in both cases PPP users must be configured properly - static entries do not replace PPP configuration.Īuthentication methods that server will accept.Ĭertificate ( name | none Default: none) Otherwise it is safe to use dynamic configuration. Dynamic interfaces are added to this list automatically whenever a user is connected and its username does not match any existing static entry (or in case the entry is active already, as there can not be two separate tunnel interfaces referenced by the same name).ĭynamic interfaces appear when a user connects and disappear once the user disconnects, so it is impossible to reference the tunnel created for that use in router configuration (for example, in firewall), so if you need a persistent rule for that user, create a static entry for him/her.Static interfaces are added administratively if there is a need to reference the particular interface name (in firewall rules or elsewhere) created for the particular user.There are two types of interfaces in OVPN server's configuration This sub-menu shows interfaces for each connected OVPN clients.Īn interface is created for each tunnel established to the given server. Port=1194 mode=ip user="test" password="123" profile=default certificate=none auth=sha1 This example demonstrates how to set up OVPN client with username "test", password "123" and server /interface ovpn-client> add connect-to=10.1.101.1 user=test password=123 /interface ovpn-client> printĠ name="ovpn-out1" mac-address=FE:7B:9C:F9:59:D0 max-mtu=1500 connect-to=10.1.101.1 Layer3 or layer2 tunnel mode (alternatively tun, tap) Max packet size that OVPN interface will be able to send without packet fragmentation. Name of the client certificate imported into certificate list.Ĭipher ( aes128 | aes192 | aes256 | blowfish128 Default: blowfish128) Whether to add OVPN remote address as a default route.Ĭertificate ( string | none Default: none) Sub-menu: /interface ovpn-client Properties PropertyĪdd-default-route ( yes | no Default: no) Note: OpenVPN username is limited to 27 characters and password to 233 characters ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |