How to set up openvpn on Mikrotik RouterOS 5.26
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I have an OpenVPN connection that works well between an Ubuntu client and a Debian server.
I want to replace the Ubuntu client with a Mikrotik router equipped with RouterOS 5.26. In order to do that I have connected to the router through SSH and realized that the shell is very different from my usual bash. So I will learn that, but, in the meantime I need help in setting up the openvpn. I have successfully imported the certificates already in the router with scp and the /certificate command. Now I have the .conf file for openvpn but I have no idea what to do with it.
Note: this connection goes through an http proxy and I'm not sure I can set that up with the web admin interface, that's why I'm doing this through ssh, because I have the conf file and know it works.
networking openvpn mikrotik-routeros
add a comment |
I have an OpenVPN connection that works well between an Ubuntu client and a Debian server.
I want to replace the Ubuntu client with a Mikrotik router equipped with RouterOS 5.26. In order to do that I have connected to the router through SSH and realized that the shell is very different from my usual bash. So I will learn that, but, in the meantime I need help in setting up the openvpn. I have successfully imported the certificates already in the router with scp and the /certificate command. Now I have the .conf file for openvpn but I have no idea what to do with it.
Note: this connection goes through an http proxy and I'm not sure I can set that up with the web admin interface, that's why I'm doing this through ssh, because I have the conf file and know it works.
networking openvpn mikrotik-routeros
add a comment |
I have an OpenVPN connection that works well between an Ubuntu client and a Debian server.
I want to replace the Ubuntu client with a Mikrotik router equipped with RouterOS 5.26. In order to do that I have connected to the router through SSH and realized that the shell is very different from my usual bash. So I will learn that, but, in the meantime I need help in setting up the openvpn. I have successfully imported the certificates already in the router with scp and the /certificate command. Now I have the .conf file for openvpn but I have no idea what to do with it.
Note: this connection goes through an http proxy and I'm not sure I can set that up with the web admin interface, that's why I'm doing this through ssh, because I have the conf file and know it works.
networking openvpn mikrotik-routeros
I have an OpenVPN connection that works well between an Ubuntu client and a Debian server.
I want to replace the Ubuntu client with a Mikrotik router equipped with RouterOS 5.26. In order to do that I have connected to the router through SSH and realized that the shell is very different from my usual bash. So I will learn that, but, in the meantime I need help in setting up the openvpn. I have successfully imported the certificates already in the router with scp and the /certificate command. Now I have the .conf file for openvpn but I have no idea what to do with it.
Note: this connection goes through an http proxy and I'm not sure I can set that up with the web admin interface, that's why I'm doing this through ssh, because I have the conf file and know it works.
networking openvpn mikrotik-routeros
networking openvpn mikrotik-routeros
edited Oct 2 '18 at 3:58
fixer1234
19.3k145082
19.3k145082
asked Jul 26 '14 at 10:59
BastianBastian
12117
12117
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
- RouterOS only support CpenVPN on TCP. (UDP transport not supported)
As far as I know, ovpn-client in RouterOS cant support HTTP proxy.
(In ROS, AFAIK, only SSTP-client can pass over http proxy.)
I know about 1, and it's ok since http proxy uses tcp and not udp. About 2, do you have any source? Anyway what I need is a way to try my conf file, then I can tell immediately if http proxy is supported or not. Thanks.
– Bastian
Jul 26 '14 at 11:40
I know sstp-client has special options for http proxy. ovpn-client dont. It can be checked in cli help /interface ovpn-client add ? /interface sstp-client add ? wiki.mikrotik.com/wiki/SSTP#Properties wiki.mikrotik.com/wiki/Manual:Interface/OVPN#Properties It 90% enshure me in (2)
– Mikhail Moskalev
Jul 26 '14 at 11:54
Try ask Mikrotik Support to add http proxy support to openvpn. Or generic tcp over https tunnel. But ovpn look abandoned by mikrotik.
– Mikhail Moskalev
Jul 26 '14 at 12:05
I have control over the vpn server so I can switch from openvpn to something else if you recommend anything that can pass through an http proxy.
– Bastian
Jul 26 '14 at 12:13
I don't found sstp server for linux. It strange, may be I don't make enough effort. You know one? In ROS, AFAIK, only SSTP-client can pass over http proxy.
– Mikhail Moskalev
Jul 26 '14 at 12:38
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f788396%2fhow-to-set-up-openvpn-on-mikrotik-routeros-5-26%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
- RouterOS only support CpenVPN on TCP. (UDP transport not supported)
As far as I know, ovpn-client in RouterOS cant support HTTP proxy.
(In ROS, AFAIK, only SSTP-client can pass over http proxy.)
I know about 1, and it's ok since http proxy uses tcp and not udp. About 2, do you have any source? Anyway what I need is a way to try my conf file, then I can tell immediately if http proxy is supported or not. Thanks.
– Bastian
Jul 26 '14 at 11:40
I know sstp-client has special options for http proxy. ovpn-client dont. It can be checked in cli help /interface ovpn-client add ? /interface sstp-client add ? wiki.mikrotik.com/wiki/SSTP#Properties wiki.mikrotik.com/wiki/Manual:Interface/OVPN#Properties It 90% enshure me in (2)
– Mikhail Moskalev
Jul 26 '14 at 11:54
Try ask Mikrotik Support to add http proxy support to openvpn. Or generic tcp over https tunnel. But ovpn look abandoned by mikrotik.
– Mikhail Moskalev
Jul 26 '14 at 12:05
I have control over the vpn server so I can switch from openvpn to something else if you recommend anything that can pass through an http proxy.
– Bastian
Jul 26 '14 at 12:13
I don't found sstp server for linux. It strange, may be I don't make enough effort. You know one? In ROS, AFAIK, only SSTP-client can pass over http proxy.
– Mikhail Moskalev
Jul 26 '14 at 12:38
add a comment |
- RouterOS only support CpenVPN on TCP. (UDP transport not supported)
As far as I know, ovpn-client in RouterOS cant support HTTP proxy.
(In ROS, AFAIK, only SSTP-client can pass over http proxy.)
I know about 1, and it's ok since http proxy uses tcp and not udp. About 2, do you have any source? Anyway what I need is a way to try my conf file, then I can tell immediately if http proxy is supported or not. Thanks.
– Bastian
Jul 26 '14 at 11:40
I know sstp-client has special options for http proxy. ovpn-client dont. It can be checked in cli help /interface ovpn-client add ? /interface sstp-client add ? wiki.mikrotik.com/wiki/SSTP#Properties wiki.mikrotik.com/wiki/Manual:Interface/OVPN#Properties It 90% enshure me in (2)
– Mikhail Moskalev
Jul 26 '14 at 11:54
Try ask Mikrotik Support to add http proxy support to openvpn. Or generic tcp over https tunnel. But ovpn look abandoned by mikrotik.
– Mikhail Moskalev
Jul 26 '14 at 12:05
I have control over the vpn server so I can switch from openvpn to something else if you recommend anything that can pass through an http proxy.
– Bastian
Jul 26 '14 at 12:13
I don't found sstp server for linux. It strange, may be I don't make enough effort. You know one? In ROS, AFAIK, only SSTP-client can pass over http proxy.
– Mikhail Moskalev
Jul 26 '14 at 12:38
add a comment |
- RouterOS only support CpenVPN on TCP. (UDP transport not supported)
As far as I know, ovpn-client in RouterOS cant support HTTP proxy.
(In ROS, AFAIK, only SSTP-client can pass over http proxy.)
- RouterOS only support CpenVPN on TCP. (UDP transport not supported)
As far as I know, ovpn-client in RouterOS cant support HTTP proxy.
(In ROS, AFAIK, only SSTP-client can pass over http proxy.)
edited Jul 26 '14 at 12:41
answered Jul 26 '14 at 11:22
Mikhail MoskalevMikhail Moskalev
1,5431113
1,5431113
I know about 1, and it's ok since http proxy uses tcp and not udp. About 2, do you have any source? Anyway what I need is a way to try my conf file, then I can tell immediately if http proxy is supported or not. Thanks.
– Bastian
Jul 26 '14 at 11:40
I know sstp-client has special options for http proxy. ovpn-client dont. It can be checked in cli help /interface ovpn-client add ? /interface sstp-client add ? wiki.mikrotik.com/wiki/SSTP#Properties wiki.mikrotik.com/wiki/Manual:Interface/OVPN#Properties It 90% enshure me in (2)
– Mikhail Moskalev
Jul 26 '14 at 11:54
Try ask Mikrotik Support to add http proxy support to openvpn. Or generic tcp over https tunnel. But ovpn look abandoned by mikrotik.
– Mikhail Moskalev
Jul 26 '14 at 12:05
I have control over the vpn server so I can switch from openvpn to something else if you recommend anything that can pass through an http proxy.
– Bastian
Jul 26 '14 at 12:13
I don't found sstp server for linux. It strange, may be I don't make enough effort. You know one? In ROS, AFAIK, only SSTP-client can pass over http proxy.
– Mikhail Moskalev
Jul 26 '14 at 12:38
add a comment |
I know about 1, and it's ok since http proxy uses tcp and not udp. About 2, do you have any source? Anyway what I need is a way to try my conf file, then I can tell immediately if http proxy is supported or not. Thanks.
– Bastian
Jul 26 '14 at 11:40
I know sstp-client has special options for http proxy. ovpn-client dont. It can be checked in cli help /interface ovpn-client add ? /interface sstp-client add ? wiki.mikrotik.com/wiki/SSTP#Properties wiki.mikrotik.com/wiki/Manual:Interface/OVPN#Properties It 90% enshure me in (2)
– Mikhail Moskalev
Jul 26 '14 at 11:54
Try ask Mikrotik Support to add http proxy support to openvpn. Or generic tcp over https tunnel. But ovpn look abandoned by mikrotik.
– Mikhail Moskalev
Jul 26 '14 at 12:05
I have control over the vpn server so I can switch from openvpn to something else if you recommend anything that can pass through an http proxy.
– Bastian
Jul 26 '14 at 12:13
I don't found sstp server for linux. It strange, may be I don't make enough effort. You know one? In ROS, AFAIK, only SSTP-client can pass over http proxy.
– Mikhail Moskalev
Jul 26 '14 at 12:38
I know about 1, and it's ok since http proxy uses tcp and not udp. About 2, do you have any source? Anyway what I need is a way to try my conf file, then I can tell immediately if http proxy is supported or not. Thanks.
– Bastian
Jul 26 '14 at 11:40
I know about 1, and it's ok since http proxy uses tcp and not udp. About 2, do you have any source? Anyway what I need is a way to try my conf file, then I can tell immediately if http proxy is supported or not. Thanks.
– Bastian
Jul 26 '14 at 11:40
I know sstp-client has special options for http proxy. ovpn-client dont. It can be checked in cli help /interface ovpn-client add ? /interface sstp-client add ? wiki.mikrotik.com/wiki/SSTP#Properties wiki.mikrotik.com/wiki/Manual:Interface/OVPN#Properties It 90% enshure me in (2)
– Mikhail Moskalev
Jul 26 '14 at 11:54
I know sstp-client has special options for http proxy. ovpn-client dont. It can be checked in cli help /interface ovpn-client add ? /interface sstp-client add ? wiki.mikrotik.com/wiki/SSTP#Properties wiki.mikrotik.com/wiki/Manual:Interface/OVPN#Properties It 90% enshure me in (2)
– Mikhail Moskalev
Jul 26 '14 at 11:54
Try ask Mikrotik Support to add http proxy support to openvpn. Or generic tcp over https tunnel. But ovpn look abandoned by mikrotik.
– Mikhail Moskalev
Jul 26 '14 at 12:05
Try ask Mikrotik Support to add http proxy support to openvpn. Or generic tcp over https tunnel. But ovpn look abandoned by mikrotik.
– Mikhail Moskalev
Jul 26 '14 at 12:05
I have control over the vpn server so I can switch from openvpn to something else if you recommend anything that can pass through an http proxy.
– Bastian
Jul 26 '14 at 12:13
I have control over the vpn server so I can switch from openvpn to something else if you recommend anything that can pass through an http proxy.
– Bastian
Jul 26 '14 at 12:13
I don't found sstp server for linux. It strange, may be I don't make enough effort. You know one? In ROS, AFAIK, only SSTP-client can pass over http proxy.
– Mikhail Moskalev
Jul 26 '14 at 12:38
I don't found sstp server for linux. It strange, may be I don't make enough effort. You know one? In ROS, AFAIK, only SSTP-client can pass over http proxy.
– Mikhail Moskalev
Jul 26 '14 at 12:38
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f788396%2fhow-to-set-up-openvpn-on-mikrotik-routeros-5-26%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown