Skip to main content

All Questions

Tagged with
0 votes
1 answer
19 views

IPTables Nat Confusion

I'm trying to make a NAT using IP Tables with the following configuration. OrangePI1 has two interfaces LAN and WAN. LAN is a static address network where OrangePi2 lives and has a static ip. On the ...
soccermom420's user avatar
1 vote
1 answer
175 views

Cannot reach web server in vm from bare metal using DNS after iptables rules forward packets to virtual bridge

This is a simplified description of the development environment at work and I am trying to configure it to facilitate developers using it. Topology: The topology of my setup is illustrated below. ...
pSycHEdELia's user avatar
0 votes
1 answer
52 views

Linux Docker compose container cannot ping another bridged Docker container

Overview I need a Docker Compose zabbix host to ping a host on a containerlab docker network. These two Docker networks run under a linux Docker host machine as below... This information comes from ...
c1lab's user avatar
  • 1
1 vote
0 answers
28 views

Linux - Preserve client IP Addresses when connecting to game server over wireguard VPN tunnel from VPS

My question is almost perfectly summarised here: Preserve connecting clients IP address through an OpenVPN tunnel And the solution provided in that post hints at what I need to do, and have been ...
xf9mj89f's user avatar
0 votes
0 answers
30 views

How do i use IPTables to forward a port to a different local ip when using DMZ

My router software is garbage, it only allows forwarding certain ports, luckly i found out that DMZ works, i have a linux server, can i point DMZ to that linux server and just use it to forward ports ...
Zribe's user avatar
  • 1
0 votes
0 answers
39 views

Round-robin between two VPNs with route tables and iptables

I opened to vpn interfaces with openvpn --config vpn1.ovpn openvpn --config vpn2.ovpn and I want to send all from my laptop by one of the vpns. I prevented the vpns from changing my default gateway ...
rlib's user avatar
  • 101
0 votes
0 answers
33 views

How to keep original IP of user after forwarding port 443 through iptables?

I have two servers for example with such IPs: 1serv - ip: 99.99.99.99 2serv - ip: 111.111.111.111 I need all traffic on 99.99.99.99 -> 111.111.111.111 I write: sysctl net.ipv4.ip_forward=1 ...
Sasha Kuperman's user avatar
0 votes
0 answers
98 views

Linux netfilter: How to capture, modify and retransmit packets that my host is sending to a specific destination?

I am trying to write a linux service that captures the packets that go from my personal server to a specific destination and performs necessary changes to them. More specifically, i want to find all ...
hirad davari's user avatar
0 votes
0 answers
45 views

Wireguard Proxy : port 443 forwarded but not port 80

Summary : Port 80 and 443 traffic arrives to my VPS but only port 443 traffic is forwarded by Wireguard to my homelab. I recently invested in a cheap VPS. The main objective was to use it as a proxy ...
noway_35's user avatar
0 votes
0 answers
29 views

Docker container not recieving packets from specific port

So I have an instance in Oracle cloud, running OL7. In that instance I'm trying to setup some docker containers with multiple servers. These container should be reachable from the outside on different ...
Gui Costa's user avatar
0 votes
0 answers
46 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
1 answer
26 views

Communication between 2 internal NICs when using ip tables to route internrt

My Setup: In my home setup, I have 3 NICs one that is connected to the internet (enp1s0), The other two forward internet access to local devices (enp2s0 & enp3s0). PC1 is connected to enp2s0 with ...
Mohammad Muwafi's user avatar
0 votes
0 answers
72 views

Linux 6.5 netfilter NAT reuses TCP ports in TIME_WAIT status?

In my understanding, Linux (netfilter)'s NAT doesn't reuse TCP ports in TIME_WAIT status, but seemingly Linux >= 6.5 reuses TCP ports in TIME_WAIT, even if the destination is the same. For example, ...
turgenev's user avatar
3 votes
1 answer
503 views

Access remote SSH tunnel from inside docker container

I have a webserver on my MacBook in my home network behind a NAT, serving on port 80. I also have a publicly accessible server running Ubuntu, from which I want to access my local webserver, so I open ...
henk's user avatar
  • 151
0 votes
3 answers
86 views

iptables not dropping udp port for exact ip address

My iptables rules are as follows: -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT -N f2b -A INPUT -p tcp -m multiport --dports 80,443 -j f2b -A INPUT -d (my public facing ip)/32 -p udp -m udp --...
user9503's user avatar

15 30 50 per page
1
2 3 4 5
64