bind to multiple ports

This is where we can discuss what we would like to see added or changed in OpenVPN.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

bind to multiple ports

Post by krzee » Wed Jun 17, 2009 9:25 pm

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.

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: bind to multiple ports

Post by Douglas » Tue Jul 07, 2009 1:07 am

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.

cron2
Developer
Posts: 24
Joined: Tue Jan 12, 2010 8:08 pm

Re: bind to multiple ports

Post by cron2 » Tue Jan 12, 2010 8:11 pm

Yes, definitely needed. udp/1194 for normal users, avoiding tcp-over-tcp nastyness, and tcp/443 for those poor souls behind stupid firewalls.

daftpunk
OpenVpn Newbie
Posts: 5
Joined: Fri Nov 19, 2010 11:51 pm

Re: bind to multiple ports

Post by daftpunk » Sat Nov 20, 2010 12:40 am

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.

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: bind to multiple ports

Post by krzee » Sat Nov 20, 2010 2:05 am

daftpunk, thanx, but that will not make openvpn use tcp and udp

Post Reply