V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  churchmice  ›  全部回复第 68 页 / 共 92 页
回复总数  1840
1 ... 64  65  66  67  68  69  70  71  72  73 ... 92  
2017-03-12 21:07:06 +08:00
回复了 churchmice 创建的主题 问与答 有在 GCP(Google Cloud Platform)搭建 strongswan 的嘛?
@blues9 英吹思婷,我的是 ping 没问题,wget 就卡
2017-03-12 19:56:09 +08:00
回复了 churchmice 创建的主题 问与答 有在 GCP(Google Cloud Platform)搭建 strongswan 的嘛?
不过我的问题还是没法解决啊,很诡异的
ping www.google.com 都是没有问题的
wget 就卡了

churchmice@ancients:~ $-> ping www.google.com
PING www.google.com (64.233.188.104): 56 data bytes
64 bytes from 64.233.188.104: icmp_seq=0 ttl=52 time=48.167 ms
^C
--- www.google.com ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 48.167/48.167/48.167/0.000 ms
churchmice@ancients:~ $-> wget www.google.com
--2017-03-12 19:55:58-- http://www.google.com/
Resolving www.google.com... 64.233.188.103, 64.233.188.104, 64.233.188.106, ...
Connecting to www.google.com|64.233.188.103|:80... connected.
HTTP request sent, awaiting response... ^C
2017-03-12 19:55:02 +08:00
回复了 churchmice 创建的主题 问与答 有在 GCP(Google Cloud Platform)搭建 strongswan 的嘛?
用 tcp 模式测试的话,gcp 开 server,mac 当 client,测试命令 iperf3 -c 104.x.x.x -t 60 -i 10, 连上 vpn 和未连 vpn 速度都是差不多

[ 5] 0.00-60.15 sec 25.9 MBytes 3.62 Mbits/sec sender
[ 5] 0.00-60.15 sec 25.8 MBytes 3.60 Mbits/sec receiver

连上后 mac 当 server,gcp 当 client,测试的话速度倒是挺快 iperf3 -c 10.0.64.1 -t 60 -i 10
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-60.00 sec 348 MBytes 48.6 Mbits/sec 257 sender
[ 4] 0.00-60.00 sec 346 MBytes 48.4 Mbits/sec receiver
2017-03-12 18:39:56 +08:00
回复了 churchmice 创建的主题 问与答 有在 GCP(Google Cloud Platform)搭建 strongswan 的嘛?
@redsonic
刚才可能有人在看电视,所以数据不准
现在拿本机(mac)当 client,gcp 当 server,数据如下

churchmice@rmbp:~ $-> iperf3 -u -c 104.x.x.x -b 50M -t 60 -i 10
Connecting to host 104.x.x.x, port 5201
[ 5] local 10.0.16.64 port 49369 connected to 104.x.x.x port 5201
[ ID] Interval Transfer Bandwidth Total Datagrams
[ 5] 0.00-10.01 sec 59.0 MBytes 49.5 Mbits/sec 43975
[ 5] 10.01-20.00 sec 59.6 MBytes 50.0 Mbits/sec 44404
[ 5] 20.00-30.00 sec 59.6 MBytes 50.0 Mbits/sec 44386
[ 5] 30.00-40.00 sec 59.6 MBytes 50.0 Mbits/sec 44390
[ 5] 40.00-50.01 sec 59.6 MBytes 50.0 Mbits/sec 44391
[ 5] 50.01-60.01 sec 59.6 MBytes 50.0 Mbits/sec 44393
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 5] 0.00-60.01 sec 357 MBytes 49.9 Mbits/sec 1.645 ms 241581/265936 (91%)
[ 5] Sent 265936 datagrams

iperf Done.

连上 strongswan
churchmice@rmbp:~ $-> iperf3 -u -c 104.x.x.x -b 50M -t 60 -i 10
Connecting to host 104.x.x.x, port 5201
[ 5] local 10.0.16.64 port 61546 connected to 104.x.x.x port 5201
[ ID] Interval Transfer Bandwidth Total Datagrams
[ 5] 0.00-10.00 sec 59.1 MBytes 49.5 Mbits/sec 43990
[ 5] 10.00-20.00 sec 59.6 MBytes 50.0 Mbits/sec 44382
[ 5] 20.00-30.00 sec 59.6 MBytes 50.0 Mbits/sec 44407
[ 5] 30.00-40.00 sec 59.6 MBytes 50.0 Mbits/sec 44364
[ 5] 40.00-50.00 sec 59.6 MBytes 50.0 Mbits/sec 44391
[ 5] 50.00-60.00 sec 59.6 MBytes 50.0 Mbits/sec 44402
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 5] 0.00-60.00 sec 357 MBytes 49.9 Mbits/sec 1.704 ms 241100/265927 (91%)
[ 5] Sent 265927 datagrams

iperf Done.
2017-03-12 18:27:44 +08:00
回复了 churchmice 创建的主题 问与答 有在 GCP(Google Cloud Platform)搭建 strongswan 的嘛?
@redsonic 连上 strongswan 之后本机(mac)当 server,gcp 当 client 的数据

root@nox-gcp:~# iperf3 -u -c 10.0.64.1 -b 50M -t 60 -i 10
Connecting to host 10.0.64.1, port 5201
[ 4] local ********** port 47358 connected to 10.0.64.1 port 5201
[ ID] Interval Transfer Bandwidth Total Datagrams
[ 4] 0.00-10.00 sec 59.2 MBytes 49.6 Mbits/sec 7575
[ 4] 10.00-20.00 sec 59.6 MBytes 50.0 Mbits/sec 7629
[ 4] 20.00-30.00 sec 59.6 MBytes 50.0 Mbits/sec 7629
[ 4] 30.00-40.00 sec 59.6 MBytes 50.0 Mbits/sec 7630
[ 4] 40.00-50.00 sec 59.6 MBytes 50.0 Mbits/sec 7629
[ 4] 50.00-60.00 sec 59.6 MBytes 50.0 Mbits/sec 7630
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 4] 0.00-60.00 sec 357 MBytes 49.9 Mbits/sec 0.522 ms 26/45722 (0.057%)
[ 4] Sent 45722 datagrams

iperf Done.
2017-03-12 17:14:06 +08:00
回复了 churchmice 创建的主题 问与答 有在 GCP(Google Cloud Platform)搭建 strongswan 的嘛?
@redsonic
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-60.00 sec 15.5 MBytes 2.17 Mbits/sec sender
[ 5] 0.00-60.00 sec 15.4 MBytes 2.16 Mbits/sec receiver


我家的瓶颈在无线路由器....
2017-03-12 16:57:51 +08:00
回复了 churchmice 创建的主题 问与答 有在 GCP(Google Cloud Platform)搭建 strongswan 的嘛?
@blues9 DNS 改成 8.8.4.4 ? 还有你的防火墙这么配置的?

我的配置如下:

port 2048

proto udp

dev tun


ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key # This file should be kept secret

dh /etc/openvpn/dh2048.pem

server 10.0.32.0 255.255.255.0

ifconfig-pool-persist ipp.txt








push "redirect-gateway def1 bypass-dhcp"

push "dhcp-option DNS 8.8.4.4"
push "dhcp-option DNS 8.8.8.8"



keepalive 10 120



comp-lzo


user nobody
group nogroup

persist-key
persist-tun

status openvpn-status.log


verb 3


cipher AES-256-CBC
2017-03-12 13:41:42 +08:00
回复了 churchmice 创建的主题 问与答 有在 GCP(Google Cloud Platform)搭建 strongswan 的嘛?
@blues9 改成 192.168.55.0/24 也是不行,方便把你的 /etc/ipsec.conf 贴一下吗?

openvpn 的话我参考的这个 https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-debian-8

DNS 解析不了的话你看看 push 的 DNS 是多少?
2017-03-12 13:32:48 +08:00
回复了 churchmice 创建的主题 问与答 有在 GCP(Google Cloud Platform)搭建 strongswan 的嘛?
@blues9 嗯,我试试,因为 GCP 里面 eth0 的地址并不是真正的外网地址
2017-03-12 13:32:12 +08:00
回复了 churchmice 创建的主题 问与答 有在 GCP(Google Cloud Platform)搭建 strongswan 的嘛?
@redsonic 这玩意怎么测?没弄过啊
2017-03-12 09:51:05 +08:00
回复了 churchmice 创建的主题 问与答 有在 GCP(Google Cloud Platform)搭建 strongswan 的嘛?
@Showfom 192.168.16.0/24 也是同样的结果, gcp 内网 IP 断是 10.128.0.0/9
2017-03-11 18:40:39 +08:00
回复了 churchmice 创建的主题 问与答 有在 GCP(Google Cloud Platform)搭建 strongswan 的嘛?
我访问其他网站都没问题,就是 google 全家桶不行
已撸,然而不知道用来干啥
2017-02-20 10:34:41 +08:00
回复了 freestyle 创建的主题 问与答 有哪些神级性价比路由器?
wndr4300 用着还可以啊,买的二手也就 100 多块钱
2017-02-20 10:30:09 +08:00
回复了 markfang 创建的主题 MacBook Pro XPS 和 macbook pro 对比怎样啊
@sidkang 可以把保修转国内来的啊,难道这个也被封了?
2017-02-18 15:16:08 +08:00
回复了 Love4Taylor 创建的主题 Google Google 正在测试 Project Fi 的 VoLTE
@Love4Taylor 我的 volte provisioned 和 WiFi calling provisioned 都是打开的。把设置里面的 enhanced 4g mode 开了之后每次开机手机都会收到几条“目标地址不可达”的短信
2017-02-18 14:22:38 +08:00
回复了 Love4Taylor 创建的主题 Google Google 正在测试 Project Fi 的 VoLTE
我的联通卡也有 enhanced 4g LTE mode,还能开 WiFi calling 呢,感觉是因为我把 gsm.sim 给模拟成立 T mobile 的后果
2017-02-05 15:35:02 +08:00
回复了 xdz0611 创建的主题 招商银行 招行香港一卡通睡眠太久要给我冻结怎么办
给我转个 1 港币就好,我上次也是要冻结,给同事转了一港币搞定
会,而且我发现现在墙也会对非 53 端口的查询进行污染
所以现在就是用 pdyns 用 TCP 方式连 Google DNS ,同时走 ss ,用着还可以
2016-12-23 21:05:24 +08:00
回复了 deweixu 创建的主题 Google 有在国内用过 pixel 手机的吗?
用的联通卡, 除了微信 gcm 不太好使经常导致消息延迟外没啥不好的
1 ... 64  65  66  67  68  69  70  71  72  73 ... 92  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   974 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms · UTC 18:55 · PVG 02:55 · LAX 11:55 · JFK 14:55
Developed with CodeLauncher
♥ Do have faith in what you're doing.