specifying source port for connections?

Need help configuring your VPN? Just post here and you'll get that help.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
solinym
OpenVpn Newbie
Posts: 4
Joined: Fri Nov 19, 2010 11:28 pm

specifying source port for connections?

Post by solinym » Fri Nov 19, 2010 11:37 pm

Hey, I noticed that when I specify a port for OpenVPN in the config file, it seems to select that port on the server side, but not on the client side. The client side seems to not bind to a specific port, so it gets something in the anonymous range.

It would be nice if I could pin openvpn to a specific port on the client side, if I wanted. This would enable me to handle it specially in certain cases (e.g. via a firewall), such as giving it a higher QOS rating.

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

Re: specifying source port for connections?

Post by krzee » Fri Nov 19, 2010 11:53 pm

you are probably using --nobind on your client
remove that, and see --lport in the man page http://openvpn.net/man-beta.html

Post Reply