LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-04-2013, 05:44 AM   #1
devilrox
LQ Newbie
 
Registered: May 2013
Posts: 3

Rep: Reputation: Disabled
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
 
Old 05-07-2013, 05:33 AM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
how do you check your IP-address?
 
Old 05-07-2013, 07:50 AM   #3
devilrox
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi, thank you for your reply..i check it online on http://www.lawrencegoetz.com/programs/ipinfo/ why?
 
Old 05-08-2013, 02:27 AM   #4
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
well, then it is nothing about the IP-address you connect to when establishing VPN, it is about NAT
 
Old 05-08-2013, 02:34 AM   #5
devilrox
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
ohh i don't mind it, and is there any solutions to display the ip instead? thank you
 
Old 05-08-2013, 03:49 AM   #6
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
sorry? what do you want to do? if you need the site to display another IP-address, configure NAT properly on your dedicated server
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: alias.sh puts your Linux shell alias on the clouds LXer Syndicated Linux News 0 01-21-2013 12:00 AM
[SOLVED] Windows7 VPN clients behind Debian Gateway can not connect to Draytek VPN neopandid Linux - Server 3 08-31-2012 11:34 PM
Wildcard email alias in /etc/alias file custangro Linux - Enterprise 1 10-02-2009 12:17 PM
IP alias? Machine name alias? JohnLocke Linux - Newbie 4 01-16-2008 12:21 PM
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration