OPNsense Forum

English Forums => General Discussion => Topic started by: valentinlevrier on March 23, 2021, 05:24:38 PM

Title: OPNSENSE port wan in a lan
Post by: valentinlevrier on March 23, 2021, 05:24:38 PM
Hello,
In my company we set up an esx server (vsphere) on it tightened an opnsense vm which will control the entry and exit to the internet

how to configure opnsense so that the Lan server does not have access to the corporate Lan while having access to the internet:

INTERNET - BOX - CORPORATE LAN - OPNSENSE - LAN SRV & LAN DEMO

Currently, Lan srv and Lan demo have internet access but the goal is to block access to the company Lan network
Title: Re: OPNSENSE port wan in a lan
Post by: chemlud on March 23, 2021, 06:54:51 PM
Hi!

Place a rule on TOP of LAN rules tab:

BLOCK Source: "LAN net" (from drop down menu) Target: "WAN net" (from drop down menu)

Should do the trick...