I have system with two interface like
eth0 -> 88.198.x.x
eth1 -> 192.168.10.10
I need this server to be accessible from internet throw eth0 but server uses eht1 for it's own internet needs (download, update, etc).
*There is a VPN server behind eth1 to hide my servers location
I tried to remove gateway from eth0 and add one to eth1 but i lost asscess to internet and even ping to eth0 I add getaway to both eth* and then delete default route and then add route to eth1 gateway by
route del default route add 192.168.10.10 gw 192.168.10.254
but that failed too! how can i fix it?
OS ubuntu 18.04