JustJinxed
I'm fairly new to trying to figure this all out, so please go easy? I'm trying to bind the "endpoint" for OpenVPN to a static address. It keeps trying to use anything in the 10.7.7.XXX range, and I'd like it to stick to 10.7.7.13 is possible, instead of dynamically picking something random.
>ipconfig
Unknown adapter Local Area Connection:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 10.7.7.5
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
I've tried several options in the .opnv file that I've seen in other documentation, such as: local, endpoint, etc. But the log indicates these options are [UNUSED]. I've been searching forums and documentation now for a couple of days, and no luck. Is there some option so I can stick the local IPv4 Adress to a static one?
TinCanTech
Unused options are exactly that, unused..
JustJinxed
TinCanTech wrote
Unused options are exactly that, unused..
That's a totally helpful answer.... not?
And you're an admin/mod? Wth? Why do you people act like this? I've seen such other answers given on other questions, and seriously don't understand why you even bother?
TinCanTech
One might equally call your question
a trolling question.
For example:
JustJinxed wrote
I'm trying to bind the "endpoint" for OpenVPN to a static address
What does that mean ?
For the answers you seek, please start here:
https://forums.openvpn.net/viewtopic.php?t=22603
JustJinxed
I honestly don't know, I've been scrambling. I saw the term endpoint used in this...
https://openvpn.net/community-resources/how-to/
I'm going to try to use some new terms, and maybe convey what I mean better: I'm just trying to set the virtual adapter IP address?
As I said, I'm new to all this. Cut me some slack here
TinCanTech
You may find --ifconfig-push in the manual of help.
JustJinxed
I've been trying to set this option in the .opvn file.. I don't have any idea what OpenVPN Connect for windows considers the server file? There's no sample config files in this edition either. There also not really a documentation for this product, that I can find on the website anyhow?
TinCanTech
JustJinxed wrote
I've been trying to set this option in the .opvn file..
It does not work that way because it must be pushed by the server.
JustJinxed
I gather that much, but how do we configure the "server" in this case? I've tried modifying the virtual connector IPV4 settings, there's no agent configuration that I can find, and the documentation doesn't exist for this product.
TinCanTech
JustJinxed wrote
I've tried modifying the virtual connector IPV4 settings. there's no agent configuration that I can find, and the documentation doesn't exist for this product
Which product ?
JustJinxed
TinCanTech
You must configure your server.
JustJinxed
I don't know what you mean by that. I use a 3rd party VPN service (surfshark). There is no way for me to "configure" their servers. They wouldn't be the ones setting an ip address on my system anyhow. This version of OpenVPN uses a windows service called OpenVPN Agent it seems, as a sort of mock "server", but I don't know how or where it pulls its configuration from. And doesn't seem to matter if you set the IP address for the TAP adapter manually or not. It's ignored when the connection is made.
Sure would be nice to talk to someone who knows more about this, than I do. Does OpenVPN have any official support channels or discord for this particular product? Because it seems like our confusion is, you think I've been talking about openvpn this entire time.
TinCanTech
I use a 3rd party VPN service (surfshark). There is no way for me to "configure" their servers.
Then you
cannot have your way.
JustJinxed
It's an IP on My machine, not theirs. I'm NOT talking about the external IP... I'm talking about the LOCAL IP the TAP adapter on my windows machine chooses.
The fact I have researched and found more information about this than someone who's supposedly here to support this product, is downright laughable.
JustJinxed
I honestly don't know why I continue this conversation with you, I have seen your track record of DOWNRIGHT ignorant and rude replies to people on this forum. Why is someone keeping you here?
TinCanTech
Go buy a book on networking and/or openvpn and learn how it works in the real world.
JustJinxed
You know, I'm going to be nice instead of what I just typed, and just say, you need to find a job you actually like and aren't a 100% prick at. Go look at your post history where you're seen insulting 1/3rd of the people who ask questions. Likewise half your replies to people on this board are outright disinformation, such as this. I'll give you one credit tho. This is a TAP Adapter issue, not a VPN Connect issue. But you didn't even know that much.
I sure hope you're not paid to be here, because half the time, you don't give a single care.
Pippin
Hi,
The IP on the TAP adapter is pushed by the server you connect to, it cannot be set client side, you are the client.
So, to have a static tunnel address (IP on TAP) you would have to ask Surfshark.
Question is, why you want it to be static?
PS
Lets keep it friendly peeps...
TinCanTech
Do [surfshark] allow
thier users to choose
their own IP ?
[PUSH_REPLY] dev-tap allow-fqdn ifconfig-push 7.7.7.7 255.255.255.255 metric imperial client-id 1~ish