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 through 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 know how I can get outbound on internet with the aliased-ip instead real IP?