Community discussions

MikroTik App
 
cpliu903
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Wed Apr 01, 2015 10:20 am

Can listen two ports on OpenVPN Server?

Mon Apr 11, 2016 4:29 am

Can listen two ports ( TCP 443, 1194 ) on OpenVPN Server?


Refer to this topic, it seems WRT can support run two instance with tow Seperate Ports.
http://blog.omotech.com/?p=602
 
Van9018
Long time Member
Long time Member
Posts: 558
Joined: Mon Jun 16, 2014 6:26 pm
Location: Canada - Abbotsford

Re: Can listen two ports on OpenVPN Server?

Tue Apr 12, 2016 5:37 am

I don't think it can run two instances, but with NAT port forwarding you should be able to get 1 instance to listen on two ports.

Use a dst-nat, when packets for port 443 come in via wan1, then action=dst-nat, to-port: 1194
 
cpliu903
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Wed Apr 01, 2015 10:20 am

Re: Can listen two ports on OpenVPN Server?

Tue Apr 12, 2016 9:21 am

I don't think it can run two instances, but with NAT port forwarding you should be able to get 1 instance to listen on two ports.

Use a dst-nat, when packets for port 443 come in via wan1, then action=dst-nat, to-port: 1194
When ROS support UDP mode, how to port forward from TCP 443 to UDP 1194 ?
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Can listen two ports on OpenVPN Server?

Tue Apr 12, 2016 6:07 pm

You can't just change one protocol into another. But I would worry about that when it happens. I mean, udp support was promissed for RouterOS 7, but no one outside of MikroTik has seen a single bit of it yet, so it's not like it will be out tomorrow (I wouldn't mind being wrong here ;)).

Who is online

Users browsing this forum: GoogleOther [Bot], Irish9 and 87 guests