Allow firewall to affect packets coming in from a VPN
This commit is contained in:
parent
f437c07ce5
commit
d90259534b
@ -1777,7 +1777,7 @@ namespace EduNetworkBuilder
|
|||||||
{
|
{
|
||||||
if (nPacket != null)
|
if (nPacket != null)
|
||||||
{
|
{
|
||||||
if(nPacket.destMAC != nc.MAC)
|
if (nPacket.destMAC != nc.MAC)
|
||||||
{
|
{
|
||||||
nPacket.Tracking.Status = NB.Translate("ND_ProssArr_Error1");
|
nPacket.Tracking.Status = NB.Translate("ND_ProssArr_Error1");
|
||||||
nPacket.Tracking.AddMessage(DebugLevel.info, this, NB.Translate("ND_ProssArr_Error"));
|
nPacket.Tracking.AddMessage(DebugLevel.info, this, NB.Translate("ND_ProssArr_Error"));
|
||||||
@ -1790,7 +1790,8 @@ namespace EduNetworkBuilder
|
|||||||
if (tPacket.EncryptionString == nc.EncryptionKey)
|
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.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.MyStatus = PacketStatus.processing;
|
||||||
nPacket.WhereAmI = this;
|
nPacket.WhereAmI = this;
|
||||||
nPacket.Tracking.AddMessage(DebugLevel.info, this, NB.Translate("ND_ProcessArrival_CommingOut"));
|
nPacket.Tracking.AddMessage(DebugLevel.info, this, NB.Translate("ND_ProcessArrival_CommingOut"));
|
||||||
|
Loading…
Reference in New Issue
Block a user