-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ee3622
commit 00b4b6d
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo dhclient -r || true | ||
sudo iptables -F || true | ||
sudo iptables -F INPUT || true | ||
sudo iptables -F OUTPUT || true | ||
sudo iptables -P INPUT ACCEPT || true | ||
sudo iptables -P OUTPUT ACCEPT || true | ||
sudo ip addr flush eth0 || true | ||
sudo netplan apply || true | ||
sudo service ssh restart || true | ||
ping -c 5 www.docker.com | grep loss | ||
ping -c 5 www.ubuntu.com.br | grep loss | ||
ping -c 5 www.google.com | grep loss |