Vpn with ip alias
Hello to everybody and really thank you for this great service.
I'm looking for this information on google from days with no success and hope to find somebody that knows the answer here.
I have a dedicated server with a real IP configured on eth0 and a secondary ip address configured on eth0:0 as alias and provider has router second ip on the primary ip, so i can ping both ips from anywhere with success.
I configured a pptp service on the dedicated server and can connect and surf correctly from any clients, problem is that also if i connect the vpn trought the secondary ip address when i check my ip i always see the primary ip address instead the secondary, i tried to route all traffic with:
route add -host IPALIAS dev eth0:0, but no success with it.
somebody now as i can get outbound on internet with the aliased-ip instead real ip???
Thank you so much