two instance wireguard
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
route add -net 10.0.1.0 netmask 255.255.255.0 gw wg
|
||||
route add -net 10.0.3.0 netmask 255.255.255.0 gw wg1
|
||||
route add -net 10.0.2.0 netmask 255.255.255.0 gw oc
|
||||
cat /ssh/key.pub > /root/.ssh/authorized_keys
|
||||
ssh-keygen -A
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
iptables -D FORWARD -i wg0 -o wg0 -j REJECT
|
||||
@@ -1,12 +0,0 @@
|
||||
iptables -D FORWARD -p tcp -m ipp2p --bit -j DROP
|
||||
iptables -D FORWARD -p udp -m ipp2p --bit -j DROP
|
||||
iptables -D FORWARD -m string --algo bm --string "BitTorrent" -j DROP
|
||||
iptables -D FORWARD -m string --algo bm --string "BitTorrent protocol" -j DROP
|
||||
iptables -D FORWARD -m string --algo bm --string "peer_id=" -j DROP
|
||||
iptables -D FORWARD -m string --algo bm --string ".torrent" -j DROP
|
||||
iptables -D FORWARD -m string --algo bm --string "announce.php?passkey=" -j DROP
|
||||
iptables -D FORWARD -m string --algo bm --string "torrent" -j DROP
|
||||
iptables -D FORWARD -m string --algo bm --string "announce" -j DROP
|
||||
iptables -D FORWARD -m string --algo bm --string "info_hash" -j DROP
|
||||
iptables -D OUTPUT -p tcp -m ipp2p --bit -j DROP
|
||||
iptables -D OUTPUT -p udp -m ipp2p --bit -j DROP
|
||||
Reference in New Issue
Block a user