Как я могу подключиться к VPN с ограниченной сетью?

435
Jeffrey

Я недавно переехал, и предоставленная мне сеть блокирует все исходящие TCP-порты, кроме

80 (http) 443 (https) 465 (smtps?) 587 (submission) 993 (imaps) 25565 (minecraft?) 27014-27050 (steam?) 

Я пытался использовать PIA «s VPN клиент, который я предполагаю, пытается использовать протокол PPTP (поправьте меня, если я ошибаюсь). Как я могу подключиться к нему?

Возможно, я ошибочно попытался sshuttleперенаправить весь мой трафик. Это все еще не позволило бы мне соединиться с VPN.

0
Вы проверили порты UDP? OpenVPN сначала использует UDP (он также может использовать TCP, как второй). MariusMatutiae 9 лет назад 0
@MariusMatutiae UDP порты открыты Jeffrey 9 лет назад 0

3 ответа на вопрос

0
Kinnectus

If outgoing VPN ports have been blocked and you need to connect to remote ports that can't be changed then you're pretty stuck. Our workplace does this and there's nothing I can do about it - they've given a valid security reason so I've got to lump it. Unless... Your VPN server is Microsoft and uses SSTP - this uses HTTPS to connect over the usually open port 443... Not many places have this due to the cost...

0
user2313067

PPTP has a different transport layer protocol, which is neither UDP nor TCP and is thus likely to be blocked.

The simplest way to go around the limitations of your network would be to use a VPN service that uses one of the allowed ports. One such solution is OpenVPN, which uses an SSL based protocol and can be configured to use port 443, making it look more or less like a regular HTTPS connection.

Как я могу проверить, не заблокирован ли GRE в сети? Jeffrey 9 лет назад 0
0
Jeffrey

I was wrong! The VPN client tries to use OpenVPN by default. I had it set to use a UDP port and I guess the UDP connections were taking too long to connect. I changed the settings to use TCP 443 and now it works.