Allow firewall to affect packets coming in from a VPN
This commit is contained in:
@@ -1790,6 +1790,7 @@ 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;
|
||||||
|
Reference in New Issue
Block a user