I think I’m understanding you correctly but let me clarify.
192.168.42.10 can connect to 192.168.1.55 inside my home network, but the connection is rejected when from 192.168.42.10 tries to hit my home ISP assigned IP to the same machine through port forwarding. But if I move to another area of my house not on the Hotspot I can connect both ways so I know the port forwarding is working.
I read some of the documentation you included and either I’m not understanding or the particular info I’m asking about is not included. Here is the iptable.ipv4.nat file… what do I need to change?
-A POSTROUTING -s 192.168.42.0/24 -o eth0 -j MASQUERADE
I edited the line to this:
-A POSTROUTING -s 192.168.42.0/24 -o eth0 -j
So far during my initial testing it seems to be working the way I want.
# Generated by iptables-save v1.8.9 (nf_tables) on Tue Jan 30 09:18:29 2024
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i wlan0 -o eth0 -j ACCEPT
COMMIT
# Completed on Tue Jan 30 09:18:29 2024
# Generated by iptables-save v1.8.9 (nf_tables) on Tue Jan 30 09:18:29 2024
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -s 192.168.42.0/24 -o eth0 -j MASQUERADE
COMMIT
# Completed on Tue Jan 30 09:18:29 2024
Thanks in Advance, I appreciate any help.