Hi,
In order to establish a connection via STUN, we need to be able to ask openvpn to use a specific source port on client mode. For example we need to be able to ask to connect in UDP to 1.1.1.1:35000 with source port 36000.
By default openvpn uses random source ports. Is it possible to have control over source port used by openvpn?
Thank's a lot in advance!
Pierre.
Force source port (client)- STUN
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 5
- Joined: Fri Apr 13, 2018 10:57 am
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Force source port (client)- STUN
See --lport in the manual.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Fri Apr 13, 2018 10:57 am
Re: Force source port (client)- STUN
Ok Thanks a lot!
Sorry for once again asking for a trivial question.
Sorry for once again asking for a trivial question.