使用VPN浏览服务器文件

保证x

我刚刚在CentOS 7服务器上完成了OpenVPN的安装,并且已经成功连接。我检查了我的公共IP地址,它是远程服务器IP。

但是我仍然无法从Windows客户端浏览该服务器上的文件夹。我想我需要激活一些共享的东西或更改工作组或更改某些设置,但是我不知道。

因此,我在这里寻求帮助:如何通过VPN访问网络资源?

我不想使用Samba,因为我相信没有它也可以做到。

我正在使用OpenVPN Web界面

OpenVPN屏幕截图

新增资讯

/etc/sysctl.conf

# System default settings live in /usr/lib/sysctl.d/00-system.conf.
# To override those settings, enter new settings here, or in an /etc/sysctl.d/<name>.conf file
#
# For more information, see sysctl.conf(5) and sysctl.d(5).

# Added By Me

# Recycle Zombie connections 
net.inet.tcp.fast_finwait2_recycle=1 
net.inet.tcp.maxtcptw=200000 

# Increase number of files 
kern.maxfiles=65535 
kern.maxfilesperproc=16384 

# Increase page share factor per process 
vm.pmap.pv_entry_max=54272521 
vm.pmap.shpgperproc=20000 

# Increase number of connections 
vfs.vmiodirenable=1 
kern.ipc.somaxconn=3240000 
net.inet.tcp.rfc1323=1 
net.inet.tcp.delayed_ack=0 
net.inet.tcp.restrict_rst=1 
kern.ipc.maxsockbuf=2097152 
kern.ipc.shmmax=268435456 

# Host cache 
net.inet.tcp.hostcache.hashsize=4096 
net.inet.tcp.hostcache.cachelimit=131072 
net.inet.tcp.hostcache.bucketlimit=120 

# Increase number of ports 
net.inet.ip.portrange.first=2000 
net.inet.ip.portrange.last=100000 
net.inet.ip.portrange.hifirst=2000 
net.inet.ip.portrange.hilast=100000 
kern.ipc.semvmx=131068 

# Disable Ping-flood attacks 
net.inet.tcp.msl=2000 
net.inet.icmp.bmcastecho=1 
net.inet.icmp.icmplim=1 
net.inet.tcp.blackhole=2 
net.inet.udp.blackhole=1

# Mysql conf
金氏菌属

You're misunderstanding that Windows can't natively just "browse" a Linux filesystem, and when networking is involved you need a protocol so that the two devices can communicate with each other using the same language.

Honestly, you are best off installing either of the following:

Samba - so that you can create some read/write shares on your Centos 7 box and then you can natively connect to the shares through Windows. You need to configure the shares/folders that can be accessed but you can't view the whole Centos filesystem (i.e. being able to view everything under /). Well, you can, but it would be the most stupid idea. Additionally, Samba allows you to open remote files by double-clicking and the local associated application will open the file to allow for editing/saving back to the remote location.

OR

SSH服务器-如果在Centos机器上安装SSH服务器,则可以在Windows机器上使用WinSCP之类的客户端,并(取决于登录到远程服务器的帐户)访问远程文件系统。如果将远程文件下载到本地文件夹然后打开文件(无论如何执行),WinSCP的效果最佳,并且只能本地打开文本文件。二进制文件要复杂一些。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

如何使用Web文件管理器浏览服务器文件夹

来自分类Dev

如何使用Web文件管理器浏览服务器文件夹

来自分类Dev

在Ubuntu 14.04.10服务器上使用ls命令浏览我的文件

来自分类Dev

文件从浏览器发送到不是Web服务器的服务器

来自分类Dev

Debian:使用VPN时DNS服务器的顺序

来自分类Dev

如何使用django-ckeditor在admin中的服务器上上传文件和浏览器文件?

来自分类Dev

如何使用django-ckeditor在admin中的服务器上上传文件和浏览器文件?

来自分类Dev

使用服务器推送将文件推送到浏览器后,如何在浏览器缓存中保存文件?

来自分类Dev

尝试使用EPPlus读取Excel文件可在服务器上进行,但不能通过浏览器进行

来自分类Dev

使用CSS / JS从服务器磁盘向客户端浏览器渲染并提供HTML文件

来自分类Dev

如何使用chrome作为浏览器和nginx作为网络服务器清除缓存的javascript文件

来自分类Dev

尝试使用EPPlus读取Excel文件可在服务器上进行,但不能通过浏览器进行

来自分类Dev

如何使用 httpd.conf 防止从客户端浏览器访问服务器中的某种文件

来自分类Dev

正在下载扩展名为 .log 的日志文件,而不是使用 nginx 服务器在浏览器中打开

来自分类Dev

使用PHP从服务器删除文件

来自分类Dev

如何为NordVPN中的VPN +非VPN使用设置NordVNP名称服务器?

来自分类Dev

使用2个NIC设置VPN到Internet和DHCP服务器的子网的VPN

来自分类Dev

通过Rest Web服务从服务器上的浏览器文件存储下载

来自分类Dev

构建将作为ltsp,vpn和文件服务器运行的Debian服务器的硬件要求

来自分类Dev

通过VPN连接托管服务器

来自分类Dev

提升python vpn服务器

来自分类Dev

优先处理VPN的DNS服务器

来自分类Dev

CentOS 7 VPN服务器

来自分类Dev

服务器只能通过VPN访问

来自分类Dev

断开VPN与Linux服务器的连接

来自分类Dev

在Ubuntu服务器上设置VPN

来自分类Dev

配置并运行VPN服务器

来自分类Dev

通过VPN连接托管服务器

来自分类Dev

Web服务器VPN隧道

Related 相关文章

  1. 1

    如何使用Web文件管理器浏览服务器文件夹

  2. 2

    如何使用Web文件管理器浏览服务器文件夹

  3. 3

    在Ubuntu 14.04.10服务器上使用ls命令浏览我的文件

  4. 4

    文件从浏览器发送到不是Web服务器的服务器

  5. 5

    Debian:使用VPN时DNS服务器的顺序

  6. 6

    如何使用django-ckeditor在admin中的服务器上上传文件和浏览器文件?

  7. 7

    如何使用django-ckeditor在admin中的服务器上上传文件和浏览器文件?

  8. 8

    使用服务器推送将文件推送到浏览器后,如何在浏览器缓存中保存文件?

  9. 9

    尝试使用EPPlus读取Excel文件可在服务器上进行,但不能通过浏览器进行

  10. 10

    使用CSS / JS从服务器磁盘向客户端浏览器渲染并提供HTML文件

  11. 11

    如何使用chrome作为浏览器和nginx作为网络服务器清除缓存的javascript文件

  12. 12

    尝试使用EPPlus读取Excel文件可在服务器上进行,但不能通过浏览器进行

  13. 13

    如何使用 httpd.conf 防止从客户端浏览器访问服务器中的某种文件

  14. 14

    正在下载扩展名为 .log 的日志文件,而不是使用 nginx 服务器在浏览器中打开

  15. 15

    使用PHP从服务器删除文件

  16. 16

    如何为NordVPN中的VPN +非VPN使用设置NordVNP名称服务器?

  17. 17

    使用2个NIC设置VPN到Internet和DHCP服务器的子网的VPN

  18. 18

    通过Rest Web服务从服务器上的浏览器文件存储下载

  19. 19

    构建将作为ltsp,vpn和文件服务器运行的Debian服务器的硬件要求

  20. 20

    通过VPN连接托管服务器

  21. 21

    提升python vpn服务器

  22. 22

    优先处理VPN的DNS服务器

  23. 23

    CentOS 7 VPN服务器

  24. 24

    服务器只能通过VPN访问

  25. 25

    断开VPN与Linux服务器的连接

  26. 26

    在Ubuntu服务器上设置VPN

  27. 27

    配置并运行VPN服务器

  28. 28

    通过VPN连接托管服务器

  29. 29

    Web服务器VPN隧道

热门标签

归档