i have 2 VLAN:
VLAN 1 192.168.1.0/24
VLAN 2 192.168.2.0/24
passthroughvpn runs on vlan2
If i start passtroughvpn i can ping the machine from vlan2 all the time.
When my machine is connected to vlan1 i can only ping the machine when the openvpn is down.
When i remote control the docker and add this
iptables -A OUTPUT -s 192.168.2.0/24 -d 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -s 192.168.1.0/24 -d 192.168.2.0/24 -j ACCEPT
i can ping the machine and connect to it.
LAN_NETWORK: 192.168.2.0/24,192.168.1.0/24
Please help
i have 2 VLAN:
VLAN 1 192.168.1.0/24
VLAN 2 192.168.2.0/24
passthroughvpn runs on vlan2
If i start passtroughvpn i can ping the machine from vlan2 all the time.
When my machine is connected to vlan1 i can only ping the machine when the openvpn is down.
When i remote control the docker and add this
iptables -A OUTPUT -s 192.168.2.0/24 -d 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -s 192.168.1.0/24 -d 192.168.2.0/24 -j ACCEPT
i can ping the machine and connect to it.
LAN_NETWORK: 192.168.2.0/24,192.168.1.0/24
Please help