Hello!
I have a weird setup here whereby I have two IP addresses available, say:
22.33.44.187, netmask 255.255.255.128, default gateway 22.33.44.129
13.33.44.92, netmask 255.255.255.0, default gateway 13.33.44.1
I'd like to set up the two IPs so that one (22.33.44.187 in this example) is used mainly for a VPN (both routing out (using
My problem is I can set one default route. Ideally I would like to set a different default route for outgoing packets for each IP rather than a default route for the whole system.
How can this be done?
Thanks in advance!
I have a weird setup here whereby I have two IP addresses available, say:
22.33.44.187, netmask 255.255.255.128, default gateway 22.33.44.129
13.33.44.92, netmask 255.255.255.0, default gateway 13.33.44.1
I'd like to set up the two IPs so that one (22.33.44.187 in this example) is used mainly for a VPN (both routing out (using
IPNAT
currently), and listening for VPN connections) and the other (13.33.44.92) for other things (as a primary IP address).My problem is I can set one default route. Ideally I would like to set a different default route for outgoing packets for each IP rather than a default route for the whole system.
How can this be done?
Thanks in advance!