[surfshark] local address / endpoint?

Use this forum to share your VPN or network disasters. Show diagrams, traffic graphs, or whatever else you need (a video of you letting the 'smoke' out of our network gear).
Locked
JustJinxed
OpenVpn Newbie
Posts: 7
Joined: Sat Jun 18, 2022 7:37 pm

[surfshark] local address / endpoint?

Post by JustJinxed » Sat Jun 18, 2022 8:12 pm

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?

User avatar
TinCanTech
Forum Team
Posts: 10826
Joined: Fri Jun 03, 2016 1:17 pm

Re: [new user] local address / endpoint?

Post by TinCanTech » Sat Jun 18, 2022 8:22 pm

Unused options are exactly that, unused..

JustJinxed
OpenVpn Newbie
Posts: 7
Joined: Sat Jun 18, 2022 7:37 pm

Re: [new user] local address / endpoint?

Post by JustJinxed » Sat Jun 18, 2022 8:47 pm

TinCanTech wrote:
Sat Jun 18, 2022 8:22 pm
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?

User avatar
TinCanTech
Forum Team
Posts: 10826
Joined: Fri Jun 03, 2016 1:17 pm

Re: [new user] local address / endpoint?

Post by TinCanTech » Sat Jun 18, 2022 8:57 pm

One might equally call your question a trolling question.

For example:
JustJinxed wrote:
Sat Jun 18, 2022 8:12 pm
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:
viewtopic.php?t=22603

JustJinxed
OpenVpn Newbie
Posts: 7
Joined: Sat Jun 18, 2022 7:37 pm

Re: [new user] local address / endpoint?

Post by JustJinxed » Sat Jun 18, 2022 9:04 pm

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

User avatar
TinCanTech
Forum Team
Posts: 10826
Joined: Fri Jun 03, 2016 1:17 pm

Re: [new user] local address / endpoint?

Post by TinCanTech » Sat Jun 18, 2022 9:04 pm

You may find --ifconfig-push in the manual of help.

JustJinxed
OpenVpn Newbie
Posts: 7
Joined: Sat Jun 18, 2022 7:37 pm

Re: [new user] local address / endpoint?

Post by JustJinxed » Sat Jun 18, 2022 9:30 pm

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?

User avatar
TinCanTech
Forum Team
Posts: 10826
Joined: Fri Jun 03, 2016 1:17 pm

Re: [new user] local address / endpoint?

Post by TinCanTech » Sat Jun 18, 2022 10:37 pm

JustJinxed wrote:
Sat Jun 18, 2022 9:30 pm
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
OpenVpn Newbie
Posts: 7
Joined: Sat Jun 18, 2022 7:37 pm

Re: [new user] local address / endpoint?

Post by JustJinxed » Sat Jun 18, 2022 10:46 pm

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.

User avatar
TinCanTech
Forum Team
Posts: 10826
Joined: Fri Jun 03, 2016 1:17 pm

Re: [new user] local address / endpoint?

Post by TinCanTech » Sat Jun 18, 2022 10:49 pm

JustJinxed wrote:
Sat Jun 18, 2022 10:46 pm
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
OpenVpn Newbie
Posts: 7
Joined: Sat Jun 18, 2022 7:37 pm

Re: [new user] local address / endpoint?

Post by JustJinxed » Sat Jun 18, 2022 11:02 pm


User avatar
TinCanTech
Forum Team
Posts: 10826
Joined: Fri Jun 03, 2016 1:17 pm

Re: [new user] local address / endpoint?

Post by TinCanTech » Sun Jun 19, 2022 12:10 am

You must configure your server.

JustJinxed
OpenVpn Newbie
Posts: 7
Joined: Sat Jun 18, 2022 7:37 pm

Re: [new user] local address / endpoint?

Post by JustJinxed » Sun Jun 19, 2022 5:21 am

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.

User avatar
TinCanTech
Forum Team
Posts: 10826
Joined: Fri Jun 03, 2016 1:17 pm

Re: [surfshark] local address / endpoint?

Post by TinCanTech » Sun Jun 19, 2022 10:17 am

I use a 3rd party VPN service (surfshark). There is no way for me to "configure" their servers.
Then you cannot have your way.

User avatar
Pippin
Forum Team
Posts: 1053
Joined: Wed Jul 01, 2015 8:03 am

Re: [surfshark] local address / endpoint?

Post by Pippin » Sun Jun 19, 2022 11:03 pm

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...

User avatar
Pippin
Forum Team
Posts: 1053
Joined: Wed Jul 01, 2015 8:03 am

Re: [surfshark] local address / endpoint?

Post by Pippin » Mon Jun 20, 2022 3:41 am

The answer was given.

Locking this thread and clean the off topic stuff.

Locked