mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-05-01 05:24:25 +02:00
Updated Pi hole OpenVPN server (markdown)
parent
4c7876dcda
commit
3e04b61070
1 changed files with 15 additions and 14 deletions
|
@ -123,21 +123,22 @@ sudo iptables -A INPUT -p udp --destination-port 80 -j DROP
|
||||||
|
|
||||||
Your configuration should look like
|
Your configuration should look like
|
||||||
<pre>
|
<pre>
|
||||||
Chain INPUT (policy ACCEPT)
|
sudo iptables -L -v --line-numbers
|
||||||
num target prot opt source destination
|
Chain INPUT (policy ACCEPT 104 packets, 8691 bytes)
|
||||||
<b>1 ACCEPT tcp -- anywhere anywhere tcp dpt:domain
|
num pkts bytes target prot opt in out source destination
|
||||||
2 ACCEPT tcp -- anywhere anywhere tcp dpt:http
|
1 0 0 ACCEPT tcp -- <b>tun0</b> any anywhere anywhere tcp dpt:domain
|
||||||
3 ACCEPT udp -- anywhere anywhere udp dpt:domain
|
2 0 0 ACCEPT tcp -- <b>tun0</b> any anywhere anywhere tcp dpt:http
|
||||||
4 ACCEPT udp -- anywhere anywhere udp dpt:http
|
3 0 0 ACCEPT udp -- <b>tun0</b> any anywhere anywhere udp dpt:domain
|
||||||
5 DROP tcp -- anywhere anywhere tcp dpt:domain
|
4 0 0 ACCEPT udp -- <b>tun0</b> any anywhere anywhere udp dpt:http
|
||||||
6 DROP tcp -- anywhere anywhere tcp dpt:http
|
5 0 0 DROP tcp -- <b>any</b> any anywhere anywhere tcp dpt:domain
|
||||||
7 DROP udp -- anywhere anywhere udp dpt:domain
|
6 0 0 DROP tcp -- <b>any</b> any anywhere anywhere tcp dpt:http
|
||||||
8 DROP udp -- anywhere anywhere udp dpt:http</b>
|
7 0 0 DROP udp -- <b>any</b> any anywhere anywhere udp dpt:domain
|
||||||
|
8 0 0 DROP udp -- <b>any</b> any anywhere anywhere udp dpt:http
|
||||||
|
|
||||||
Chain FORWARD (policy ACCEPT)
|
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
|
||||||
num target prot opt source destination
|
num pkts bytes target prot opt in out source destination
|
||||||
|
|
||||||
Chain OUTPUT (policy ACCEPT)
|
Chain OUTPUT (policy ACCEPT 83 packets, 11305 bytes)
|
||||||
num target prot opt source destination
|
num pkts bytes target prot opt in out source destination
|
||||||
</pre>
|
</pre>
|
||||||
while there might be other rules in your table. Note that the order of the list entries matters!
|
while there might be other rules in your table. Note that the order of the list entries matters!
|
Loading…
Add table
Add a link
Reference in a new issue