Skip to content

Commit 1a68b8c

Browse files
author
asim3 from runner
committed
added network iptables
1 parent 0b831b1 commit 1a68b8c

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed
File renamed without changes.

data/server/network/iptables.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## list iptables
2+
```bash
3+
iptables -L
4+
# Permission denied (you must be root)
5+
6+
7+
sudo iptables -L
8+
# Chain INPUT (policy ACCEPT)
9+
# target prot opt source destination
10+
11+
# Chain FORWARD (policy ACCEPT)
12+
# target prot opt source destination
13+
14+
# Chain OUTPUT (policy ACCEPT)
15+
# target prot opt source destination
16+
```

data/server/network/route.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,3 @@ route
3333
# 172.23.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br-44526eaa5e73
3434
# 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
3535
```
36-
37-
38-
## list iptables
39-
```bash
40-
sudo iptables -L
41-
```

0 commit comments

Comments
 (0)