Angristan OpenVPN doesn't work on Debian 9

New to Debian (Or Linux in general)? Ask your questions here!

Angristan OpenVPN doesn't work on Debian 9

Postby aliweb » 2018-07-20 06:14

Hi,

I installed Angristan OpenVPN https://github.com/Angristan/OpenVPN-install on Debain 9 and here's what happened.

1. The client connects successfully. IP is assigned and the icon turns green.
2. But the internet doesn't work except for a couple of websites. Bing opens but Google, Reddit, Yahoo etc. doesn't. I think Wikipedia also works. So there are only a handful of websites that open on VPN.

The issue is only happening on Debian 9 because I used it on Debian 7 and 8 and in both cases, VPN worked perfectly.

What is causing this issue and is there any way to resolve it?

Thanks
aliweb
 
Posts: 26
Joined: 2017-08-04 05:54

Re: Angristan OpenVPN doesn't work on Debian 9

Postby arzgi » 2018-07-20 09:28

aliweb wrote:Hi,

I installed Angristan OpenVPN https://github.com/Angristan/OpenVPN-install on Debain 9 and here's what happened.

1. The client connects successfully. IP is assigned and the icon turns green.
2. But the internet doesn't work except for a couple of websites. Bing opens but Google, Reddit, Yahoo etc. doesn't. I think Wikipedia also works. So there are only a handful of websites that open on VPN.

The issue is only happening on Debian 9 because I used it on Debian 7 and 8 and in both cases, VPN worked perfectly.

What is causing this issue and is there any way to resolve it?

Thanks



There is openvpn in debian statble repo, why not use it?
arzgi
 
Posts: 386
Joined: 2008-02-21 17:03
Location: Finland

Re: Angristan OpenVPN doesn't work on Debian 9

Postby aliweb » 2018-07-20 09:59

Thanks, as I didn't know about this. Are you talking about this?
https://packages.debian.org/stable/net/openvpn

Is this easy to install like Angristan?
aliweb
 
Posts: 26
Joined: 2017-08-04 05:54

Re: Angristan OpenVPN doesn't work on Debian 9

Postby arzgi » 2018-07-20 10:29

aliweb wrote:Thanks, as I didn't know about this. Are you talking about this?
https://packages.debian.org/stable/net/openvpn

Is this easy to install like Angristan?


I would say it is even easier, as root:
Code: Select all
apt install openvpn


Then threre are also these:
    p gadmin-openvpn-client - GTK+ configuration tool for openvpn (client)
    p gadmin-openvpn-server - GTK+ configuration tool for openvpn (server)
    p gadmin-openvpn-server-dbg - GTK+ configuration tool for openvpn (debug)
    p network-manager-openvpn - network management framework (OpenVPN plugin
    p network-manager-openvpn-gnome - network management framework (OpenVPN plugin
If you use gnome or xfce. Or network-manager, which I personally do not recommend.

About usage, can't say because I've not used either. But in the otherhand, it is more likely you get support here and documentation is better if you use Debian version.
arzgi
 
Posts: 386
Joined: 2008-02-21 17:03
Location: Finland

Re: Angristan OpenVPN doesn't work on Debian 9

Postby aliweb » 2018-07-20 10:32

Thanks, I will install and then see what happens.
aliweb
 
Posts: 26
Joined: 2017-08-04 05:54

Re: Angristan OpenVPN doesn't work on Debian 9

Postby arzgi » 2018-07-20 10:38

aliweb wrote:Thanks, I will install and then see what happens.


Perhaps all are not needed. If you like gui-versions, then gadmin-openvpn-client to client, and gadmin-openvpn-server to server.
arzgi
 
Posts: 386
Joined: 2008-02-21 17:03
Location: Finland

Re: Angristan OpenVPN doesn't work on Debian 9

Postby alexandra_m » 2018-07-24 21:30

Hello,
arzgi wrote:There is openvpn in debian statble repo, why not use it?
arzgi wrote:I would say it is even easier

Because setting up, properly configuring (cypher suites, tls version,...) and maintaining (managing users among other things) an OpenVPN server is a pain in the ass :x

Had you taken thirty seconds to follow the URL that aliweb provided you would have noticed that the "Angristan VPN" s/he talks about is just a bash script dedicated to help with OpenVPN :wink:
aliweb wrote:1. The client connects successfully. IP is assigned and the icon turns green.
2. But the internet doesn't work except for a couple of websites. Bing opens but Google, Reddit, Yahoo etc. doesn't. I think Wikipedia also works. So there are only a handful of websites that open on VPN.

1. this forum is not the right place to ask for support with the script, you should open an issue here https://github.com/Angristan/OpenVPN-install/issues

2. it's likely an IPv4/6 issue, the easy workaround is to force your system to use exclusively IPv4 (depending on the OpenVPN version used on the server and IP address' associated with your server, you might not be able to have your OpenVPN sevrer working with both v4 and 6)

On your client, most likely, your computer (not on the server):
sudo echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf

If my workaround doesn't work, you should ask for help via the link provided on #1.

Alex
alexandra_m
 
Posts: 3
Joined: 2018-07-23 10:08

Re: Angristan OpenVPN doesn't work on Debian 9

Postby arzgi » 2018-07-25 07:46

alexandra_m wrote:Hello,
arzgi wrote:There is openvpn in debian statble repo, why not use it?
arzgi wrote:I would say it is even easier

Because setting up, properly configuring (cypher suites, tls version,...) and maintaining (managing users among other things) an OpenVPN server is a pain in the ass :x

Alex


Missquoting is not very polite. We were talking about installation, not configuration or usage.

And I also mentioned gtk-versions, have you tried those?
arzgi
 
Posts: 386
Joined: 2008-02-21 17:03
Location: Finland


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable