Page 1 of 1

bind to multiple ports

Posted: Wed Jun 17, 2009 9:25 pm
by krzee
i would like to see openvpn able to listen to multiple ports possibly on both udp and tcp
example: udp 53 / tcp 443

I do not understand why this does not exist yet, seems like it should be much easier than my other request was.

Re: bind to multiple ports

Posted: Tue Jul 07, 2009 1:07 am
by Douglas
krzee wrote:i would like to see openvpn able to listen to multiple ports possibly on both udp and tcp
example: udp 53 / tcp 443

I do not understand why this does not exist yet, seems like it should be much easier than my other request was.
I think that feature would be a great asset to OpenVPN.

Re: bind to multiple ports

Posted: Tue Jan 12, 2010 8:11 pm
by cron2
Yes, definitely needed. udp/1194 for normal users, avoiding tcp-over-tcp nastyness, and tcp/443 for those poor souls behind stupid firewalls.

Re: bind to multiple ports

Posted: Sat Nov 20, 2010 12:40 am
by daftpunk
crud, accidentally started a new topic instead of replying.

Anyway, see your other post (on randomized ports) for a quick fix that doesn't require any code changes.

iptables -A INPUT -i eth0 -j DNAT ....

Then map ports to your heart's content.

Re: bind to multiple ports

Posted: Sat Nov 20, 2010 2:05 am
by krzee
daftpunk, thanx, but that will not make openvpn use tcp and udp