Hi All,
|----------> Internet
|
|
//=======================================\\
Wireguard server VDS
ubntu-20.04LTS
wg0 - 10.66.66.1
ens3 - 109.107.XXX.XXX - Public internet IP
\\=======================================//
/\
|
|
|
//======================================\\
Tp-Link router
usb LTS-modem ---- to Internet provider
\\======================================//
/\
|
|
|
//==========================================================================\\
Wireguard client
ubuntu-20.04LTS Desktop
wg0-10.66.66.8
enp4s0-192.168.1.34 DHCP from tp-link router
enp3s0-192.168.2.20(static) enp3s0 is DHCP-Server -----> IP Camera EZVIZ-C3N (192.168.2.21 - from DHCP enp3s0)
\\==========================================================================//
Forwarding enabled on server and client:
In /etc/sysctl.conf net.ipv4.ip_forward=1
When sudo wg-quick down wg0
rtsp camera normal view in vlc (rtsp://admin:<PASSWORD>@192.168.2.21:554/H.264)
When sudo wg-quick up wg0
camera not view rtsp stream in LAN.
rtsp via WAN not work never
All wireguard connections to Internet work correctly.
ssh, https, irc work fine!
|----------> Internet
|
|
//=======================================\\
Wireguard server VDS
ubntu-20.04LTS
wg0 - 10.66.66.1
ens3 - 109.107.XXX.XXX - Public internet IP
\\=======================================//
/\
|
|
|
//======================================\\
Tp-Link router
usb LTS-modem ---- to Internet provider
\\======================================//
/\
|
|
|
//==========================================================================\\
Wireguard client
ubuntu-20.04LTS Desktop
wg0-10.66.66.8
enp4s0-192.168.1.34 DHCP from tp-link router
enp3s0-192.168.2.20(static) enp3s0 is DHCP-Server -----> IP Camera EZVIZ-C3N (192.168.2.21 - from DHCP enp3s0)
\\==========================================================================//
Forwarding enabled on server and client:
In /etc/sysctl.conf net.ipv4.ip_forward=1
When sudo wg-quick down wg0
rtsp camera normal view in vlc (rtsp://admin:<PASSWORD>@192.168.2.21:554/H.264)
When sudo wg-quick up wg0
camera not view rtsp stream in LAN.
rtsp via WAN not work never
All wireguard connections to Internet work correctly.
ssh, https, irc work fine!
Comment