Last active
December 2, 2019 08:56
-
-
Save phamduchongan93/69c0ab996e980608d3e1286f8848f8dc to your computer and use it in GitHub Desktop.
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
``` | |
pi@treehouses:~ $ treehouses version | |
1.10.7 | |
pi@treehouses:~ $ route | |
Kernel IP routing table | |
Destination Gateway Genmask Flags Metric Ref Use Iface | |
default 0.0.0.0 0.0.0.0 U 206 0 0 br-c8ee21a7dc8f | |
link-local 0.0.0.0 255.255.0.0 U 206 0 0 br-c8ee21a7dc8f | |
link-local 0.0.0.0 255.255.0.0 U 208 0 0 veth901c1be | |
link-local 0.0.0.0 255.255.0.0 U 210 0 0 veth31ed3ec | |
link-local 0.0.0.0 255.255.0.0 U 304 0 0 ap0 | |
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0 | |
172.18.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br-c8ee21a7dc8f | |
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 ap0 | |
pi@treehouses:~ $ iwconfig | |
ap0 IEEE 802.11 Mode:Master Tx-Power=31 dBm | |
Retry short limit:7 RTS thr:off Fragment thr:off | |
Power Management:on | |
wlan0 IEEE 802.11 ESSID:off/any | |
Mode:Managed Access Point: Not-Associated Tx-Power=31 dBm | |
Retry short limit:7 RTS thr:off Fragment thr:off | |
Power Management:on | |
eth0 no wireless extensions. | |
veth31ed3ec no wireless extensions. | |
veth901c1be no wireless extensions. | |
docker0 no wireless extensions. | |
br-c8ee21a7dc8f no wireless extensions. | |
lo no wireless extensions. | |
pi@treehouses:~ $ iptables -L | |
iptables: Permission denied (you must be root). | |
pi@treehouses:~ $ sudo !! | |
sudo iptables -L | |
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain FORWARD (policy DROP) | |
target prot opt source destination | |
DOCKER-USER all -- anywhere anywhere | |
DOCKER-ISOLATION-STAGE-1 all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED | |
DOCKER all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED | |
DOCKER all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED | |
ACCEPT all -- anywhere anywhere | |
Chain OUTPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain DOCKER (2 references) | |
target prot opt source destination | |
ACCEPT tcp -- anywhere 172.18.0.2 tcp dpt:5984 | |
ACCEPT tcp -- anywhere 172.18.0.3 tcp dpt:http | |
Chain DOCKER-ISOLATION-STAGE-1 (1 references) | |
target prot opt source destination | |
DOCKER-ISOLATION-STAGE-2 all -- anywhere anywhere | |
DOCKER-ISOLATION-STAGE-2 all -- anywhere anywhere | |
RETURN all -- anywhere anywhere | |
Chain DOCKER-ISOLATION-STAGE-2 (2 references) | |
target prot opt source destination | |
DROP all -- anywhere anywhere | |
DROP all -- anywhere anywhere | |
RETURN all -- anywhere anywhere | |
Chain DOCKER-USER (1 references) | |
target prot opt source destination | |
RETURN all -- anywhere anywhere | |
``` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment