public TunnelSettings() { IPFilter = new NetworkTunnel.IPFilter(); IPFilter.IPRanges = new ArrayList(); IPFilter.IPRanges.Add(new IPAddressRange()); IPFilter.IPRangeMode = NetworkTunnel.IPRangeMode.Disable; }
public TunnelSettings(String connection, int port) { this.Connection = connection; this.Port = port; IPFilter = new NetworkTunnel.IPFilter(); IPFilter.IPRanges = new ArrayList(); IPFilter.IPRanges.Add(new IPAddressRange()); IPFilter.IPRangeMode = NetworkTunnel.IPRangeMode.Disable; }