Sample Header Ad - 728x90

DHCP - Force install routing table to local computer

0 votes
0 answers
139 views
I would like to use my Ubuntu VM to act as a dhcp server and gateway for my work laptop, This laptop must connect to a Cisco anyconnect SSLVPN in order to access internal resources This VPN is not a split tunneling, which means that all the laptop's traffic is encrypted and go through the tunnel to VPN server Is there a way to configure my ubuntu or a Kali linux on it's dhcp server to force install a specific routing table which tells the laptop to use split tunnel the traffic, in other words I will specify only some IP subnets to be routed through the tunnel interface but the default gateway (0.0.0.0/32) must exit directly through my linux, so I guess we could play with the metric so it can be lower the the VPN default route's metric. As far as I know there are some Firewalls that can do this option but not on the DHCP server itself. Since the only weapon I have got is a Ubuntu VM or Kali linux VM. The reason I want to do this because my work laptop is administratively locked so I have no privilege access to change it's network configuration.
Asked by igor-root (1 rep)
May 30, 2023, 11:59 PM
Last activity: Mar 19, 2025, 12:00 PM