Questions tagged [vpn]

VPN is the acronym for Virtual Private Network - a network type that uses a the Internet to provide remote networks or single machines with secure access to their organization's network avoiding expensive leased lines.

Filter by
Sorted by
Tagged with
0 votes
1 answer
84 views

Redirect web server port behind VPN

Just recently started using a VPN that allows open ports above 2048. I host my own web server on port 80. I need help configuring my web server to run on a port above 2048 but get redirected to port ...
user3430818's user avatar
0 votes
2 answers
6k views

How do I set up Wireguard in Docker with lan access

I'm trying to set up a VPN server with wireguard. I have the following setup in docker compose: version: "3.1" services: wireguard: image: linuxserver/wireguard cap_add: - ...
Steinbitglis's user avatar
0 votes
0 answers
223 views

Wireguard-ui: `Bad PATH_INFO : /login`

I've successfully installed Wireguard + UI to a Debian11 VPS with this AIO script. But if I open the http://localhost:5000 via Webmin tunneling, I get this error: Bad PATH_INFO : /login How do I fix ...
SzakiLaci's user avatar
  • 101
0 votes
0 answers
175 views

OpenVPN: Can see devices, connected to my local network

I have OpenVPN server installed on debian (public ip 90.191.183.193). I run OpenVPN client on Windows 10, put generated .ovpn file and connect. I can see devices connected to the network the server is ...
Arseni Kalbin's user avatar
0 votes
0 answers
175 views

Routing And Remote Access with VPN Installed On Same Server

Setup I have a Windows Server 2022 with Routing and Remote Access (RRAS) installed. The server has two (NICs) ethernet ports. I have the following setup in RRAS. Ethernet 1 is the Switch -> Server ...
Pie's user avatar
  • 320
1 vote
1 answer
287 views

Openvpn port is not acessible from outside server

Reference that I used: https://www.cyberciti.biz/faq/centos-7-0-set-up-openvpn-server-in-5-minutes/ I configured OPENVPN server on CentOS7. It seems up [root@linux ~]# nmap -sU linux.domain.com -p ...
Raakh's user avatar
  • 23
1 vote
1 answer
639 views

My Win 11 Pro VPN client for IKEv2 is perpetually broken

I am tearing my hair out over this sudden refusal of Windows 11 Pro on my PC to use the appropriately configured crypto in IKEv2 negotiation. It worked fine for a long time, until it didn't. This ...
TheOrionArm's user avatar
0 votes
0 answers
135 views

Iptsbles site to site vpn

I have installed strongswan site-to-site vpn,thats working fine. On server I have configured iptables with this commans iptables -t nat -A POSTROUTING -s 10.9.141.0/24 -d 10.10.27.0/24 -j MASQUERADE. ...
Dave's user avatar
  • 25
0 votes
0 answers
253 views

SSH port forwarding using python

I have a VPS that serves as my VPN server, and I want to use this VPS as a VPN using forwarding for my laptop which uses windows as OS. Is it possible to do so without using software like PuTTY, ...
mostafa ahmadi's user avatar
0 votes
1 answer
89 views

AWS: routing back from VPC to an instance

I'm relatively new to AWS and need to set up some internal infrastructure. Example: a VPN server that routes people into a VPC. I have a VPN server instance bound to an elastic IP that has a subnet ...
Yuri's user avatar
  • 3
0 votes
2 answers
1k views

Can I make strongSwan accept any certificate as long as it is only signed by a specific CA?

Using a swanctl config, is there a way to make strongSwan accept any certificate for an IKEv2 connection as long as it is signed by a specific CA? What I mean is, without having to install the public ...
Mecki's user avatar
  • 919
0 votes
1 answer
92 views

Routing internet traffic via the vpn interface

I have a wifi dongle where I have three interfaces wlan0 (default route), uvpn0(VPN interface) and usb0(interface between the host machine and the dongle). usb0 Link encap:Ethernet HWaddr DA:CE:...
Ragavan Kalatharan's user avatar
0 votes
0 answers
167 views

Passphrase wireguard/Firezone

I created different users through firezone to use wireguard vpn. So I have the user, and the "device" in which I define the accessible IPs, and the DNS to use. But to make things even more ...
erwann le guevedec's user avatar
0 votes
1 answer
584 views

Proxy all requests from one machine to another using nginx or anything else

Is it possible to proxy all requests to another server saving corresponding ports and protocols? I have a homeserver (without public ip) and VDS (with public ip). I also established connection ...
Михаил Агафонов's user avatar
1 vote
0 answers
69 views

Allow forwarding only between VPN clients within the same subnet mask

I am using Wireguard (interface wg0) for a VPN on a server, where all connected clients have IPv6 addresses assigned by the server (controlled by AllowedIPs). Let's say we have three clients: Client ...
Yeti's user avatar
  • 279
0 votes
1 answer
896 views

How to run nginx and ocserv on the same IP:Port using the same domain name?

How to run nginx and ocserv on the same IP:Port using the same domain name? Just like how a similar thing is possible by using SSTP protocol, if I am not mistaken. I am using Ubuntu 20.04.
Masood Lapeh's user avatar
0 votes
1 answer
641 views

Is it possible to forward with UFW from a machine connected to ZeroTier VPN and situated on the LAN towards another machine on the LAN?

I am attempting to make possible for any machine connected to my VPN to be able to access services within containers on my server. For this I have set a server with PROXMOX and subscribed to a Free ...
violetflare's user avatar
0 votes
0 answers
158 views

Ocserv static tun device name for each user

Ocserv assigns dynamic interface names based on TUN device name. For example if tun device name is vpns, users connect via vpns0, vpns1 , vpns2 and ... Everytime a user opens a new session, a new ...
Hamed Zargar's user avatar
1 vote
1 answer
246 views

VPN gateway in custom route table fails

My goal is configure a container behave as a router which load balances over a number of VPN connections. To do this I'm probabilistically marking initiating packets with: iptables -I PREROUTING -t ...
simonw's user avatar
  • 35
1 vote
0 answers
808 views

Wireguard not working on linux ubuntu

I have setup a vpn server in my house using pivpn and wireguard on a raspberry and I want to connect to it when I'm away. I have generated the wireguard configuration which is working on all my ...
Isky's user avatar
  • 121
0 votes
0 answers
320 views

Load balance multiple VPN connections in linux

I have a container set up as a VPN gateway running openvpn. Anything routed through the gateway is routed through the VPN. I would like to run multiple VPN connections on the gateway and for traffic ...
simonw's user avatar
  • 35
0 votes
2 answers
1k views

How to view total traffic usage of each user in ocserv

I'm using ocserv as VPN server in my company on ubuntu, and I want to view how much traffic each user is using. Users are set in ocpsswd file. Do ocserv have this feature or any library I can use? As ...
Hamed Zargar's user avatar
0 votes
0 answers
997 views

DNS over OpenVPN from PFsense only working when in Full DNS (Use VPN DNS for all traffic)

I configured a DNS Resolver in our PFsense which I also provide as part of the DNS Server list to clients via OpenVPN. Clients can connect via OpenVPN and also resolve local names via the DNS Resolver ...
doom4's user avatar
  • 101
0 votes
1 answer
275 views

Forward Wireguard traffic to another port

I have installed Wireguard on server A with below configuration: [Interface] Address = 172.16.0.1/24 ListenPort = 51820 PrivateKey = <server private key> # Firewall rules PostUp = iptables -A ...
user3289412's user avatar
0 votes
1 answer
302 views

Windows Server 2012 R2 lost ability to browse the Internet after RRAS setup

I have a Windows 2012 R2 server that is set up to be our VPN server. Company workers use this server to connect and gain access to the company's network. This part is working fine, no issues here. The ...
Vaiks's user avatar
  • 11
-2 votes
2 answers
30 views

Lowering latency to distant endpoint

I need the lowest possible latency from Bulgaria to Korea. From what I understand, as an individual there is not much I can do to choose which physical cable my internet traffic travels on across ...
angularchobo's user avatar
0 votes
0 answers
27 views

Massive issues with throughput from some client systems, but not when additionally using a VPN

I occasionally experience massive performance issues accessing one of my systems via network (internet). I tried to narrow down the cause of the issue, actually made some progress, but I fail to ...
arkascha's user avatar
  • 168
1 vote
2 answers
2k views

Cannot connect to Samba share via VPN

I have a Wireguard site-to-site VPN that connects successfully. I can ping the remote Samba server using it's IP address 192.168.30.1 I cannot access a share over the VPN tunnel using its IP address \...
Dennis's user avatar
  • 696
0 votes
0 answers
91 views

How do I measure the bandwidth of SSH tunnel VPN?

I use dropbear for SSH tunneling, and I use this method as a VPN. Is there a way to find how much bandwidth that I have used per SSH account?
Ron's user avatar
  • 120
0 votes
0 answers
58 views

server remot access using VPN FW - TUN vs TAP

I'm trying to improve my home Firewall set up and I'm trying to figure out the best VPN configuration. GOAL: In order to reduce the open ports of my home webserver I thought to use SSH and webmin ...
gipsea's user avatar
  • 1
0 votes
0 answers
310 views

Route all incoming internet traffic from wg0 through wg1 in Wireguard

I have a Debian VPS which is running two different WireGuard interfaces. The first one, wg0.conf, is being used by myself to connect to the VPS. Next, I would like to route all my internet traffic ...
Eric's user avatar
  • 1
0 votes
0 answers
56 views

remote network unreachable to Anyconnect clients

I have a Cisco 5516 ASA that serves as the VPN Gateway for Anyconnect clients. If I connect to the Anyconnect VPN the ASA will assign me an address in the 172.25.1.0/24 subnet and that allows me to ...
Mojoman317717's user avatar
0 votes
0 answers
57 views

iptables per-user split tunnel leaking udp packets

I followed the guide here: https://gist.github.com/GAS85/4e40ece16ffa748e7138b9aa4c37ca52 I've added a couple more rules for local traffic, but my setup is still leaking udp packets, on ports not ...
Rusty Weber's user avatar
0 votes
0 answers
214 views

How to route privately traffic from VPN into EKS cluster in AWS?

There's an OpenVPN server running in a pfSense VM in eu-west-1 region and there's a EKS cluster in eu-central-1 region. I'm trying to figure out how to route traffic via AWS private network and not ...
Eastman's user avatar
  • 60
0 votes
0 answers
69 views

Is it possible to get a cloud server connected via IPsec tunnel to one gateway, that then passes it to another via LAN?

Odd situation but I'm trying to get something that works with certain products. Here are the components in this scenario: Virtual Machine in cloud, connected to a SonicWall gateway ("Cloud ...
addMitt's user avatar
  • 103
1 vote
0 answers
848 views

Using strongswan to connect a checkpoint vpn gateway using Ikev1 and xauth-hybrid

I try to connect to a r81.10 gateway using a linux distribution with strongswan. Gateway accepts user:password only. Tested with Windows Version of Checkpoint Endpoint Software. Have to use ikev1. The ...
insane_IT's user avatar
-1 votes
3 answers
345 views

Use cloud server's network to serve local server's content

I am trying to build a web application for a local community. I'd like to host a postgres database, a SSR frontend server, a REST backend server. The internet and electricity are pretty cheap here and ...
berinaniesh's user avatar
0 votes
1 answer
465 views

VPN started with Network Manager doesn't configure routing table correctly

I have a Debian 11 system that has been configured to connect to a remote network via VPN. This has been functioning fine for a long time (since Debian 9). Recently, the remote network made some ...
BrianD's user avatar
  • 1
1 vote
0 answers
2k views

Wireguard connectivity between handshakes

I've been having this really weird issue. I'm running WG on a VPS and on my macbook. I run WG on the linuxserver container on a debian host. The connection is great, the speed is good, everything ...
Lorenzo Piccoli Módolo's user avatar
0 votes
1 answer
2k views

How to setup a NAT Gateway together with a VPN in AWS

I have a VPN setup following this guide. I connect to the VPN from my Mac and I can confirm that both, my Mac as well as EC2 instances do have access to internet. However, for this to work, all my EC2 ...
Mariano Martinez Peck's user avatar
0 votes
1 answer
863 views

AWS VPN with split tunnel cannot connect to Internet after connecting to AWS VPN

AWS VPN with split tunnel enabled. When I connect to the VPN with the AWS VPN Client, I lose Internet on my Mac endpoint. However, I do seem to reach the VPN as I see my connection in the AWS VPN ...
Mariano Martinez Peck's user avatar
0 votes
1 answer
593 views

Troubleshooting AWS S2S VPN connection with on-prem network

I am trying to set up a VPN connection between our AWS servers and a 3rd party network. The VPN tunnel in itself is active, but network calls are timing out. The setup: EC2 instances in private ...
BlackDog's user avatar
  • 121
0 votes
0 answers
1k views

WireGuard is blocked by firewall

I decided to use wireguard as my VPN. Set up VPN server on VM machine. VPN Server (10.13.13.1) <-> VPN Androind Client(10.13.13.6) VPN Server (10.13.13.1) <- VPN Widnows Client (10.13.13.12) ...
Patryk Basiaga's user avatar
0 votes
0 answers
633 views

Wireguard - Can't connect to private url

We moved from OpenVPN to Wireguard recently. Our sales people need access to a private URL on our infra accessed via VPN. The domain is resolved by a private DNS. Everyone in the company managed to ...
Ror's user avatar
  • 333
0 votes
1 answer
2k views

Windows 11 L2TP and IPSEC: Where to set the IpSec group

First of all: I know : L2TP and IPSEC from Windows XP: Where do I put the IPSEC group name? exists, but the answer is incorrect and is not working on Windows 11 (please do not duplicate this topic by ...
Bytechie's user avatar
0 votes
1 answer
38 views

Set IP address from VPN service (not from internet service provider) as main IP for server

I’m currently trying to get 3-4 servers for our business, situed in our office, but the main problem for us is IPv4, as in Canada, ISP charge basically ~15$/month for a single IP. It not really a ...
Wtrnd's user avatar
  • 1
0 votes
0 answers
476 views

wireguard VPN configuration

I have a wireguard vpn configuration on my router, the ports are open and the server configuration I think is correct. however when I want to connect a client, it only shows me this error: [TUN] [...
fnava's user avatar
  • 1
0 votes
0 answers
1k views

nordvpn whitelisting 2 subnet LAN hierarchy

I have a network setup like this: Ubuntu Laptop (192.168.1.157) --> Router B (192.168.1.1) --> Router A (192.168.0.1) --> Internet and CIFS NAS drive (192.168.0.50) --> Router A (192.168.0....
Tyn's user avatar
  • 101
0 votes
1 answer
276 views

OpenVPN on AWS (works in NAT mode but doesn't work in Routing mode)

I have a brand new VPC (10.0.0.0/16) with 3 public subnets (pointing to an IGW) and 3 private subnets (with a NAT GW in each). I have deployed an OpenVPN appliance in the public subnet and configured ...
mreferre's user avatar
  • 476
0 votes
0 answers
326 views

Wireguard double hop

Please help me. I find instruction in this question: Chaining WireGuard Servers: Can ping both from client, but can't access internet. IP routing issue? and https://allanjohn909.medium.com/vpn-...
Maks's user avatar
  • 1