Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 3165605

Browse files
committed
update v2ray core to v1.18.2
1 parent a15813f commit 3165605

File tree

4 files changed

+24
-71
lines changed

4 files changed

+24
-71
lines changed

V2RayX/ConfigWindow.xib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
2323
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
2424
<rect key="contentRect" x="196" y="240" width="480" height="321"/>
25-
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="800"/>
25+
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="777"/>
2626
<view key="contentView" id="EiT-Mj-1SZ">
2727
<rect key="frame" x="0.0" y="0.0" width="480" height="321"/>
2828
<autoresizingMask key="autoresizingMask"/>

V2RayX/ServerProfile.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ - (NSDictionary*)v2rayConfigWithLocalPort:(NSInteger)localPort udpSupport:(BOOL)
4848
//generate config template
4949
NSMutableDictionary *config = [NSMutableDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"config-sample" ofType:@"plist"]];
5050

51-
config[@"port"] = [NSNumber numberWithInteger:localPort];
51+
config[@"inbound"][@"port"] = [NSNumber numberWithInteger:localPort];
5252
config[@"inbound"][@"settings"][@"udp"] = [NSNumber numberWithBool:udp];
5353
config[@"outbound"][@"settings"][@"vnext"][0][@"address"] = self.address;
5454
config[@"outbound"][@"settings"][@"vnext"][0][@"port"] = [NSNumber numberWithInteger:self.port];

V2RayX/config-sample.plist

Lines changed: 22 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,21 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>port</key>
6-
<integer>1080</integer>
5+
<key>dns</key>
6+
<dict>
7+
<key>servers</key>
8+
<array>
9+
<string>8.8.8.8</string>
10+
<string>8.8.4.4</string>
11+
<string>localhost</string>
12+
</array>
13+
</dict>
714
<key>inbound</key>
815
<dict>
16+
<key>listen</key>
17+
<string>127.0.0.1</string>
18+
<key>port</key>
19+
<integer>1080</integer>
920
<key>protocol</key>
1021
<string>socks</string>
1122
<key>settings</key>
@@ -18,6 +29,11 @@
1829
<false/>
1930
</dict>
2031
</dict>
32+
<key>log</key>
33+
<dict>
34+
<key>loglevel</key>
35+
<string>warning</string>
36+
</dict>
2137
<key>outbound</key>
2238
<dict>
2339
<key>protocol</key>
@@ -28,84 +44,21 @@
2844
<array>
2945
<dict>
3046
<key>address</key>
31-
<string>195.154.64.131</string>
47+
<string>v2ray.cool</string>
3248
<key>port</key>
33-
<integer>17173</integer>
49+
<integer>10086</integer>
3450
<key>users</key>
3551
<array>
3652
<dict>
3753
<key>alterId</key>
38-
<integer>1024</integer>
54+
<integer>64</integer>
3955
<key>id</key>
40-
<string>1ad52bdc-16d1-41a5-811d-f5c0c76d677b</string>
56+
<string>23ad6b10-8d1a-40f7-8ad0-e3e35cd38297</string>
4157
</dict>
4258
</array>
4359
</dict>
4460
</array>
4561
</dict>
4662
</dict>
47-
<key>outboundDetour</key>
48-
<array>
49-
<dict>
50-
<key>protocol</key>
51-
<string>freedom</string>
52-
<key>settings</key>
53-
<dict/>
54-
<key>tag</key>
55-
<string>direct</string>
56-
</dict>
57-
</array>
58-
<key>routing</key>
59-
<dict>
60-
<key>settings</key>
61-
<dict>
62-
<key>rules</key>
63-
<array>
64-
<dict>
65-
<key>outboundTag</key>
66-
<string>direct</string>
67-
<key>type</key>
68-
<string>chinasites</string>
69-
</dict>
70-
<dict>
71-
<key>outboundTag</key>
72-
<string>direct</string>
73-
<key>type</key>
74-
<string>field</string>
75-
<key>ip</key>
76-
<array>
77-
<string>0.0.0.0/8</string>
78-
<string>10.0.0.0/8</string>
79-
<string>100.64.0.0/10</string>
80-
<string>127.0.0.0/8</string>
81-
<string>169.254.0.0/16</string>
82-
<string>172.16.0.0/12</string>
83-
<string>192.0.0.0/24</string>
84-
<string>192.0.2.0/24</string>
85-
<string>192.168.0.0/16</string>
86-
<string>198.18.0.0/15</string>
87-
<string>198.51.100.0/24</string>
88-
<string>203.0.113.0/24</string>
89-
<string>::1/128</string>
90-
<string>fc00::/7</string>
91-
<string>fe80::/10</string>
92-
</array>
93-
</dict>
94-
<dict>
95-
<key>outboundTag</key>
96-
<string>direct</string>
97-
<key>type</key>
98-
<string>chinaip</string>
99-
</dict>
100-
</array>
101-
</dict>
102-
<key>strategy</key>
103-
<string>rules</string>
104-
</dict>
105-
<key>log</key>
106-
<dict>
107-
<key>access</key>
108-
<string></string>
109-
</dict>
11063
</dict>
11164
</plist>

V2RayX/v2ray

363 KB
Binary file not shown.

0 commit comments

Comments
 (0)