public PumpOut(NatSpec spec) : base( "loopback and ip.DstAddr == 127.255.0.1", IPAddress.Parse("192.168.127.1"), IPAddress.Parse("192.168.127.2"), WinDivertDirection.Outbound, false) { }
public PumpIn(NatSpec spec) : base( $"ip and ifIdx == {spec.FindInterfaceIndex()} and inbound and ip.DstAddr == 192.168.127.1", IPAddress.Parse("127.255.0.1"), IPAddress.Parse("127.0.0.1"), WinDivertDirection.Outbound, true) { }