Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
24 views

Wireguard share LAN hosts

I the following setup (picture) I have wg connection between my home router (as client) and Linode VPS (as server). I want to access LAN hosts from Android phone (connects as wg client to VPS). All ...
userQWERTY's user avatar
0 votes
1 answer
10 views

Inquiry on how to set up the bypass function through 2 lan ports in a pc

I have 2 LAN ports on the server (eth0, eth1). I want to export the packet that came from eth0 to eth1. Additionally, I want to make it work in the opposite direction at the same time. Is it possible?
Yong Jung Jeon's user avatar
1 vote
0 answers
44 views

NAT router with private IP towards ISP and public IP on the second interface, localhost traffic problem

I need help with the following network and router. Under emergency conditions, I received the following network. The router (Ubuntu) has two interfaces and a DNS function. The private address on the ...
E Malinowski's user avatar
0 votes
0 answers
48 views

Firewalld (nftables) SNAT problem

so my setup is following: A: PrivIP: 172.16.1.1 PublicIP: 212.1.2.3 B: PrivIP: 10.123.0.1 (Interface: dummyip, dont ask why I named it like that) PublicIP: 213.1.2.3 (Interface: eth0) They both are ...
TwoSoulz's user avatar
0 votes
0 answers
42 views

Flow of marked packets in Linux network stack

Summary: My question is regarding the flow of marked packets in the network stack. Here is what i have done: I have marked packets in the mangle table using the OUTPUT chain. I have also added a tun ...
itsloop's user avatar
0 votes
1 answer
42 views

Route all TCP traffic from port to another host:port

I have a wireguard config, creating a VPN between a remote server (10.0.1.1) and my local machine (10.0.1.2), so that the server can reach the local machine and vice versa. I'd like the server to ...
winwin's user avatar
  • 145
0 votes
0 answers
25 views

How does IP Masquerading send packages back to the original device on inbound connections?

I established a WireGuard Point-to-Site connection following this Tutorial: https://www.procustodibus.com/blog/2020/11/wireguard-point-to-site-config/#configure-routing-on-host-b The connection itself ...
Seryn's user avatar
  • 1
0 votes
1 answer
77 views

Forwarding REST API requests and responses using iptables

I want a linux node that I own to be the 'router' -so to speak- for certain packages, REST API packages to be precise. The whole situation is this, I have made a web-ui program, this program will be a ...
Abd Alhaleem Bakkor's user avatar
0 votes
0 answers
27 views

iptables static routing simple entry (ddwrt)

Im trying to add a policy-based routing entry to my dd-wrt router, the router is in Router mode, not Gateway mode (using my own Ipv4 block) bsaically I wish to redirect traffic to a different gateway ...
user3265051's user avatar
1 vote
1 answer
38 views

Route all traffic via VPN except SSH (for using an SSH tunnel)

Hi I need to create the following configuration: I have a VM where I've set up a PPTP connection pty "pptp x.x.x.x --nolaunchpppd" name username password password remotename PPTP require-...
Tatsii Stanislav's user avatar
0 votes
1 answer
33 views

iptables: Reroute incoming TCP traffic on port to IP inside VPN network

I have a remote server with an open port. This server is connected to a VPN network. My local computer is also connected to this VPN network. So, the two computers can communicate. What I'd like to do ...
winwin's user avatar
  • 145
1 vote
1 answer
150 views

Two different wireguard tunnels wg0 and wg1 via wlan0 and eth0 to the same wan ip

I have following config: two interfaces eth0 connected via ISP1 and wlan0 connected via ISP2 to the internet. Both connections have different IP addresses and allow internet connectivity. I setup two ...
Bojan Vukasovic's user avatar
0 votes
0 answers
40 views

Issue understanding iptables (they do the opposite I was expecting)

I have a wireguard intergafce wg1 where I call PostUp = /etc/wireguard/postup.sh. My postup.sh looks like this: WIREGUARD_INTERFACE=wg1 WIREGUARD_LAN=10.0.0.0/24 MASQUERADE_INTERFACE=eth0 CHAIN_NAME=...
Hellmann's user avatar
0 votes
1 answer
112 views

Outgoing docker packets not respecting routing rules

I have a private docker host (A) connected via a Wireguard tunnel to a public "router" in a cloud environment (B). Wireguard: (Docker Container) eth0 172.17.0.2 | docker0 172.17.0.1 (A) eth0 ...
TheChubbyPanda's user avatar
0 votes
1 answer
70 views

Destination Host Unreachable to host on LAN after some time

I have internal network with the following setup: router - 192.168.1.1 - that is running dd-wrt rasberrypi - 192.168.1.190 (rp1.local) - that is running Rasberry Pi OS notebook - 192.168.1.185 - that ...
Martin Majlis's user avatar

15 30 50 per page
1
2 3 4 5
20