Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
62 views

Specify L2TP VPN to use other port

I am currently at a hotel and they seem to block VPN use. I assume they block it by looking into the port it uses. I would like to use my company VPN (L2TP). So, I think my best bet is to change the ...
Darren Christopher's user avatar
1 vote
1 answer
178 views

Can only access some servers on Linode VLAN

I am running a VLAN applied to a number of servers on Linode. The IPs assigned are 10.0.16.n/24 and are accessed via an OpenVPN server also on the same range. I have connected to the VPN box from my ...
Antony's user avatar
  • 279
0 votes
0 answers
34 views

allow certbot validation and github action connection to digitalocean network firewall

I have this digitalocean droplet that I served as staging instance and has network firewall on it. As it is a staging instance I made it work like a private access only by adding our outline vpn ip on ...
Juliver Galleto's user avatar
1 vote
0 answers
489 views

VPN "Kill Switch" Without Hard-Coded IPs

I'm using a popular VPN provider, and I downloaded their OpenVPN configs. In total there's probably >100 different server IPs specified in these configs. Is there a way to configure Ubuntu 22.04 ...
candida2038's user avatar
1 vote
1 answer
707 views

Install outline VPN on a NAT VPS

I'm trying to install outline on my NAT server, but I keep getting this error: Your Outline Server was installed correctly, but we are not able to connect to it. Most likely this is because your ...
kaveh faal's user avatar
1 vote
0 answers
3k views

Your Outline Server was installed correctly, but we are not able to connect to it

I'm trying to config Outline VPN and I bought a Droplet from Digitalocean with Ubuntu 22. So, my server generated URI string correctly: CONGRATULATIONS! Your Outline server is up and running. To ...
Kiyarash's user avatar
  • 111
0 votes
1 answer
566 views

Can't use Firefox on Ubuntu 22.04.1 LTS on Lenovo ThinkPad T460 after installing and uninstalling Proton VPN

I installed ProtonVPN. It worked for a while with Firefox. Then ProtonVPN started to send "not responding" error messages. Though the internet is fully operational on all other devices, ...
Holly's user avatar
  • 1
0 votes
1 answer
234 views

UFW Deny out on specific adapter except for LAN traffic, VPN usage

I have two interfaces on a VM, one is traffic going out to web on VPN adapter (proton0) and the other should allow lan traffic (ens160). The rules make sense to me however, I cant ping a lan address ...
Sidewyz1's user avatar
0 votes
0 answers
369 views

How to block traffic when strongswan ikev2 tunnel not established

Strongswan ikev2 network manager plugin network-manager-strongswan was installed on ubuntu 20.04.4 and configured to reconnect automatically. However when VPN is not available I'd like to block all ...
lorond's user avatar
  • 101
1 vote
0 answers
213 views

UFW VPN Killswitch doesn´t work, stopps all traffic?

So Nordvpn's new update basically messed up the killswitch and I wanted to set up one myself in order to maintain some basic privacy. I followed this guide mainly: https://adamtheautomator.com/linux-...
KorkyBuchek's user avatar
0 votes
1 answer
354 views

Firewall settings for remote (VPN) subnet?

I have two servers running 18.04.6 desktop. I am unable to access them from a different subnet (IPsec site to VPN). It appears to me that the built-in firewall doesn’t allow connections from an ...
James Anderson's user avatar
0 votes
0 answers
486 views

No internet access without VPN after updating from 18.04 to 20.04

After updating to Ubuntu 20.04 LTS internet stopped working without VPN (I use Cloudflare WARP) righthaze@desktop  ~  ping google.com PING google.com (216.58.215.110) 56(84) bytes of data. ping: ...
viiprogrammer's user avatar
0 votes
0 answers
41 views

Digital Ocean Ubuntu 18.0.x ssh user@ip_address refused (publickey), now Github Doesn't recognize my computer. What's up? Should I be worried?

I'm using a Digital Ocean Ubuntu 18.0.x instance and connecting from my Ubuntu machine and my Mac. when I ssh user@ip_address I get the message summarized to this will be added to authorized_keys (or ...
nstone101's user avatar
0 votes
1 answer
255 views

Unable to establish connection over specific port in devices connected via VPN

I have an Ubuntu virtual machine on the Google Cloud Platform, which runs an OpenVPN server. In my office, an Ubuntu laptop and a Windows PC act as OpenVPN Clients. Hence, on the VPN, the following ...
Ishwar Venugopal's user avatar
0 votes
1 answer
664 views

SSH tunneling blocked on 20.04 LTS?

I tried using Hamachi to play with a friend and he told me there was a vpn error next to my name. We could not connect at all and I tried everything to fix it. According to this website https://...
user avatar
1 vote
0 answers
362 views

Wireguard NAT to eth1

I'm trying to do something that I think should be pretty simple. The goal is to have all traffic from my home network go over a Wireguard VPN. I have 3 devices: ISPs modem/router combo. This should ...
LoveToCode's user avatar
0 votes
0 answers
970 views

Blocking incoming connections on tun0 using UFW

I am running 16.04 using PIA as my VPN. I have configured the UFW with the following commands. sudo ufw default deny outgoing sudo ufw default deny incoming sudo ufw deny in on tun0 to any sudo ufw ...
Shane Cooney's user avatar
0 votes
1 answer
6k views

nordVPN change my firewall settings

I'm concerning about nordVPN and firewall settings. I'm using ubuntu 18.04.4 LTS linux. When I activate nordVPN connection nordVPN package disable my ufw firewall and set its own settings. I'm not ...
marian's user avatar
  • 1
3 votes
0 answers
2k views

Ikev2 Strongswan vpn: UFW doesnt route internet traffic

I installed a strongswan ikev2 vpn many times on ubunut without problems. But now on a fresh installed ubuntu server I cant get it to run. Connect to the vpn does work but I cant get a internet ...
BestimmungGefördert's user avatar
0 votes
1 answer
60 views

Issue with OpenVPN

I'm using the latest build of NordVPN and its last version turned out to be interfering with Firewall, I have ufw installed with simple "Home profile" once I connect to nordvpn the internet is off so ...
JoKeR's user avatar
  • 6,982
0 votes
1 answer
467 views

Can not forward port

I have Ubuntu 18.04.2 with l2tp vpn server, installed by a script. My client runs Windows 7 and connects to this server, internet works perfectly, connection is secured. I need to forward the rdp port ...
Rosario Agro's user avatar
2 votes
1 answer
709 views

iptables script breaking internet connection

Looking for some help in where I'm going wrong with an iptables script I've been using for a long time. I was using this on Ubuntu Server 16.04 without any problems, I've upgraded to 19.04 (yes it's ...
D4T4's user avatar
  • 21
1 vote
0 answers
593 views

Ubuntu As a Router With IPSec VPN

I have a network setup with a nonconfigurable hardware firewall that connects a local subnet to my servers at a datacenter - we use Microsoft Remote Desktop Servers and have only stupid RD-clients in ...
Fred's user avatar
  • 11
0 votes
0 answers
508 views

Allowing VPN traffic trough Ubuntu firewall to connect on Sophos firewall

I need advice to achieve something and I can't find the answer anywhere. I'm setting up a network in a test lab. I have an Ubuntu machine that runs SNORT as an IDS and it's the only machine that as ...
Émile Grenier's user avatar
1 vote
0 answers
590 views

Issues with OpenVPN server accepting connections but not allowing traffic

I have installed Ubuntu 16.04 on a rooted Android box with Linux Deploy to make it a OpenVPN server. I have diligently followed the guide at https://nanashi07.blogspot.com/2017/...id-device.html and ...
Kurval's user avatar
  • 11
1 vote
1 answer
542 views

Trying to write the perfect VPN kill-switch bash script - have a question about wlp3s0 traffic. Ubuntu 18.04

I recently started using Nordvpn which advertises that it has a kill Switch feature that supposedly will kill all traffic if it loses the VPN connection. After some experimentation I found that the ...
Robert Baker's user avatar
2 votes
1 answer
5k views

Is VPN + UFW (As a Killswitch) broken in 18.04?

I have been using Ubuntu (Lubuntu Distro) since 16.04 and have always used a VPN + UFW as a killswitch. It's a very simple thing to do. Especially with the GUFW GUI. First, you simply deny incoming / ...
jdubu420's user avatar
0 votes
1 answer
2k views

18.04 VPN & UFW firewall issue

Went from 16.04, connecting to VPN fine through Network Manager on Xenial. Under 18.04 it doesn't connect, settings are unchanged. Get the grey icon which vanishes after 10 seconds. I've tried the '...
Tom - Ubuntu UK's user avatar
1 vote
1 answer
378 views

Help With ufw Trouble?

I am running a vpn on my laptop. To ensure that traffic to and from the internet is only allowed through that vpn, I am running ufw with the following rules: Status: active Logging: on (low) Default: ...
rebeltaz's user avatar
17 votes
1 answer
44k views

UFW or IPTables on Ubuntu for OpenVPN?

I'm kind of a newbie in networking and Linux, and I always get confused over whether I should use UFW or IP Tables when restricting my internet connection to only use VPN. Looking around, I find there ...
ryoishikawa74's user avatar
0 votes
0 answers
103 views

Ubuntu running as router blocks VPN

I have a Ubuntu server 16.01 running as my router, I followed this tutorial: https://www.youtube.com/watch?v=KXX5gCi0uTo everything works fine, every machine gets an IP, I have internet connection ...
Alfredo M's user avatar
  • 123
0 votes
1 answer
1k views

Help with iptables rule, how to allow port before REJECT rule?

I'm using iptables to mark packets for vpn user and to do split tunneling. vpn user is tunneled over the tun0 interface, and other users have direct access to internet. Everything works as expected, ...
gurabli's user avatar
  • 43
2 votes
1 answer
57 views

Phantom Firewalls

First, I should preface this with "I'm not entirely sure this is an Ubuntu question." I work in a central office with many branches connected via VPN. Some of the machines in the branches were ...
R. Haley's user avatar
0 votes
1 answer
14k views

SoftEther VPN Server returning error. "Error occurred. (Error code: 1) Connection to the server failed. Check network connection ...."

This topic had already been discussed in SoftEther VPN Server can't connect during set up. But cannot find the solution here in my case. Tried commenting still not received a resolution. So ...
kiran bbnl's user avatar
1 vote
1 answer
186 views

Can't connect to my ubuntu box outside my local network (VPN)

I have an Ubuntu 14.04 server running some services on different ports. I used to be able to connect to it (via SSH, samba, and a couple web servers on different ports) using a VPN. I'll use ssh as ...
ButterDog's user avatar
  • 123
3 votes
2 answers
16k views

Can you run a VPN connection over HTTP?

Is it possible to connect to a VPN Server having a tunnel over port 80, thus eliminating all the port blockings of a firewall?
Roland Kofler's user avatar
2 votes
4 answers
5k views

Adding VPN exception (allow protocol) to UFW firewall rules?

I'm having trouble at work in connecting to the work VPN while Firewall (UFW) is active. When i disable it "sudo ufw disable", there are no problems. When it's on, when trying to connect I receive ...
Mookey's user avatar
  • 4,801
0 votes
1 answer
2k views

Forwarding all Internet Traffic over VPN (PPTP UFW)

I've set up a VPN using the guide here but what I cannot seem to get working is forwarding all my internet traffic over the VPN. I can connect and view the other machines on my network. I am using ...
Josh's user avatar
  • 1
4 votes
1 answer
33k views

UFW & VPN : How to allow reconnection

Here are the rules of my firewall : deny outgoing deny incoming allow out from any to any on tun0 (alow just the traffic from the VPN) However, I am forced to disable ufw when I want to start my ...
firewall_new's user avatar
1 vote
0 answers
3k views

iptables: write UDPv4: Operation not permitted (code=1)

I am trying to set up a stateful firewall using iptables. It is for use on my desktop machine. Below are the contents of my firewall script: #!/bin/bash iptables-save > /home/username/iptables....
user avatar
20 votes
3 answers
36k views

Can't connect to PPTP VPN with ufw enabled on Ubuntu 14.04 with kernel 3.18

Suddenly VPN disconnected and can't reconnect no longer on kernel 3.18.1, so I try to install kernel 3.18.2 but my problem still exist. But I can connect to VPN with 3.14 kernel easily. The output of ...
Daniyal Javani's user avatar
0 votes
1 answer
6k views

ufw rules don't block deluge

I'm trying to keep deluged on my headless Ubuntu Server 14.04.1 from functioning when the server isn't connected to a VPN (I know many threads exist discussing the best way to accomplish that; I'm not ...
Jonathan Y.'s user avatar
  • 1,044
22 votes
2 answers
56k views

UFW for OpenVPN

I want to configure ufw (uncomplicated firewall) for OpenVPN. Connections are only allowed through OpenVPN. Everything else should be blocked. So if OpenVPN is disconnected -> no internet! I found ...
Alex M.'s user avatar
  • 221
1 vote
0 answers
295 views

Configuring ufw and iPredator VPN

I am running a VPN via IPredator on Ubuntu 12.04 Desktop, which works perfectly, when ufw is disabled. When I enable ufw, I logically cannot establish a connection. IPredator states that I have to ...
MrNerdy's user avatar
  • 131
1 vote
1 answer
2k views

How do I firewall my computer so that only traffic go through the VPN?

I have read "How to configure an Ubuntu server so that all traffic goes through a VPN?" and found it doesn't apply to my case. I am only interested in the client-side of the VPN connection as I am a ...
n00b's user avatar
  • 1,917
1 vote
1 answer
3k views

How to allow PPTP VPN access through APF firewall

I'm attempting to connect to a PPTP VPN. I have opened ports 47 and 1723 in the ingress rules. When APF is turned on, it fails. When APF is turned off, it works fine. I have turned on as many logging ...
Huns's user avatar
  • 183
0 votes
2 answers
353 views

How do I get my VPN to work even when my firewall is active?

I have subscribed to a VPN service, but it seems that it does not work whenever my firewall is active. I have up until now used Firestarter to configure my firewall, but it has no options for ...
Questioner's user avatar
  • 6,869
2 votes
0 answers
207 views

Should I be using a firewall in Ubuntu? [duplicate]

Possible Duplicate: Why is the firewall disabled by default? I installed both gufw and Firestarter but I'm hesitant to activate one of them because I don't know too much about firewalls in ...
H3R3T1K's user avatar
  • 2,431