Skip to main content

All Questions

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

Routing Traffic from PPTP VPN Server to OpenVPN Client on tun0

Thanks for taking the time to help me out. I'm trying to setup a routing between the traffic I get from my PPTP VPN Service on (ppp0) and route it to my OpenVPN (tun0) Interface. I have tried multiple ...
Muneeb Ahmad Khurram's user avatar
1 vote
1 answer
2k views

How to forward openvpn/wireguard to another wirdguard interface without modifying global route table?

I have one wireguard interface wg_vpn, but I don't want it to be global, so I add the line "Table = off" to the wg_vpn.conf to prevent wg-quick to modify the route table. I also have an ...
jackyyy's user avatar
  • 53
0 votes
1 answer
78 views

Dual VPN network

I have to connect a server with a VPN service (anonymizer) and route all internet traffic through said VPN service. I've been struggling for over 2 weeks to get these commands with the help of this ...
iola's user avatar
  • 3
0 votes
1 answer
380 views

OpenVPN but one user by VPN

I expose here my project. I have a server running a ubuntu. The server is set up with multiple VPN connection (tun0, tun1, tun2 ect) I use this to launch my VPNs: sudo systemctl start openvpn-client@...
EuReKa-LoS's user avatar
0 votes
1 answer
2k views

CentOS 8.1: Forwarding OpenVPN Clients to LAN without NAT

So there's an OpenVPN Server with multiple clients, which I successfully divided into multiple subnets. 10.0.30.0/26 for generic clients which are only allowed to communicate with the OpenVPN Server ...
binary_jam's user avatar
0 votes
0 answers
93 views

Forwarding traffic through an intermediate host to a VPN

I have a somewhat unusual networking setup that I'm trying to get going, and I just can't seem to get the routing or the filtering right to make it work. I have a subnet of client computers connected ...
Green 1's user avatar
0 votes
1 answer
571 views

IPtables: ipset filtering through existing forward rules

I've followed a guide to set up a raspberry pi to connect to a VPN, then NAT the traffic from my LAN to the VPN in order to protect it. I'm also using it for DNS filtering (adblocking). Domain ...
sutur's user avatar
  • 1
0 votes
1 answer
1k views

Routing & IP Tables for multiple OpenVPN tunnels

I have a web server which serves a site on port 3000. This web server is accessible on my local network (https://172.16.1.16:3000) but I need it to be accessible from the internet via multiple URLs. ...
A. Gibson's user avatar
2 votes
0 answers
56 views

Prohibit non-LAN traffic from VPN interface

We have a machine running an openVPN client for the sole purpose of being able to SSH to the client while it is connected to a remote network. The VPN is working mostly correctly, but it is routing ...
threewordphrase's user avatar
1 vote
0 answers
450 views

Route port through VPN

I have an udp server running on a dedicated server. It listens on port 5005. One client (Client1) in my LAN is connected to that dedicated server via OpenVPN and can talk to that udp server through ...
Unkn0wn's user avatar
  • 11
0 votes
0 answers
163 views

VPN Client with Public Static IP [Route interface traffic to SIngle IP]

I have an internet connection which doesn't provide any public static IP. So was looking for solution to provide Public Static IP to Local Machine - which includes SSH from that IP to the Machine. ...
Madhurendra Sachan's user avatar
7 votes
2 answers
10k views

How to chain two OpenVPN servers?

I'm wanting to tunnel two VPNs, using OpenVPN. So, the client would connect to the first VPN and would be redirect to the second VPN. (These are all VPSs, I don't have physical access to it as it will ...
anonimou's user avatar
  • 131
0 votes
1 answer
3k views

No routing over OpenVPN connection

I can’t get my OpenVPN (on Raspberry Pi B with Raspian 4.9.24-v7+) working. I can establish the connection, can ping the IP of the device in the local subnet (192.168.201.246), but I can’t ping ...
CodeOrion's user avatar
0 votes
1 answer
601 views

Unable to redirect reverse traffic using openvpn

I am trying to set up OpenVPN for the first time between two different cloud networks but getting issues. I have 2 linux machines, one is openvpn Server and another is client. OpenVpn SSL Gateway (...
Mrityunjay's user avatar
0 votes
1 answer
4k views

Port forwarding from OpenVPN Client to Public Internet

I need to forward port 44444 of my VPN client to the public internet with my public IP on port 44444, how i can do this? The VPN Server is mine and I have root access. Example how i can do this? ...
ewwew ewewe's user avatar
0 votes
1 answer
557 views

Exclude local client from VPN Tunnel on Debian

So I recently set up a Debian server on my network in order to route all my internet traffic through OpenVPN. I used this guide to set up the iptables (I did not set up the kill switch though.) Now, ...
Nobbe's user avatar
  • 121
0 votes
1 answer
1k views

OpenVPN client accessible from WAN on Asus Router

I have Asus RT-N66U router with enabled OpenVPN server. I need to make one port of the connected OpenVPN client available from the Internet. So I want to forward port 80 to the device connected via ...
ATom's user avatar
  • 101
3 votes
0 answers
568 views

Iptables/Route with 2 ssid hostapd and subnets and openvpn setup

I'm struggling to setup iptables/routing in the correct way. Objective is: - Traffic from clients connected to wifi-KK to not use the tunnel but go via eth0 to router - Traffic from clients ...
Keksi's user avatar
  • 31
0 votes
0 answers
897 views

Allow traffic from VPN Server clients to server restricted to VPN traffic on Tomato

I currently have Tomato running on my ASUS-Dark-Knight router. I also have the VPN server feature running which allows me to connect via OpenVPN to the router. On the flip side, the VPN client ...
RNDThoughts's user avatar
2 votes
1 answer
4k views

Policy routing for OpenVPN server & client on the same router?

PROBLEM An OpenVPN server instance (tun, udp, port 1194) is set up on a Linux-based router that also runs an OpenVPN client instance (tun, udp, port 1197) connecting it to a VPN provider. Both the ...
ndvour's user avatar
  • 31
1 vote
1 answer
388 views

VPN connection problems regarding plex media server and voice over IP

I have a home server - running Debian Jessie and plex media server. My router (fritzbox) allows all smartphones in my LAN to receive incoming landline calls (due to a certain app). This part works ...
Thassilo's user avatar
  • 121
2 votes
1 answer
7k views

OpenVPN without NAT

I'm trying to figure out how to route OpenVPN clients without using NAT/PAT. What I want to do is to route the IP address that they are assigned when clients authenticate to the OpenVPN server to the ...
jjmil03's user avatar
  • 21
2 votes
1 answer
8k views

Routing subnet to specific routing table with fwmark, direct to ISP and VPN

Introduction I'm trying to set up a VPN on my router so that I have two routing tables. I want it so that all the filtering is done with iptables, and iproute just acts on the specific fwmarks, ie ...
moonmoon's user avatar
1 vote
0 answers
1k views

how to port forward to server + tunnel specific hosts route though openvpn client on tomato

Running Shibby Tomato v130 on an Asus RT-N66U. My goals are the following With Transmission running on the router have all torrent traffic route through an OpenVPN client also running on the router. ...
Matt46's user avatar
  • 11
3 votes
1 answer
432 views

Routing traffic around VPN

I recently setup a OpenVPN client on my HTPC, however once I connected to the VPN server I was no longer able to remotely SSH or connect to the other servers I had running on the HTPC. I followed ...
Matt Olan's user avatar
  • 131
1 vote
2 answers
3k views

allow incoming ssh with openvpn client

I have set up an OpenVPN client on my home router. The moment the tunnel goes up, I can no longer ping my router from the internet using its WAN_IP. I would like to allow certain incoming connections (...
Matei David's user avatar
1 vote
0 answers
1k views

Intermittent disconnections when using OpenVPN over SSH tunnel; possible iptables issue?

I've recently set up a Debian Wheezy server with OpenVPN to help out some friends in areas where internet censorship is a problem (including the blocking of VPN traffic in general). To overcome this, ...
user3145309's user avatar
0 votes
1 answer
2k views

Iptables mark incoming packet - vpn routing

I have connected my home to my workplace for out of house backup reasons through OpenVPN. The connection is working nicely. At work I have 5 fixed IP addresses. Now I would like to assign one of ...
tom's user avatar
  • 25
3 votes
2 answers
2k views

How to send out some traffic via my vpn connection

I had a working setup where I could access all my work resources which are accessed via VPN going via my server previously however at some point recently this stopped working for no obvious reason. ...
djsmiley2kStaysInside's user avatar
2 votes
1 answer
2k views

How to route specific traffic through OpenVPN?

I'm running a server at home with rtorrent and apache2. I would like to route my rtorrent traffic via OpenVPN and since im kinda new to OpenVPN and iptables i would like to have a user friendly guide. ...
junkyhlm's user avatar
8 votes
2 answers
14k views

Setup routing and iptables for new VPN connection to redirect **only** ports 80 and 443

I have a new VPN connection (using openvpn) to allow me to route around some ISP restrictions. Whilst it is working fine, it is taking all the traffic over the vpn. This is causing me issues for ...
Steve's user avatar
  • 355