Skip to main content

Questions tagged [iptables]

iptables allow creation of rules to define packet filtering behavior. The most reliable way to provide an iptables ruleset in a question is with the output of (as root): iptables-save -c

0 votes
1 answer
48 views

My computer (server listening) 200.200.50.2 | My client_computer 200.200.50.4 The problem is that I have a Python server listening on my computer: python3 -m http.server -b 127.0.0.1 -p 80 I set the ...
swampytub bro's user avatar
0 votes
1 answer
36 views

I'm trying to limit LAN access for one Wireguard client to select ports (30042, 30013). My iptable is below but this allows the client access to all 192.168.1.227 ports? -P INPUT ACCEPT -P FORWARD ...
Aaron's user avatar
  • 1
3 votes
4 answers
379 views

I set the following rules on the server with help of iptables sudo iptables -A OUTPUT -p tcp --sport 22 -j DROP sudo iptables -A INPUT -p tcp --dport 22 -j ACCEPT Why am I getting a response via SSH? ...
mascai's user avatar
  • 159
0 votes
0 answers
67 views

I have two Redhat 8 virtual machines. I'm running Docker on both, in this case as a host for the application called Graphite. The VMs started out identical to each other, and I pulled the same Docker ...
man_of_dalmasca's user avatar
1 vote
2 answers
69 views

This might be a trivial question: I have two hosts A and B that can access the internet behind NATs. Their NATs do not allow for hole-punching or any other way to connect them directly. Host C is a ...
Maku82's user avatar
  • 11
0 votes
1 answer
63 views

I was attempting to interrupt a TCP connection on my system, and was altering iptables rules using the iptables command. Nothing I did seemed to have any effect, though. Inserting and deleting rules ...
Daniel D.'s user avatar
  • 185
1 vote
2 answers
281 views

I want to drop all packets sent to a particular port. I first tried using firewalld/iptables-nft settings but that failed (maybe they're being processed by the kernel only?). I succeeded in blocking ...
MrMas's user avatar
  • 305
2 votes
1 answer
132 views

I've created two Linux network namespaces (ns1 and ns2), and inside each, I have: A bridge (ns1-br0, ns2-br0) A TAP device (tap0, tap1) connected to the respective bridge Each TAP device gets an IP ...
Bhautik Chudasama's user avatar
0 votes
1 answer
300 views

I have a number of self hosted services on my home server, running Arch Linux. Context A number of these are held in Docker containers (each with their own Docker compose file), though one (Jellyfin) ...
twelfth's user avatar
  • 26
1 vote
0 answers
78 views

From this flowchart https://stuffphilwrites.com/wp-content/uploads/2024/05/FW-IDS-iptables-Flowchart-v2024-05-22.png I know that packet goes from the INPUT chain of the filter table right into the ...
Andrei's user avatar
  • 23
0 votes
1 answer
141 views

My scenario: I have two machines: 192.168.1.1 192.168.1.2 Machine 2 has a ssh server and I created a tunnel in machine 1 such as: ssh -CfND 7777 [email protected] -4 I ran above command in machine ...
PersianGulf's user avatar
  • 11.4k
0 votes
1 answer
75 views

I'm running a server where iptables is configured with a default DROP policy and I’ve only explicitly allowed certain ports (e.g., HTTP, HTTPS, SSH on port 22, etc.). Despite never adding a rule for ...
Achraf Maakoul's user avatar
1 vote
0 answers
84 views

I want to be able to route GTP-U traffic that arrives to my linux through two different interfaces. However, I want to route it using information inside the tunnel: inner ip addresses. My machine is ...
Dgrm's user avatar
  • 11
2 votes
0 answers
58 views

In this list of unsupported xtables features. xt_bpf is listed as one of the unsupported features. The comment says to "consider native interface". But what interface is being referred to ...
Philippe's user avatar
  • 619
3 votes
1 answer
293 views

I've seen other answers on this site and read an article and watched a video on the topic, but I still can't connect my network namespace to the outside world. Setup I created a namespace named "...
verified_tinker's user avatar

15 30 50 per page
1
2 3 4 5
181