@push.rocks/smartvpn 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_rust/smartvpn_daemon_linux_amd64 +0 -0
- package/dist_rust/smartvpn_daemon_linux_arm64 +0 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/smartvpn.interfaces.d.ts +5 -0
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/smartvpn.interfaces.ts +5 -0
|
Binary file
|
|
Binary file
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@push.rocks/smartvpn',
|
|
6
|
-
version: '1.
|
|
6
|
+
version: '1.12.0',
|
|
7
7
|
description: 'A VPN solution with TypeScript control plane and Rust data plane daemon'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxzQkFBc0I7SUFDNUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHlFQUF5RTtDQUN2RixDQUFBIn0=
|
|
@@ -101,6 +101,11 @@ export interface IVpnServerConfig {
|
|
|
101
101
|
/** Server-level IP block list — applied at TCP accept, before Noise handshake.
|
|
102
102
|
* Supports exact IPs, CIDR, wildcards, ranges. */
|
|
103
103
|
connectionIpBlockList?: string[];
|
|
104
|
+
/** When true and forwardingMode is 'socket', the userspace NAT engine prepends
|
|
105
|
+
* PROXY protocol v2 headers on outbound TCP connections, conveying the VPN client's
|
|
106
|
+
* tunnel IP as the source address. This allows downstream services (e.g. SmartProxy)
|
|
107
|
+
* to see the real VPN client identity instead of 127.0.0.1. */
|
|
108
|
+
socketForwardProxyProtocol?: boolean;
|
|
104
109
|
}
|
|
105
110
|
export interface IVpnServerOptions {
|
|
106
111
|
transport: TVpnTransportOptions;
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
|
@@ -118,6 +118,11 @@ export interface IVpnServerConfig {
|
|
|
118
118
|
/** Server-level IP block list — applied at TCP accept, before Noise handshake.
|
|
119
119
|
* Supports exact IPs, CIDR, wildcards, ranges. */
|
|
120
120
|
connectionIpBlockList?: string[];
|
|
121
|
+
/** When true and forwardingMode is 'socket', the userspace NAT engine prepends
|
|
122
|
+
* PROXY protocol v2 headers on outbound TCP connections, conveying the VPN client's
|
|
123
|
+
* tunnel IP as the source address. This allows downstream services (e.g. SmartProxy)
|
|
124
|
+
* to see the real VPN client identity instead of 127.0.0.1. */
|
|
125
|
+
socketForwardProxyProtocol?: boolean;
|
|
121
126
|
}
|
|
122
127
|
|
|
123
128
|
export interface IVpnServerOptions {
|