Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-04-2013, 05:44 AM
|
#1
|
LQ Newbie
Registered: May 2013
Posts: 3
Rep: 
|
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
Marco
|
|
|
05-07-2013, 05:33 AM
|
#2
|
Member
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666
Rep:
|
how do you check your IP-address?
|
|
|
05-08-2013, 02:27 AM
|
#4
|
Member
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666
Rep:
|
well, then it is nothing about the IP-address you connect to when establishing VPN, it is about NAT
|
|
|
05-08-2013, 02:34 AM
|
#5
|
LQ Newbie
Registered: May 2013
Posts: 3
Original Poster
Rep: 
|
ohh i don't mind it, and is there any solutions to display the ip instead? thank you
|
|
|
05-08-2013, 03:49 AM
|
#6
|
Member
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666
Rep:
|
sorry? what do you want to do? if you need the site to display another IP-address, configure NAT properly on your dedicated server
|
|
|
All times are GMT -5. The time now is 12:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|