How to route 2 interface one with local GW and one with VPN on the same machine.
Router----------VPN-------------Desired behaviour-------ETH
----------------NO--------------all ports execpt XXXX---ETH0
DMZ-------------Yes-------------only port XXXX----------ETH1
ETH0 192.168.1.XX uses GW 192.168.1.1 to acces internet.
ETH1 192.168.1.XY uses VPN to acces internet (DMZ in local router).
So I want help how to route the traffic for port XXXX on the machine.
All traffic on port XXXX both incoming and outgoing should go trough ETH1, ETH1 is connected to an VPN and is DMZ in the router.
ETH0 is going to have all other ports on it and it is not connected to any VPN.
Is this somehow plausible? And how? Will be very happy for any help with it.
Best Regards
|