• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Openvpn client lport

Scheduled Pinned Locked Moved OpenVPN
4 Posts 3 Posters 3.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    majortom1981
    last edited by Apr 6, 2011, 8:56 PM

    This is more of an openvpn problem but  i figured I would try here also. The problem i am having is i want the openvpn client to use a specific port . By default the config is set as nobind so that windows assigns a random port.

    My problem is when i change nobind to lport windows is still assigning a random port. I have pfense only allowing 1194 in . So I am trying to get the openvpn clients to go to pfsense using port 1194 . Has anybody ran into this? I am using windows 7 x64

    1 Reply Last reply Reply Quote 0
    • C
      Cry Havok
      last edited by Apr 6, 2011, 9:57 PM

      Why only allow 1194 in? Is there any specific reason for this?

      1 Reply Last reply Reply Quote 0
      • M
        majortom1981
        last edited by Apr 6, 2011, 10:05 PM

        To be a little more secure

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Apr 11, 2011, 2:48 PM

          Odds are some router ahead of you will rewrite that port anyhow.

          Even if windows kept it the same, any router in front of that doing NAT would likely randomize the source port when doing translation.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received