监控进出特定计算机/IP 地址的所有网络流量
我正在寻找 Windows 或 Mac 下的工具,它允许我监视(可能以简单的方式)进出我的网络计算机的流量。
长话短说,我居住的住所允许自己监控互联网连接(并且不允许我们切换到其他提供商)。
这在个人层面上让我很恼火(我不喜欢人们在我不知情的情况下检查我所做的事情,作为一般规则,无论我做什么),而且在专业层面上(我有时在家工作)。
我正在使用/尝试 VPN 提供商(JAP、VyperVPN...)来避免这一切。它在 http 连接上工作得很好(如果我运行 iptraces 我最终会在德国或美国或英国......),但我不确定其他应用程序,例如使用不同端口的在线游戏、即时消息软件。
所以我的问题是如何确保我的互联网流量是否使用我的 VPN 连接?
I'm looking for a tool under windows or mac that allows me to monitor (possibly in a simple way) the traffic going in and out of a computer of my network.
Long story short the residence where I live allows themselves to monitor the internet connection (and doesn't allow us to switch to another provider).
This annoys me on a personal level (I don't like the possibility of people checkin what I do without my knowledge as a general rule regardless of what I do) but also on a professional level (I sometimes work form home).
I'm using/trying out vpn providers (JAP, VyperVPN...) to avoid all this. it works fine with the http connections (if I run iptraces I end up in germany or US or UK ...) but I'm not sure for other applications such as online games, instant messaging softwares that use different ports.
So my question is how can I make sure that my internet traffic is using my vpn connection or not ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Wireshark 会在 Windows 和 Linux 上为您执行此操作(不确定 Mac 是否如此)。它使用 WinPCap 库并包装在一个漂亮的 UI 中,供您监视您感兴趣的数据包。它允许您侦听特定或所有接口,因此您可以确保数据包通过正确的接口。
Wireshark would do that for you on Windows and linux (Not sure about Mac). It uses WinPCap library and wraps in a nice UI for you to monitor the packets that you are interested. It allows you to listen to specific or all interfaces , so you can make sure your packets are going via the right interface
如果您不希望他们监视您的互联网使用情况,VPN 是一个很好的解决方案,VPN 将加密您的计算机和 VPN 网关之间的所有网络流量 - 本质上您将通过代理和您的网络冲浪房东无法确定您在做什么。
假设您使用的是真正的 VPN,而不仅仅是基于浏览器的代理解决方案,那么 VPN 应该对所有网络流量进行加密和隧道传输,这包括来自计算机上任何端口的任何流量,而不仅仅是 http 流量。
当您在计算机上安装 VPN 时,VPN 会创建一个假网络设备,并且所有 VPN 流量都会通过隧道传输到 VPN 网关。您可以通过查看计算机的路由表来验证这一点。有一些 VPN 允许分割流量(分割隧道),例如,到某些域的流量通过 VPN 进行隧道传输,而其他域的流量则以明文方式传输,但这种情况很少见,大多数 VPN 会隧道传输所有流量,这似乎是你在寻找什么。
只需确保您的 VPN 使用加密协议即可,有些不使用加密协议 - 这会破坏您的 VPN 的全部目的。
if you don't want them monitoring your internet usage, a vpn is a good solution, a vpn will encrypt all of your net traffic between your computer and the vpn gateway -- essentially you'd be surfing the web via a proxy and your landlords wouldnt be able to determine what you are doing.
assuming you are using a real vpn, and not just a browser based proxy solution, then the vpn should encrypt and tunnel all of your network traffic, this includes anything coming out of any port on your computer, not just http traffic.
when you install a vpn on your computer, the vpn creates a fake network device, and all of the vpn traffic gets tunneled to the vpn gateway. you can verify this by looking at your computer's routing tables. there are some vpns which allow for split traffic (split tunneling), e.g. traffic to certain domains gets tunneled through the vpn and others goes in the clear, but this is the rarity, most vpns will tunnel all of your traffic, which seems to be what you are looking for.
just make sure that your vpn uses an encryption protocol, there are some that don't -- this would defeat the whole purpose of your vpn.