Line 4: |
Line 4: |
| | | |
| This guide provides a configuration example with details on how to configure OpenVPN connection between MikroTik and RUTxxx routers. The server will be MikroTik device and the client will be our RUTxxx router. | | This guide provides a configuration example with details on how to configure OpenVPN connection between MikroTik and RUTxxx routers. The server will be MikroTik device and the client will be our RUTxxx router. |
− |
| |
− | {{#ifeq:{{{series}}}|RUTX|
| |
− | <span style="color: red;">The information in this page is updated in accordance with the <span style="color: #0054A6;"><b>[[Media:{{{fw_version}}}_single.bin|{{{fw_version}}}]]</b></span> firmware version.</span>|
| |
− | }}
| |
− |
| |
| | | |
| ==Prerequisites== | | ==Prerequisites== |
Line 90: |
Line 85: |
| Access RUTxxx WebUI and go to '''Service > VPN > OpenVPN'''. There create a new configuration by selecting role '''Client''', writing '''New configuration name''' and pressing '''Add New''' button. It should appear after a few seconds. Then press '''Edit'''. | | Access RUTxxx WebUI and go to '''Service > VPN > OpenVPN'''. There create a new configuration by selecting role '''Client''', writing '''New configuration name''' and pressing '''Add New''' button. It should appear after a few seconds. Then press '''Edit'''. |
| | | |
− | {{#ifeq:{{{series}}}|RUTX|
| |
− | [[File:Networking_rutx_configuration_example_ovpn_mikrotik_3_v1.png|border|class=tlt-border]]|
| |
| [[File:Networking_rutxxx_configuration_example_ovpn_mikrotik_3_v1.jpg|border|class=tlt-border]] | | [[File:Networking_rutxxx_configuration_example_ovpn_mikrotik_3_v1.jpg|border|class=tlt-border]] |
− | }}
| |
| | | |
| Then apply the following configuration. | | Then apply the following configuration. |
| | | |
− | {{#ifeq:{{{series}}}|RUTX|
| |
− | [[File:Networking_rutx_configuration_example_ovpn_mikrotik_4_v1.png|border|class=tlt-border]]|
| |
| [[File:Networking_rutxxx_configuration_example_ovpn_mikrotik_4_v1.jpg|border|class=tlt-border]] | | [[File:Networking_rutxxx_configuration_example_ovpn_mikrotik_4_v1.jpg|border|class=tlt-border]] |
− | }}
| + | |
| | | |
| # '''Enable''' Instance. | | # '''Enable''' Instance. |
Line 117: |
Line 107: |
| ==Testing configuration== | | ==Testing configuration== |
| | | |
− | {{#ifeq:{{{series}}}|RUTX||
| |
| Go to '''Status > Routes''' and in the '''Active IP Routes''' table you should see these two new routes. | | Go to '''Status > Routes''' and in the '''Active IP Routes''' table you should see these two new routes. |
| | | |
| [[File:Networking_rutxxx_configuration_example_ovpn_mikrotik_5_v1.jpg|border|class=tlt-border]] | | [[File:Networking_rutxxx_configuration_example_ovpn_mikrotik_5_v1.jpg|border|class=tlt-border]] |
− | }}
| + | |
| Try to ping the remote VPN endpoint via '''CLI''' or '''SSH''' using this command: | | Try to ping the remote VPN endpoint via '''CLI''' or '''SSH''' using this command: |
| | | |
| ping 192.168.8.250 | | ping 192.168.8.250 |
| | | |
− | {{#ifeq:{{{series}}}|RUTX|
| |
− | [[File:Networking_rutx_configuration_example_ovpn_mikrotik_6_v1.png|border|class=tlt-border]]|
| |
| [[File:Networking rutxxx configuration example ovpn mikrotik 6 v1.jpg|border|class=tlt-border]] | | [[File:Networking rutxxx configuration example ovpn mikrotik 6 v1.jpg|border|class=tlt-border]] |
− | }}
| |