Skip to content

When VPN is connected i cannot reache the server from diffrent vlan #4

@SBerg1980

Description

@SBerg1980

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions