1
Virtual private networks / vlan routing to openvpn
« on: October 29, 2024, 06:57:42 am »
I have configured a VPN client using open VPN. The client works: there is a virtual interface and I get an IP address.
But now there are basically 2 things I would like to have.
1 - Create a VLAN which uses this VPN tunnel for all internet access.
2 - On another (existing VLAN) direct certain IP addresses from an ASN to this VPN tunnel.
Are both possible ? In case of the second option, which would be the approach ?
e.g. The VPN has an IP address in the 10.x range. Would I block 'regular' internet for those IP addresses, so it uses the VPN as an alternative, or should I do something with DNS ?
But now there are basically 2 things I would like to have.
1 - Create a VLAN which uses this VPN tunnel for all internet access.
2 - On another (existing VLAN) direct certain IP addresses from an ASN to this VPN tunnel.
Are both possible ? In case of the second option, which would be the approach ?
e.g. The VPN has an IP address in the 10.x range. Would I block 'regular' internet for those IP addresses, so it uses the VPN as an alternative, or should I do something with DNS ?