Last active
June 18, 2021 19:53
-
-
Save eclecticmiraclecat/9e4d42c54822a451faa9fde9ae9d2d75 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
open in firewall | |
On client: | |
# nc -vz 192.168.1.29 80 | |
Connection to 192.168.1.29 80 port [tcp/http] succeeded! | |
On server: | |
# nc -vl 192.168.1.29 80 | |
Connection from 192.168.1.28 port 80 [tcp/http] accepted | |
blocked in firewall | |
On client: | |
# nc -vz 192.168.1.29 80 | |
On server: | |
# nc -vl 192.168.1.29 80 | |
UDP | |
# nc -vzu 192.168.1.29 80 | |
Connection to 192.168.1.29 80 port [udp/http] succeeded! | |
# nc -vlu 192.168.1.29 80 | |
Connection from 192.168.1.28 port 80 [udp/http] accepted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment