LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack 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: 641

Rep: Reputation: 66
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: 641

Rep: Reputation: 66
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: 641

Rep: Reputation: 66
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 02:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration