1
General Discussion / Re: Access LAN from WAN and/or certain subnet
« on: November 08, 2024, 09:01:03 pm »
looks like i only had to sleep on it
simple as that the solution is a NAT rule taken the idea of my home internet's router where i set a port forward rule so i can access my server from anywhere using public ip (rather dyndns) and a higher port that i forward to 192.168.0.2:22
in my case it looks like this
so i only can access the internal isolated server 10.250.0.200 port 22 from my physical computer xxx.xxx.160.185 using the opnsense server's wan address xxx.xxx.160.19 and port 20022
hope it helps others
simple as that the solution is a NAT rule taken the idea of my home internet's router where i set a port forward rule so i can access my server from anywhere using public ip (rather dyndns) and a higher port that i forward to 192.168.0.2:22
in my case it looks like this
so i only can access the internal isolated server 10.250.0.200 port 22 from my physical computer xxx.xxx.160.185 using the opnsense server's wan address xxx.xxx.160.19 and port 20022
hope it helps others