Questions tagged [iptables]
Iptables is a module that provides the Linux operating system functions of firewall, NAT and logging of data traveling over a computer network.
1,913
questions
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 ...
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. ...
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 ...
1
vote
1
answer
36
views
Firewalld port redirect to rootless podman container
I'm having a podman container running rootless on port 8080 and 8443. But I want to have access to them on port 80 and 443.
This is working quite well with firewalld and this command:
firewall-cmd \
...
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 ...
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 ...
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 ...
1
vote
0
answers
39
views
Configuring a WireGuard Server to Forward Each Client's Traffic Through a Local SOCKS5 Proxy for Different External IP Addresses?
How to configure the WireGuard server to forward each client's traffic to a monitored port on the local machine, and this monitored port will send traffic out through a SOCKS5 proxy, thereby achieving ...
2
votes
0
answers
35
views
Forward (share) network to a bridged interface of 3 adapters
I have this network (network structure picture):
I need to configure the Kylin laptop to let other clients (PC, phones) access Internet. I have 3 USB ethernet adapter (enx000ec6c5afc1, ...
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
...
0
votes
0
answers
32
views
How to set up IPv6 NAT in libvirt open forwarding mode?
libvirt can do IPv6 NAT by itself in NAT forwarding mode if you give it the ipv6='yes' attribute. But that adds a bunch of firewall rules and I don't want it mucking up my already existing firewall ...
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 ...
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 ...
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 ...
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 ...