Skip to content

Commit 7e100e6

Browse files
committed
Add forwarding logic
Fixes #333
1 parent 58f5a9e commit 7e100e6

7 files changed

Lines changed: 374 additions & 12 deletions

File tree

SimpleDnsCrypt/App.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@
8989
<setting name="IsCloakAndForwardTabVisible" serializeAs="String">
9090
<value>False</value>
9191
</setting>
92+
<setting name="ForwardingRulesFile" serializeAs="String">
93+
<value />
94+
</setting>
9295
</SimpleDnsCrypt.Properties.Settings>
9396
</userSettings>
9497
</configuration>

SimpleDnsCrypt/Config/Global.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static class Global
7676
public const string BlacklistFileName = "blacklist.txt";
7777

7878
public const string CloakingRulesFileName = "cloaking-rules.txt";
79-
79+
public const string ForwardingRulesFileName = "forwarding-rules.txt";
8080

8181
public const string GlobalResolver = "0.0.0.0:53";
8282
public const string DefaultResolverIpv4 = "127.0.0.1:53";

SimpleDnsCrypt/Properties/Settings.Designer.cs

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SimpleDnsCrypt/Properties/Settings.settings

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,8 @@
6565
<Setting Name="IsCloakAndForwardTabVisible" Type="System.Boolean" Scope="User">
6666
<Value Profile="(Default)">False</Value>
6767
</Setting>
68+
<Setting Name="ForwardingRulesFile" Type="System.String" Scope="User">
69+
<Value Profile="(Default)" />
70+
</Setting>
6871
</Settings>
6972
</SettingsFile>

0 commit comments

Comments
 (0)