hello i should probably give you some background first) im a 23 year old
from a semi rural indiana city-town) i just started learning about the
more complicated aspects of computers not very long ago i have maybe a
year on it) by now ive used an LLM for almost every bit of guidance that
burning through instruction manuals cant help me with in this case you
configuration files)
--start up so i was setting up the fire wall not really knowing anything
about how these nano files should be typed out asking the llm to do all
of that hard stuff for me before coming to a point where i can ask
questions about functionality and definition
i got the wall working inevitably) but it was having the exact traffic
shaping problem You might expect it to)
so i ask the LLM why the network features on my computer are no longer
working and it asked me to check its nat directory... i didnt have a nat
directory) so i made one and it said be sure it looked like this
[ -rw-r--r-- 1 root root 148 Nov 23 15:39 nat ]
[ cat -v /etc/shorewall/nat
#ACTION SOURCE DESTINATION PROTOCOL DEST PORTS
Snat wlan0 net all - # Use `net` as the
destination ]
so i did) problematically; as i find will LLMs is they have a tendency
to have you installing a disabled function in place of you desired
applications) this eventually i could work out but the daily lines cut
so i checked your website and found Your provided configuration
information... and you have way more alien a shit than a nat file im
still unaware of the use for) so i was hoping someone could point out
these configurations to me
im big on reading and rewriting or making Good instructions for things i
cant tell how to use until after they work correctly) so if someone
would help me id be glad to rewrite your websites
(PRE NAT FILE CONFIGURATIONS BELLOW)
[works but there is no connection]
[ i have not tested my ether net ]
-----------------------------------------------------------------------
sudo apt install shore wall
-rw-r----- 1 root root 960 Jul 23 2024 conntrack
-rw-r--r-- 1 root root 59 Nov 23 12:01 interfaces
-rw-r----- 1 root root 623 Jul 23 2024 params
-rw-r--r-- 1 root root 142 Nov 23 11:20 policy
-rw-r--r-- 1 root root 182 Nov 23 11:32 rules
-rw-r--r-- 1 root root 5329 Nov 23 11:09 shorewall.conf
-rw-r--r-- 1 root root 78 Nov 23 11:28 zones
sudo mkdir /etc/shorewall
sudo nano /etc/shorewall/zones
sudo nano /etc/shorewall/interfaces
sudo nano /etc/shorewall/rules
sudo nano /etc/shorewall/policy
-------------------------------------------------------
cat -v /etc/shorewall/zones
#ZONE TYPE OPTIONS
fw firewall
net ipv4
loc ipv4
-------------------------------------------------------
cat -v /etc/shorewall/interfaces
#ZONE INTERFACE OPTIONS
loc wlan0
-------------------------------------------------------
cat -v /etc/shorewall/policy
# Source Destination Action Log level
loc net ACCEPT
net all DROP info
all all REJECT
-------------------------------------------------------
cat -v /etc/shorewall/rules
#ACTION SOURCE DESTINATION PROTOCOL DEST PORTS
ACCEPT loc net udp 53 # Allow DNS
requests
ACCEPT loc net tcp 80,443 # Allow HTTP
and HTTPS from local to net
ACCEPT net loc tcp 22 # Allow SSH access
--------------------------------------------------------
sudo touch /var/log/shorewall.log
sudo chown root:adm /var/log/shorewall.log
sudo chmod 640 /var/log/shorewall.log
sudo shorewall check
sudo systemctl status shorewall.service / sudo systemctl status shorewall
sudo systemctl enable shorewall
sudo systemctl start shorewall
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users