All Questions
239
questions
0
votes
0
answers
9
views
How should I configure OpenVPN from gateway server to private server?
Seeking a bit of guidance on how I should set up my OpenVPN tunnel from client -> gateway server -> home server.
Right now I'm running an Ubuntu 20.04 server on my home network. In order to
...
0
votes
0
answers
17
views
VPN Strongswan traffic forwarding from local machine
I have four VPS machines linked together with permanent IPs on eth1. This is private traffic and cannot be accessed publically. One VM is my public proxy for all public access on eth0. My objective is ...
0
votes
1
answer
101
views
VirtualBox 7.0 on Ubuntu 22.04 do not see FortiClient interface
I'm running a Windows10 virtual machine with VirtualBox 7.0 on Ubuntu 22.04.
I'm connected to a VPN thanks FortiClient with my Ubuntu and it's works well.
A new "fctvpn42f76226" interface is ...
0
votes
0
answers
133
views
How to set up port forwarding for torrenting with WireGuard VPN on VPS?
I have a VPS (Outside my home network) running a WireGuard VPN (PiVPN + Pi-hole+ Unbound), and I'm trying to set up port forwarding for improved torrenting performance (like what services such as ...
0
votes
0
answers
17
views
Why would sudo complain about DNS name resolution? [duplicate]
I'm running on Ubuntu 22 Linux. When I try to manually fix my /etc/resolv.conf file using
sudo vi /etc/resolv.conf
# or
sudo cp $HOME/tmp/working-resolv.conf /etc/resolv.conf
The command appears to ...
0
votes
0
answers
162
views
Issue running wireguard (wg-quick) on Ubuntu
I'm trying to run wireguard on a VPS running Ubuntu. My config works find on MacOS using the wireguard GUI. but when I run it on the VPS using wg-quick I get the following output, the SSH connection ...
2
votes
0
answers
123
views
Easiest way to set up a "proper" VPN on a CentOS server, allowing an Ubuntu or Windows client to connect to it
I am using Ubuntu at home. I have a server in the US with CentOS.
With my system administrator days long gone (about 25 years ago), the question is: what's the easiest, least painful way to make a ...
0
votes
1
answer
369
views
How can I send requests to cloudflare WARP+ from users who connect to the Ubuntu server with Softether?
I have an Ubuntu server and I use it as a softether vpn server. I recently installed cloudflare WARP+ on it. After connecting to the server with softether vpn client, the user's requests will go to ...
0
votes
1
answer
80
views
VPN with Ubuntu using local DC as DNS server with Homelab?
I have a homelab that has various servers, and inside the home network there is a domain control that also acts as a DNS server. This home network does not have a static IP. I have a ubuntu VM in the ...
0
votes
0
answers
255
views
Strongswan to WatchGuard connected but no traffic
I'm connecting to a client's Watchguard VPN with StrongSwan on my AWS hosted Ubuntu 22 machine. I have a connection established but there is zero traffic flowing. I can't ping the destination and the ...
0
votes
1
answer
1k
views
FortiClient VPN in KUbuntu 22.04 with SSO gets stuck in "Connecting..."
I'm facing issues while trying to set up FortiClient VPN on KUbuntu 22.04. The installation goes smoothly after manually adding a dependency package. However, when I attempt to connect using Single ...
0
votes
1
answer
94
views
How do Ubuntu-server network interfaces work?
Yesterday I installed "Cockpit" on my Ubuntu-Server 23.04 (which is running on a Raspberry 4) so I can manage it from my Windows 10 PC. So far the Management interface is quite clear and ...
1
vote
0
answers
385
views
How to diagnose slow PiVPN speeds?
I'm using an Oracle free tier arm VPS on Ubuntu 22.04 as a VPN server. I have set it up with PiVPN + Pihole. The VPS has ipv6 and ipv4 connectivity. When I connect to the VPN (wireguard protocol) and ...
0
votes
0
answers
665
views
Wireguard tunnel doesn't connect to the internet
I have dual booted my HP OMEN laptop using 2 separate M.2 SSDs, I was on windows and using Wireguard (Tunnel ABC) and left it running and went off to sleep then it shutdown by itself due to low ...
0
votes
1
answer
62
views
Ubuntu 12.04, VirtualBox, and host side VPN
I am trying to get an old version of Ubuntu (12.04) to connect to a VPN, as a guest in VirtualBox. I have to use that old version of Ubuntu to build some software, and want to avoid upgrading as it's ...
4
votes
1
answer
584
views
WSL2 unable to access internet when connecting to citrix secure access vpn
I have this issue with WSL2.0. Everytime I connect to my Citrix Secure Access VPN, my Ubuntu WSL2.0 loses internet connectivity. I cannot ping www.afr.com.au and I cannot ping 8.8.8.8.
When I run ping ...
0
votes
0
answers
101
views
How to access an Ubuntu Host PC running a Windows Guest VM connected to a Remote PC?
Environment:
Host PC: Ubuntu
Guest VM: Windows
Remote PC: Ubuntu
Setup:
Host PC <-> Guest VM <-> VPN <-> Remote PC
Description:
For some reason, I can only use my VPN in Windows
I ...
0
votes
0
answers
491
views
OpenConnect Server not connecting to internet using ufw ip forwarding
I want to create an OpenConnect VPN server. I followed this tutorial step by step however, while I'm able to connect to the open connect server using a client, the problem is that I don't have any ...
1
vote
0
answers
213
views
How to convert PKCS12 keys in a way that MD5 isn't used?
I received a PFX file from a company in order to use their VPN. For openfortivpn I needed two PEM files to pass with --user-cert=cert.pem --user-key=key.pem, so I used openssl pkcs12 -in REDACTED.pfx -...
2
votes
0
answers
527
views
How to properly use SSH as a VPN?
I have been dealing with extreme internet censorship in my country for the past month.
I tried everything on my Ubuntu VPS including OpenVPN, open connect and then finally V2Ray+WS worked for a few ...
0
votes
3
answers
3k
views
Why can't I access a company server via ssh from outside the network, while the server clearly has internet access via git/apt etc?
I use a linux (ubuntu) server inside a smallish company network to do general automated data processing, hosting of a mongodb server and i am also trying to run a dash app webserver.
For various ...
1
vote
3
answers
2k
views
VPN Connection (Fritzbox) works for Android Client but not for Windows and Ubuntu
I use a Fritzbox 7530 Router in my home network as a VPN server. The VPN is configured as "IPSec Xauth PSK" with following settings: server name, IPSecID, IPSec shared key, user name and ...
1
vote
0
answers
462
views
Wireguard in a VM
I have a setup where on my Ubuntu host, I have a connection to a remote Wireguard server, and where on this host I have VMs where I would like to connect to other remote Wireguard servers.
Also I have ...
2
votes
1
answer
274
views
Open website on Wireguard host
Setup:
Ubuntu 22.04 server
Wireguard host
Samba
Tomcat
UFW is enabled
Both Samba and Tomcat/8080 are allowed from anywhere
I can open the Tomcat website on the local network (192.168.1.23:8080). I ...
0
votes
0
answers
3k
views
Upgrading OpenVPN 2.4.7 to 2.5.6 results in frequent disconnects
When using OpenVPN 2.4.7 on my server (Ubuntu Server 20.04) and connecting from a 2.5.6 client (also Ubuntu 20.04), I can connect with no issue. However, when I try to use OpenVPN 2.5.6 on the server, ...
0
votes
0
answers
276
views
Curl and etc. HTTP requests not working when I connected to vpn
Please tell me how to solve next problem: Curl and etc. HTTP requests not working when I connected to vpn. I get a simple error - "could not resolve host". But when i disconnect from vpn ...
1
vote
0
answers
218
views
Ubuntu 20 GDM (login screen) freezes after disconnecting from cisco anyconnect VPN
I use cisco anyconnect on my work laptop (Ubuntu 20) to connect to the network at work.
If I lock my screen before connecting to the VPN, I can unlock it and login without issue.
If I am connected to ...
1
vote
1
answer
33
views
VPN stops a webapp from being accessible
I am running a WebApp on port 8080. The server running this app also needs to have an outbound VPN connected at all times. I am using OpenVPN on Ubuntu 20.
Once the VPN is connected I can no longer ...
2
votes
0
answers
370
views
How do I prevent Pop_OS! from changing the time zone when I'm connected over a VPN?
I'm running Pop_OS! and whenever I connect to a VPN it automatically changes the time zone to the time zone of the endpoint I'm connected to.
I want it to only update the time zone when I'm not ...
1
vote
0
answers
1k
views
Run CyberGhost at boot on Ubuntu 20.04
I've subscribed to cyberghostvpn. I'm actually running an ubuntu 20.04 server with gnome-desktop. I'm able to start the vpn by running the following command in the terminal
sudo cyberghostvpn --...
0
votes
1
answer
226
views
Openvpn dosn't work under Aws EC2 | connects but no sending or receiving any real data
So I had this problem a while ago on AWS EC2 - I'm still learning about networking and VPS's - and sysadmin in general
My setup process:
AWS Dashboard > EC2 ( Ohio )> AMI > Selecting Openvpn ...
0
votes
0
answers
45
views
Routing Private Networks over VPN
I have a private network in my workplace that I would like to connect to through my laptop.
The network 192.168.26.0 is added to my office desktop through an IP Alias.
I am connecting from my laptop ...
0
votes
1
answer
2k
views
UDP remote port forwarding the most efficient way?
I have OpenVPN Server on a Raspberry Pi connected to my home broadband but it's behind a carrier-grade NAT. What's the best way of remote UDP port forwarding to get UDP working on OpenVPN when the ...
0
votes
1
answer
204
views
Routing traffic through VPN
I'm trying to route traffic through a VPN. I want to run OPENVPN on both my home server and my VPS. I want to redirect any traffic sent to one of the IP's on my VPS directly to my home server. I also ...
0
votes
1
answer
639
views
Can no longer connect to VPN
I have had a working VPN connection for the last several years that mysteriously stopped working yesterday.
nmcli con up id <myconnection>
Error: Connection activation failed: Unknown reason
...
45
votes
13
answers
93k
views
No internet connection Ubuntu-WSL while VPN
I have a Ubuntu-20.04 Version 2 WSL running on my Windows 10 Laptop. Everything works fine, I have internet connection. But only as long as I am not connected to a VPN network.
If I connect to my the ...
2
votes
1
answer
2k
views
Why does “medium.com” resolve to localhost IP address of 127.0.0.1?
This is a part of my previous question posted here on Ask Ubuntu.
A few days ago, I got blocked from certain sites. At first I thought it was the Government blocked me from using it. So I faked an IP ...
1
vote
1
answer
5k
views
Define PFS Group in Strongswan IKEv2/IPsec Phase 2 Settings
I am trying to setup a VPN connection on Ubuntu 20.04 using Strongswan. One of the requirements for the tunnel is to use PFS group 20.
Is the PFS group 20 being set when we have the following line in ...
0
votes
0
answers
778
views
Poor Wireguard Performance using Mobile Data
I've setup a Wireguard server (running on Ubuntu server 20.10 (ASRock J4105), plugged directly into the router). I've managed to get it working after some difficulty actually getting access to the ...
1
vote
0
answers
190
views
L2TP VPN connection is failed after reseting the BIOS on Ubuntu 18.04.5 LTS
During the L2TP VPN connection, I get the following error Activation of network connection failed. All credentials are valid since I can connect to the VPN using the Windows machine.
The connecting ...
0
votes
1
answer
751
views
Setting up a VPN server for LAN access over the internet using OpenVPN in linux
I want to set up a LAN over the internet VPN server to be able to access my computer, play games with my friends, etc...
I have little knowledge about networking.
But I have came across a guide for ...
0
votes
1
answer
210
views
Failed to create new user in Ubuntu 18
How can I create new account in my vps? I want to create a VPN service. If I type adduser in putty it works I can use my created account in VPN app but that account is able to login into my VPs as ...
41
votes
7
answers
67k
views
Why is there no network connectivity in Ubuntu using WSL 2 behind VPN?
Premise: I'm trying to run Ubuntu as a Windows 10 app using WSL.
TL;DR problem: When Ubuntu uses WSL 2, network connectivity "disappears" when using company VPN.
Trying to get Ubuntu 18.04 (...
0
votes
1
answer
1k
views
How do I configure sshuttle to only forward specific IP addresses from another network to the client device?
How would I configure sshuttle to only make certain IP addresses from the host's network available?
For example, let's say that an employee is using a VPN to connect to their corporate's network from ...
0
votes
0
answers
60
views
OpenVPN server to access all server via IP Private from local
I have 22 servers, where all servers have IP Private 192.168.0.0/24.
I installed OpenVPN on ubuntu server, I want to access all server via IP Private 192.168.0.0/24 from my local laptop.
On the ...
0
votes
1
answer
152
views
Using linux to access resources through windows machine
I have a windows 10 machine already set up to have access to some resources (various domains and subdomains) based on the machines ip (and probably other network stuff). Then, on the same network I ...
1
vote
1
answer
774
views
TCP handshake failed after forward LAN connection through VPN
We have some secured web services, including websites, that are only accessible when connected to a VPN provided by the service owner, and since the VPN account is only allowed to be connected by one ...
1
vote
1
answer
9k
views
FortiClient SSLVPN Configuration
I would like to setup VPN connection using mentioned software on Ubuntu 18.04.4 LTS. Binary source: SOURCE. The application is 32 bit while operating system is 64 bit, after installing some libraries ...
2
votes
0
answers
1k
views
Unable to share VPN connection from Windows VM guest to Ubuntu host
Background:
Let me start by saying that networking is not my strongest suit, so I might be missing some details here which I'm happy to provide if needed.
My company uses Zscaler VPN software which ...
0
votes
1
answer
3k
views
Cannot setup WireGuard VPN
My goal is to create a VPN so
Clients have static IP addresses.
Clients are able to communicate with each other and the server,
Clients can reach global Internet through the VPN.
Also, I'd like to ...