Jump to content

plusQ

Forum Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by plusQ

  1. Пытаюсь пробросить несколько портов (TCP 21 и 80) с VPS сервера на два разных сервера в DMZ зоне (VLAN 4) за роутером Keenetic

    1) создал WireGuard VPN сервер на VPS сервере (Address = 172.16.82.1/24)

    [Interface]
    PrivateKey = 
    Address = 172.16.82.1/24
    ListenPort = 
    MTU = 

    # DMZ
    [Peer]
    PublicKey = 
    PresharedKey =
    AllowedIPs = 172.16.82.2/24
     

    2) создал WireGuard VPN клиент на Keenetic (Address = 172.16.82.2/24)

    interface Wireguard1
        description WG
        security-level public
        ip address 172.16.82.2 255.255.255.0
        ip mtu xxxx
        ip access-group _WEBADMIN_Wireguard1 in
        ip tcp adjust-mss pmtu
        wireguard peer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            endpoint xxx.xx.xx.xx:xxxxx
            keepalive-interval 30
            preshared-key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            allow-ips 0.0.0.0 0.0.0.0
        !
        up
    !

    3) соединил, работает , пакеты проходят

    Вопрос как вывести interface Wireguard1 в виртуальную сеть VLAN 4, соединить в режиме сетевого моста 

    VPN.jpg

×
×
  • Create New...