two route configurations for same IP

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
assistenza
OpenVpn Newbie
Posts: 1
Joined: Fri Dec 16, 2022 8:26 am

two route configurations for same IP

Post by assistenza » Fri Dec 16, 2022 9:03 am

Hi everybody,

we have an OpenVPN communiy edition server up and running.
we have 4 devices connected say dev1, dev2, dev3, dev4

dev3 and dev4 has a second network lan 192.168.85.100
we would connect the devices as below
dev1 to dev3 so if dev1 ping 192.168.85.100 see dev3
dev2 to dev4 so if dev2 ping 192.168.85.100 see dev4


dev1

push "route 192.168.85.0 255.255.255.0"


dev2

push "route 192.168.85.0 255.255.255.0"


dev3

iroute 192.168.85.0 255.255.255.0


dev4

iroute 192.168.85.0 255.255.255.0


how can we configure routing table accordingly to our needs?
Thank you

Post Reply