Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [Resolved] Surfshark-vpn (Read 1567 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

[Resolved] Surfshark-vpn

Installation: Base
Init: S6

Code: [Select]
s6-rc -a list

s6rc-oneshot-runner
s6rc-fdholder
NetworkManager-log
NetworkManager-srv
agetty-tty1
agetty-tty2
agetty-tty3
agetty-tty4
agetty-tty5
agetty-tty6
cupsd
dbus-log
dbus-srv
mpd-log
mpd-srv
udevd-log
udevd-srv
binfmt
cleanup
console-setup
dmesg
early-getty-down
hostname
hwclock
kmod-static-nodes
modules
mount-cgroups
mount-devfs
mount-filesystems
mount-net
mount-procfs
mount-sysfs
net-lo
random-seed
rc-local
remount-root
swap
sysctl
sysuser
tmpfiles-dev
tmpfiles-setup
udevadm


Whenever I attempt to use the VPN client for surfshark-vpn, I am unable to establish a connection.

Code: [Select]
sudo surfshark-vpn attack
doas (rabbitrabbit@artixs6) password:

Enter a number to select the VPN connection type. For default UDP, press ENTER
0 TCP
1 UDP
1 selected

1

Checking for connection status...
Not connected to Surfshark VPN
Was unable to connect to VPN server. Please try another server.

There is an alternate method, yet yields the same results.

Code: [Select]
 sudo surfshark-vpn
doas (rabbitrabbit@artixs6) password:

0 Albania Tirana
1 Argentina Buenos Aires
2 Australia Perth
3 Australia Adelaide
4 Australia Melbourne
5 Australia Brisbane
6 Australia Sydney
7 Austria Vienna
8 Azerbaijan Baku
9 Belgium Brussels
10 Bosnia and Herzegovina Sarajevo
11 Brazil Sao Paulo
12 Bulgaria Sofia
13 Canada Montreal
14 Canada Toronto
15 Canada Vancouver
16 Chile Santiago
17 Colombia Bogota
18 Costa Rica San Jose
19 Croatia Zagreb
20 Cyprus Nicosia
21 Czech Republic Prague
22 Denmark Copenhagen
23 Estonia Tallinn
24 Finland Helsinki
25 France Marseille
26 France Paris
27 France Bordeaux
28 Germany Frankfurt am Main
29 Germany Berlin
30 Germany Nuremberg
31 Germany Munich
32 Greece Athens
33 Hong Kong Hong Kong
34 Hungary Budapest
35 Iceland Reykjavik
36 India Mumbai
37 India Indore
38 India Chennai
39 Indonesia Jakarta
40 Ireland Dublin
press enter for next page
41 Israel Tel Aviv
42 Italy Rome
43 Italy Milan
44 Japan Tokyo
45 Kazakhstan Oral
46 Latvia Riga
47 Luxembourg Luxembourg
48 Malaysia Kuala Lumpur
49 Mexico Mexico City
50 Moldova Chisinau
51 Netherlands Amsterdam
52 New Zealand Auckland
53 Nigeria Lagos
54 North Macedonia Skopje
55 Norway Oslo
56 Paraguay Asunción
57 Philippines Manila
58 Poland Warsaw
59 Poland Gdansk
60 Portugal Lisbon
61 Portugal Porto
62 Romania Bucharest
63 Russia Moscow
64 Serbia Belgrade
65 Singapore Singapore
66 Slovakia Bratislava
67 Slovenia Ljubljana
68 South Africa Johannesburg
69 South Korea Seoul
70 Spain Barcelona
71 Spain Valencia
72 Spain Madrid
73 Sweden Stockholm
74 Switzerland Zurich
75 Taiwan Taichung City
76 Thailand Bangkok
77 Turkey Istanbul
78 Ukraine Kyiv
79 United Arab Emirates Dubai
80 United Kingdom London
81 United Kingdom Manchester
82 United Kingdom Glasgow
press enter for next page
83 United States Latham
84 United States New York
85 United States Buffalo
86 United States Boston
87 United States Philadelphia
88 United States Manassas
89 United States Detroit
90 United States Miami
91 United States Charlotte
92 United States St. Louis
93 United States Chicago
94 United States Tampa
95 United States Orlando
96 United States Atlanta
97 United States Denver
98 United States Seattle
99 United States Kansas City
100 United States Dallas
101 United States Bend
102 United States Houston
103 United States Salt Lake City
104 United States Las Vegas
105 United States Phoenix
106 United States San Francisco
107 United States Los Angeles
108 Vietnam Ho Chi Minh City
Enter a number to select the location

90
Enter a number to select the VPN connection type. For default UDP, press ENTER
0 TCP
1 UDP
1 selected

1

Checking for connection status...
Not connected to Surfshark VPN
Was unable to connect to VPN server. Please try another server.

And with the TCP option:

Code: [Select]
 sudo surfshark-vpn
doas (rabbitrabbit@artixs6) password:

0 Albania Tirana
1 Argentina Buenos Aires
2 Australia Perth
3 Australia Adelaide
4 Australia Melbourne
5 Australia Brisbane
6 Australia Sydney
7 Austria Vienna
8 Azerbaijan Baku
9 Belgium Brussels
10 Bosnia and Herzegovina Sarajevo
11 Brazil Sao Paulo
12 Bulgaria Sofia
13 Canada Montreal
14 Canada Toronto
15 Canada Vancouver
16 Chile Santiago
17 Colombia Bogota
18 Costa Rica San Jose
19 Croatia Zagreb
20 Cyprus Nicosia
21 Czech Republic Prague
22 Denmark Copenhagen
23 Estonia Tallinn
24 Finland Helsinki
25 France Marseille
26 France Paris
27 France Bordeaux
28 Germany Frankfurt am Main
29 Germany Berlin
30 Germany Nuremberg
31 Germany Munich
32 Greece Athens
33 Hong Kong Hong Kong
34 Hungary Budapest
35 Iceland Reykjavik
36 India Mumbai
37 India Indore
38 India Chennai
39 Indonesia Jakarta
40 Ireland Dublin
press enter for next page
41 Israel Tel Aviv
42 Italy Rome
43 Italy Milan
44 Japan Tokyo
45 Kazakhstan Oral
46 Latvia Riga
47 Luxembourg Luxembourg
48 Malaysia Kuala Lumpur
49 Mexico Mexico City
50 Moldova Chisinau
51 Netherlands Amsterdam
52 New Zealand Auckland
53 Nigeria Lagos
54 North Macedonia Skopje
55 Norway Oslo
56 Paraguay Asunción
57 Philippines Manila
58 Poland Warsaw
59 Poland Gdansk
60 Portugal Lisbon
61 Portugal Porto
62 Romania Bucharest
63 Russia Moscow
64 Serbia Belgrade
65 Singapore Singapore
66 Slovakia Bratislava
67 Slovenia Ljubljana
68 South Africa Johannesburg
69 South Korea Seoul
70 Spain Barcelona
71 Spain Valencia
72 Spain Madrid
73 Sweden Stockholm
74 Switzerland Zurich
75 Taiwan Taichung City
76 Thailand Bangkok
77 Turkey Istanbul
78 Ukraine Kyiv
79 United Arab Emirates Dubai
80 United Kingdom London
81 United Kingdom Manchester
82 United Kingdom Glasgow
press enter for next page
83 United States Latham
84 United States New York
85 United States Buffalo
86 United States Boston
87 United States Philadelphia
88 United States Manassas
89 United States Detroit
90 United States Miami
91 United States Charlotte
92 United States St. Louis
93 United States Chicago
94 United States Tampa
95 United States Orlando
96 United States Atlanta
97 United States Denver
98 United States Seattle
99 United States Kansas City
100 United States Dallas
101 United States Bend
102 United States Houston
103 United States Salt Lake City
104 United States Las Vegas
105 United States Phoenix
106 United States San Francisco
107 United States Los Angeles
108 Vietnam Ho Chi Minh City
Enter a number to select the location
90
Enter a number to select the VPN connection type. For default UDP, press ENTER
0 TCP
1 UDP
1 selected

0

Checking for connection status...
Not connected to Surfshark VPN
Was unable to connect to VPN server. Please try another server.

With foreign server:

Code: [Select]
sudo surfshark-vpn
doas (rabbitrabbit@artixs6) password:

0 Albania Tirana
1 Argentina Buenos Aires
2 Australia Perth
3 Australia Adelaide
4 Australia Melbourne
5 Australia Brisbane
6 Australia Sydney
7 Austria Vienna
8 Azerbaijan Baku
9 Belgium Brussels
10 Bosnia and Herzegovina Sarajevo
11 Brazil Sao Paulo
12 Bulgaria Sofia
13 Canada Montreal
14 Canada Toronto
15 Canada Vancouver
16 Chile Santiago
17 Colombia Bogota
18 Costa Rica San Jose
19 Croatia Zagreb
20 Cyprus Nicosia
21 Czech Republic Prague
22 Denmark Copenhagen
23 Estonia Tallinn
24 Finland Helsinki
25 France Marseille
26 France Paris
27 France Bordeaux
28 Germany Frankfurt am Main
29 Germany Berlin
30 Germany Nuremberg
31 Germany Munich
32 Greece Athens
33 Hong Kong Hong Kong
34 Hungary Budapest
35 Iceland Reykjavik
36 India Mumbai
37 India Indore
38 India Chennai
39 Indonesia Jakarta
40 Ireland Dublin
press enter for next page
41 Israel Tel Aviv
42 Italy Rome
43 Italy Milan
44 Japan Tokyo
45 Kazakhstan Oral
46 Latvia Riga
47 Luxembourg Luxembourg
48 Malaysia Kuala Lumpur
49 Mexico Mexico City
50 Moldova Chisinau
51 Netherlands Amsterdam
52 New Zealand Auckland
53 Nigeria Lagos
54 North Macedonia Skopje
55 Norway Oslo
56 Paraguay Asunción
57 Philippines Manila
58 Poland Warsaw
59 Poland Gdansk
60 Portugal Lisbon
61 Portugal Porto
62 Romania Bucharest
63 Russia Moscow
64 Serbia Belgrade
65 Singapore Singapore
66 Slovakia Bratislava
67 Slovenia Ljubljana
68 South Africa Johannesburg
69 South Korea Seoul
70 Spain Barcelona
71 Spain Valencia
72 Spain Madrid
73 Sweden Stockholm
74 Switzerland Zurich
75 Taiwan Taichung City
76 Thailand Bangkok
77 Turkey Istanbul
78 Ukraine Kyiv
79 United Arab Emirates Dubai
80 United Kingdom London
81 United Kingdom Manchester
82 United Kingdom Glasgow
press enter for next page
83 United States Latham
84 United States New York
85 United States Buffalo
86 United States Boston
87 United States Philadelphia
88 United States Manassas
89 United States Detroit
90 United States Miami
91 United States Charlotte
92 United States St. Louis
93 United States Chicago
94 United States Tampa
95 United States Orlando
96 United States Atlanta
97 United States Denver
98 United States Seattle
99 United States Kansas City
100 United States Dallas
101 United States Bend
102 United States Houston
103 United States Salt Lake City
104 United States Las Vegas
105 United States Phoenix
106 United States San Francisco
107 United States Los Angeles
108 Vietnam Ho Chi Minh City
Enter a number to select the location
108
Enter a number to select the VPN connection type. For default UDP, press ENTER
0 TCP
1 UDP
1 selected

1

Checking for connection status...
Not connected to Surfshark VPN
Was unable to connect to VPN server. Please try another server.

I do have wireguard installed.

Code: [Select]
cat /etc/resolv.conf 

# Generated by NetworkManager
nameserver 192.168.1.1

Any assistance is always appreciated. Will be happy to provide more information with regard to my system that will assist in resolving this issue.

Re: Surfshark-vpn

Reply #1
Installation: Base
Init: S6

Code: [Select]
s6-rc -a list

s6rc-oneshot-runner
s6rc-fdholder
NetworkManager-log
NetworkManager-srv
agetty-tty1
agetty-tty2
agetty-tty3
agetty-tty4
agetty-tty5
agetty-tty6
cupsd
dbus-log
dbus-srv
mpd-log
mpd-srv
udevd-log
udevd-srv
binfmt
cleanup
console-setup
dmesg
early-getty-down
hostname
hwclock
kmod-static-nodes
modules
mount-cgroups
mount-devfs
mount-filesystems
mount-net
mount-procfs
mount-sysfs
net-lo
random-seed
rc-local
remount-root
swap
sysctl
sysuser
tmpfiles-dev
tmpfiles-setup
udevadm


Hi,

I do not see any wireguard service there.

Have you installed the kernel wireguard-dkms modules, the wireguard-s6 service, and enabled it?

Check also our Wiki

Re: Surfshark-vpn

Reply #2
I apologize for forgetting to enable the service.

Code: [Select]
[artixs6 rabbitrabbit]# s6-rc -a list

s6rc-oneshot-runner
s6rc-fdholder
NetworkManager-log
NetworkManager-srv
agetty-tty1
agetty-tty2
agetty-tty3
agetty-tty4
agetty-tty5
agetty-tty6
cupsd
dbus-log
dbus-srv
mpd-log
mpd-srv
udevd-log
udevd-srv
binfmt
cleanup
console-setup
dmesg
early-getty-down
hostname
hwclock
kmod-static-nodes
modules
mount-cgroups
mount-devfs
mount-filesystems
mount-net
mount-procfs
mount-sysfs
net-lo
random-seed
rc-local
remount-root
swap
sysctl
sysuser
tmpfiles-dev
tmpfiles-setup
udevadm
wireguard

When I configure the wireguard for my system in order to be able to connect with Surfshark-VPN; can the name of the interface be a custom name or must it match the output of one in"ip addr"? Also, since Wireguard is in the Linux kernel according to https://wiki.archlinux.org/index.php/WireGuard, I do not require the package "wireguard-dkms modules", correct?

Re: Surfshark-vpn

Reply #3
When I configure the wireguard for my system in order to be able to connect with Surfshark-VPN; can the name of the interface be a custom name or must it match the output of one in"ip addr"? Also, since Wireguard is in the Linux kernel according to https://wiki.archlinux.org/index.php/WireGuard, I do not require the package "wireguard-dkms modules", correct?
As mentioned before, use our Wiki, instead of Arch's

dkms is the module (daemon), so in order to to start, you need the service too.


Re: Surfshark-vpn

Reply #4
My issue is no longer present, though I am not sure what solved it. After one of the many reboots, I am able to connect. I apologize for inconveniencing  you today.

 

Re: Surfshark-vpn

Reply #5
Nice, then I am marking this as solved