Allow firewall to affect packets coming in from a VPN

This commit is contained in:
Tim Young 2017-08-31 10:01:18 -05:00
parent f437c07ce5
commit d90259534b

View File

@ -1777,7 +1777,7 @@ namespace EduNetworkBuilder
{
if (nPacket != null)
{
if(nPacket.destMAC != nc.MAC)
if (nPacket.destMAC != nc.MAC)
{
nPacket.Tracking.Status = NB.Translate("ND_ProssArr_Error1");
nPacket.Tracking.AddMessage(DebugLevel.info, this, NB.Translate("ND_ProssArr_Error"));
@ -1790,6 +1790,7 @@ namespace EduNetworkBuilder
if (tPacket.EncryptionString == nc.EncryptionKey)
{
nPacket.destMAC = nc.MAC; //This is already the case, but we need to set it again for some reason.
nPacket.InboundInterface = nc.InterfaceFromName(nc.NicName()) ;
nPacket.MyStatus = PacketStatus.processing;
nPacket.WhereAmI = this;