plusQ Posted July 20, 2023 Share Posted July 20, 2023 (edited) Пытаюсь пробросить несколько портов (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, соединить в режиме сетевого моста Edited July 20, 2023 by plusQ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.