设置访问范围
Ivacy VPN 提供了以下方式来控制你的网络访问范围:
a. 通过配置文件
- 在Ivacy VPN的配置文件(
config/vpn.conf)中,你可以设置以下选项:- 访问IP地址:
access_ip: domain: your Domain port: 443 # 通常使用HTTP或HTTPS
- 访问端口:
access_port: domain: your Domain port: 443
- 访问协议:
access_protocol: domain: your Domain protocol: https # 使用HTTPS
- 访问网站类型:
access_types: domain: your Domain types: [https, ftp, file]
- 访问IP地址:
- 通过端口访问:
- 通过端口访问特定的网站,
access_port: 443 # HTTP access_types: [https, ftp]
- 通过端口访问特定的网站,
b. 使用IP地址过滤器
- 如果你希望过滤特定的IP地址,可以使用以下命令:
ipfilter --config-file=/etc/ipsconfig --config file=your-ipsconfig
这里,
your-ipsconfig是你的IP地址配置文件。
c. 访问特定应用
- 如果你希望访问特定的应用程序(Windows 应用程序),可以在配置文件中设置:
access_app: domain: your Domain app_name: your_app_name app_type: application # 'application' 或 'app'
这种方式适用于Windows和Mac设备。
过滤特定网站或应用
Ivacy VPN 提供以下方式来过滤特定网站或应用:
a. 通过配置文件
- 在配置文件中,设置以下选项:
filter_app: domain: your Domain app_name: your_app_name filter_type: application # 'application' 或 'app'
这种方式适用于Windows和Mac设备。
b. 使用网站过滤器
- 如果你希望过滤特定网站,可以使用以下命令:
wwwfilter --config-file=/etc/ipsconfig --config file=your-ipsconfig
这里,
your-ipsconfig是你的IP地址配置文件。
使用Ivacy VPN的端口过滤
Ivacy VPN 提供了端口过滤功能,允许你访问特定的HTTP/HTTPS端口:
- HTTP:访问指定的端口(88)
- HTTPS:访问指定的端口(443)
a. 通过配置文件
access_protocol: domain: your Domain protocol: https # 使用HTTPS
b. 通过端口访问
access_protocol:
domain: your Domain
protocol: https
access_port:
domain: your Domain
port: 88
使用Ivacy VPN的端口过滤器
如果你希望过滤特定的端口,可以使用以下命令:
ipfilter --config-file=/etc/ipsconfig --config file=your-ipsconfig --filter=port 88
使用Ivacy VPN的端口过滤器(使用IP地址过滤器)
你可以使用IP地址过滤器来过滤特定的端口。
ipfilter --config-file=/etc/ipsconfig --config file=your-ipsconfig --filter=port 88
度量VPN
Ivacy VPN 提供了度量功能,可以显示IP地址、端口和应用信息,点击“查看”按钮可以查看这些信息。
通过以上设置,你可以在Ivacy VPN中科学控制你的网络访问范围,同时保持一定的安全性,建议结合使用VPN和增强个人安全措施,例如使用加密设备、定期备份、使用双因素认证等。



