Port forwarding rules

Started by paulj, October 01, 2023, 05:21:58 PM

Previous topic - Next topic
Good afternoon!
I have an install of nextcloud running on a virtual machine on top of Proxmox. This is situated on my LAN (currently no VLAN setup). I have relocated nextcloud to this setup from an external VPS, over the last few days.
I have a static public IP address for my home, so once I had done all of the security setup for nextcloud, I opened ports 80 and 443, for WAN traffic directed to my virtual machine. When I connect with a device outside my LAN, everything is working as expected. However, when I try to connect from a different device inside my LAN, I don't get through. I am quite new to this, so I want to confirm my understanding before I irreversibly break something!
I think this is occuring because:

  • I have opened the ports for traffic from the WAN interface, but once the name has been resolved, the traffic is from the LAN, so there is no rule for this.
  • I am concerned that if I write the rule incorrectly, I will not be able to access my firewall afterwards! I do have the anti lockout rule in place still - I haven't changed that.
Please could you give me some hints about how to resolve this?

Many thanks!
Paul

https://forum.opnsense.org/index.php?topic=34925.0

Read the latest tutorial version in the github link there. I'm certain this will help you :)
Hardware:
DEC740

Many thanks @Monviech - that did indeed resolve my problem!  :)