Jump to content

Energy-TV

Forum Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Energy-TV

  1. Снова привет, последний вопрос, с которым у меня остались проблемы.

    Есть Keenetic с уже поднятым OpenVPN, который отлично теперь работает после советов, здесь описанных.

    За роутером - LAN, в которой есть FTP-сервер (Filezilla Server). IP-адрес сервера статический.

    Вопрос: как позволить людям снаружи получить к серверу доступ, если на роутере поднято VPN-соединение? И вообще, реально ли это? При отключенном VPN-интерфейсе сервер отлично виден и с ним можно работать. Как только включаешь VPN-интерфейс-сервер перестает быть виден.

     

    Я тут нашел на зарубежном форуме почти идентичную ситуацию, добавил под кат, если кому интересно

    Скрытый текст

    https://forum.filezilla-project.org/viewtopic.php?t=32954

    Ciao,

    I have been trying for so long now. COntacted my VPN provider (strongvpn) but they couldnt help me either.
    So this is what is wrong:
    Im on a homecomputer connected to a router that has VPN on itself. So all my traffic through my home network goes through this VPN-router.

    Now I want to put a FTP server on one PC that goes through this router, and make it accessible to ftp-clients outside my home network.
    I have opened ports in my router for ports to control VPN (default port is 21 but I had to change it to 50 because 21 was resserved for asus router).
    And I have opened a portrange of 100 ports for the passive mode range of ports in filezilla server.

    To my client I have tried giving the outside IP I can find from whatismyipdadress.com and the port 50.
    THey are not able to connect at all.

    As soon as I shut of my VPn though and give them the real IP-adress, it works.

    The vpn is a OpenVPN and provider StrongVPN says that :
    " the VPN does not close any ports, it just sends all info on any port directly to the VPN client (router). the ports don't need to be adjsuted to work over the VPN at all, they jsut need to be setup properly on the client side "

    Please can anyone help me solve this problem.

    ===============================================================================================================================================================

    Try to use the LAN IP of the server to connect. Usually looks like one of the following:

    10.*.*.*
    172.16-32.*.*
    192.168.*.*

    Or use the IPv6, if supported.

    ===============================================================================================================================================================

    Does that mean that to acess my FTP you have to be on the same VPN ?

    ===============================================================================================================================================================

    Depends on how the router works. Usually a VPN is a closed LAN tunneled over an encrypted connection and thus not reachable from outside. You'd need to have some additional NAT gateway device to open it to the public. Sadly I'm not a VPN expert.
     

     

  2. 1 час назад, Le ecureuil сказал:

    Удалите из конфига 17 строку с содержимым "register-dns" (неужели это непонятно из отладочного сообщения?), и попробуйте заново.

    А вообще это какая-то невалидная опция, ее нет даже в мануале. Кто вам такой конфигурационный файл дал?

    Начальство дало. Нам подписку продлевают постоянно, мы и пользуемся.

  3. Всем привет.

    Прочитал почти всю ветку, но все равно никак не могу разобраться с проблемой:(

    Итак, есть Кинетик с обновленной прошивкой до 2.11.A.4.0-1, из компонентов загружен OpenVPN клиент. И есть .ovpn конфигурационный файл, который отлично работает, будучи использован на клиентской машине.

    Задача - скормить его Кинетику, чтобы он выходил в интернет через OpenVPN-интерфейс.

    OpenVPN интерфейс создан. При попытке загрузить содержимое .ovpn файла интерфейс поднимается, но выхода в интернет не имеет, IP не получает, в журнале - ругань:

    Oct 14 13:15:03OpenVPN0
    Unrecognized option or missing or extra parameter(s) in configuration: (line 17): register-dns (2.4.4)
    Oct 14 13:15:03OpenVPN0
    Exiting due to fatal error
    Oct 14 13:15:03ndm
    Service: "OpenVPN0": unexpectedly stopped.
    Oct 14 13:15:03ndm
    Network::Interface::OpenVpn: "OpenVPN0": configuration is invalid.
     
    Помогите, пожалуйста, разобраться. Я не большой специалист в этом, поэтому был бы признателен, если помощь была бы понятной простому пользователю.
    Всю необходимую информацию предоставлю.
×
×
  • Create New...