Skip to main content

All Questions

Tagged with
0 votes
0 answers
52 views

How to prevent iptables NAT caused network jitter?

Background is as follows: Currently, we have an OpenVPN tunnel that connecting from Point A to Point B (Point B has a public IP address), but if the internet route is suboptimal, the latency is quite ...
TiisCool's user avatar
0 votes
0 answers
170 views

OpenVPN multihop over tun0 device between two servers

What I have is A in my region, and B in another region (both servers are CentOS 7). The reason of this question is I can connect from A to B and from B to A, but the final goal is to have internet via ...
Saeed's user avatar
  • 423
0 votes
1 answer
626 views

Specify openvpn/wireguard server outbound ip

I have a VPS with a interface eth0, that has 2 IPs, 10.0.0.3 (default) and 10.0.0.5. The 2 IPs are mirrored to external IP by ISP, 1.0.0.10, 2.0.0.20. (Google and Oracle Cloud have the similar ...
jackyyy's user avatar
  • 43
0 votes
0 answers
213 views

How does a packet destined for OpenVPN go through iptables?

I have been interested in this question for a long time. I have an OpenVPN server configured, I followed the logs, and did not quite understand the route of packets from the client to the VPN server. ...
Alex Meryza's user avatar
0 votes
0 answers
339 views

Port forwarding with a split tunnel VPN on Linux

I'm trying to accept incoming connections to port 20983 on my VPN connection tun0. Right now split tunneling is working correctly, sending all data from user vpn through tun0. I've configured the ...
user7450614's user avatar
0 votes
1 answer
1k views

OpenVPN port forwarding not working on VPS to Linux client

Been through several Superuser and ServerFault questions and I am not able to get this working with iptables. I am trying to port forward a specific port 12345 through OpenVPN running on my Linux VPS (...
Bunsen Burner's user avatar
0 votes
1 answer
569 views

How do I exclude a port from OpenVPN on Raspbian?

I am running an OpenVPN tunnel 24/7 on my RaspberryPI, but also want to reach it under my real public IP address with port 25565. I forwarded the port already with my router, and without OpenVPN ...
neXjo's user avatar
  • 1
2 votes
0 answers
273 views

OpenVPN use IPtables NAT without sending all traffic through VPN

I have a VPN connection between two servers that I want to use to allow one to connect to the other's ports and use IPtables Prerouting to make it accessible from the other server. I do not want any ...
Markel's user avatar
  • 21
1 vote
2 answers
3k views

Forward port on OpenVPN server to client without redirect-gateway

My Setup: On the client I have a webserver running on port 443. The client connects to a remote server via OpenVPN. The OpenVPN server forwards its port 443 to the client tun0 address (10.0.0.2). ...
nicknomer's user avatar
2 votes
1 answer
5k views

How to prevent docker exposing itself with iptables and openvpn

The goal is to: allow VPN clients to access the internet have access to the docker subnet (e.g. 178.18.0.0/24) prevent docker from auto-exposing itself by modifying iptables manually allow docker ...
stackbox's user avatar
0 votes
2 answers
1k views

Iptables forward all internal traffic

I have a VM with an internal interface connected to local LAN. The VM has a working OpenVPN connection to another site. How do I forward all incoming traffic on the local interface through the VPN ...
Wotikar's user avatar
  • 23
0 votes
1 answer
369 views

IP Traffic accounting for OpenVPN users

I'm trying to find a way to do traffic accounting for OpenVPN to build graphs inside the webpage admin panel for OpenVPN. I have everything done. But I cannot get the IPTables to work correctly, I ...
geekism's user avatar
0 votes
1 answer
111 views

Google cloud VM forwards minecraft traffic through openVPN to one client but not another

Background info is available from this question: How to make a Google Cloud VM forward Minecraft traffic to an OpenVPN client? I have an OpenVPN network currently set up in "tap" mode, with the ...
Calvin Ng's user avatar
2 votes
2 answers
479 views

How to make a Google Cloud VM forward Minecraft traffic to an OpenVPN client?

I have an OpenVPN network currently set up in "tap" mode, with the Google VM as the server and a Raspberry Pi 3 client running a Minecraft server. Users are currently able to connect to the Minecraft ...
Calvin Ng's user avatar
2 votes
0 answers
24 views

Routing - Route specific Internal IP''s over VPN device

I'm running OpenVPN with some configs on a centOS7 machine. They connect to remote VPN sites and sometimes they change ip after a reboot. They are called tun0, tun1 etc. Now i need some devices to go ...
Brian Rodriguez's user avatar

15 30 50 per page