Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Allow phone on mobile network to SSH into LAN Device
« previous
next »
Print
Pages: [
1
]
Author
Topic: Allow phone on mobile network to SSH into LAN Device (Read 91 times)
nowindows
Newbie
Posts: 4
Karma: 0
Allow phone on mobile network to SSH into LAN Device
«
on:
October 26, 2024, 10:13:21 pm »
I'm able to use my Pixel 7 Pro phone (and other devices - computers) to SSH into a device using a gpg (raspberry pi which uses local csf firewall) on my LAN while my phone is on LAN - using Termux. I've forwarded the pi port in Firewall/NAT. And I've set the Phone Privacy setting while on WIFI to "Use device MAC".
I want to use my phone to ssh into a device on my LAN while my phone is on Verizon Mobile Network (NOT on my LAN). I've tried creating a firewall rule that allows specific MAC addresses (including my phone MAC address) to pass traffic to my LAN Devices. Not sure if there is a privacy setting for Mobile data to "Use device MAC" for the phone? This rule doesn't pass traffic to the pi. The SSH try get's blocked on the next firewall rule that blocks unknown hosts from accessing the pi.
Is there a way I can identify/allow my phone on WAN to ssh into pi on LAN?
Logged
nowindows
Newbie
Posts: 4
Karma: 0
Re: Allow phone on mobile network to SSH into LAN Device
«
Reply #1 on:
October 26, 2024, 10:21:52 pm »
I just found a way to get ssh access to my LAN PI while on Mobile Data.
I enable wireguard on the opnsense router on my LAN and the ssh goes through with rule "let out anything from firewall host itself".
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Allow phone on mobile network to SSH into LAN Device