-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNetworking.html
More file actions
165 lines (146 loc) · 4.75 KB
/
Networking.html
File metadata and controls
165 lines (146 loc) · 4.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Networking — Huffles IT Services</title>
<style>
body {
background-color: #0A0A0A;
color: #FFFFFF;
font-family: 'Segoe UI', sans-serif;
padding: 40px 20px;
text-align: center;
}
h1, h2 {
color: #0F52BA;
margin-bottom: 20px;
}
.table-group {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
max-width: 1200px;
margin: 0 auto 60px;
}
table {
flex: 1 1 300px;
max-width: 400px;
border-collapse: collapse;
width: 100%;
}
th, td {
border: 1px solid #0F52BA;
padding: 12px;
text-align: left;
background-color: #111111;
}
th {
background-color: #0F52BA;
color: #FFFFFF;
}
@media screen and (max-width: 600px) {
.table-group {
flex-direction: column;
align-items: center;
}
table thead {
display: none;
}
table, table tbody, table tr, table td {
display: block;
width: 100%;
}
table tr {
margin-bottom: 20px;
border: 1px solid #0F52BA;
background-color: #111111;
padding: 10px;
}
table td {
text-align: right;
padding-left: 50%;
position: relative;
}
table td::before {
content: attr(data-label);
position: absolute;
left: 10px;
width: 45%;
padding-left: 10px;
font-weight: bold;
text-align: left;
color: #0F52BA;
}
}
footer {
margin-top: 60px;
font-size: 0.9em;
color: #FFFFFF;
}
.back-button {
display: inline-block;
margin-top: 20px;
padding: 12px 24px;
background-color: #0F52BA;
color: #FFFFFF;
text-decoration: none;
border-radius: 6px;
font-weight: bold;
}
.back-button:hover {
background-color: #FFFFFF;
color: #0F52BA;
}
</style>
</head>
<body>
<h1>Networking</h1>
<h2>IP, DNS & Firewall Reference</h2>
<div class="table-group">
<table>
<thead><tr><th>IP & Host</th><th>Description</th></tr></thead>
<tbody>
<tr><td data-label="Command">ipconfig</td><td data-label="Description">Windows IP info</td></tr>
<tr><td data-label="Command">ifconfig</td><td data-label="Description">Linux/macOS IP info</td></tr>
<tr><td data-label="Command">hostname</td><td data-label="Description">Show system hostname</td></tr>
<tr><td data-label="Command">ping 8.8.8.8</td><td data-label="Description">Test connectivity</td></tr>
</tbody>
</table>
<table>
<thead><tr><th>DNS</th><th>Description</th></tr></thead>
<tbody>
<tr><td data-label="Command">nslookup domain.com</td><td data-label="Description">Query DNS records</td></tr>
<tr><td data-label="Command">dig domain.com</td><td data-label="Description">Detailed DNS lookup</td></tr>
<tr><td data-label="Command">host domain.com</td><td data-label="Description">Resolve domain to IP</td></tr>
<tr><td data-label="Command">systemd-resolve --status</td><td data-label="Description">View DNS config (Linux)</td></tr>
</tbody>
</table>
<table>
<thead><tr><th>Routing</th><th>Description</th></tr></thead>
<tbody>
<tr><td data-label="Command">tracert domain.com</td><td data-label="Description">Trace route (Windows)</td></tr>
<tr><td data-label="Command">traceroute domain.com</td><td data-label="Description">Trace route (Linux/macOS)</td></tr>
<tr><td data-label="Command">route print</td><td data-label="Description">View routing table (Windows)</td></tr>
<tr><td data-label="Command">ip route</td><td data-label="Description">View routing table (Linux)</td></tr>
</tbody>
</table>
<table>
<thead><tr><th>Firewall</th><th>Description</th></tr></thead>
<tbody>
<tr><td data-label="Command">netsh advfirewall show allprofiles</td><td data-label="Description">Windows firewall status</td></tr>
<tr><td data-label="Command">ufw status</td><td data-label="Description">Linux firewall status</td></tr>
<tr><td data-label="Command">sudo ufw enable</td><td data-label="Description">Enable firewall (Linux)</td></tr>
<tr><td data-label="Command">sudo ufw allow 22</td><td data-label="Description">Allow SSH port</td></tr>
</tbody>
</table>
</div>
<footer>
<p>© 2025 Huffles IT Services LLC — All rights reserved.</p>
<p>
<a class="back-button" href="Huffles-IT-Services-Code-Reference.html">🖥️ Back to Porch</a>
</p>
</footer>
</body>
</html>