Sample Header Ad - 728x90

Manjaro - how to set in routing table that addresses to internet come out by specific IP?

1 vote
1 answer
2098 views
I have a connection via VPN with my work. I know that internet connection (for example to 8.8.8.8) goes through my work network (only when I am connected to VPN). How to configure ip tables to force that connections to internet (for example 8.8.8.8) avoid work network ? Using @Julie help in comments I did managed to discover some options: <img src=" class="img-fluid rounded" style="max-width: 100%; height: auto; margin: 10px 0;" loading="lazy"> Nevertheless, after checking 'Use this connection only for resources...' I can't ping machines in VPN network. Can you tell me how should I deal with it ? I guess that I should click 'Add' and set: Address = address of some machine in VPN Netmask = I can get it from ifconfig (in VPN interface) Gateway - as in case of netmask Metri - I have no idea ? Am I right ?
Asked by user188811
May 19, 2017, 04:25 PM
Last activity: Jul 18, 2025, 07:04 PM