Welcome to the Linux Foundation Forum!

Connecting to a network via VPN

My base os is ubuntu and on this i have two vpns. For work related i need to connect to two vpns. One is pulse secure and the other is forticlient. For some reason i need to connect to subnet in forticlient vpn. But whenever i connect to pulse secure my subnet towards forticlient is not working. Hence everytime i need to disconnect and connect pulse.

1) Can any one help me on how to use route command or IPTables or anyother option to help route subnet to one vpn while rest on another vpn.
Note: I have only wireless connections no lan
2) How can i use a script to connect and disconnect pulse secure vpn. Also it has mfa enabled.



Upcoming Training