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.
specifying source port for connections?
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Nov 19, 2010 11:28 pm
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: specifying source port for connections?
you are probably using --nobind on your client
remove that, and see --lport in the man page http://openvpn.net/man-beta.html
remove that, and see --lport in the man page http://openvpn.net/man-beta.html