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.
|
 |
09-19-2005, 05:37 AM
|
#1
|
Member
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208
Rep:
|
Confusing PTP and IPSec
I am doing tunneling via PTP.
This make's inteface's called tun0 tun1 respectively for each connection.
this is the logical diagram about how PTP works
serverA Private IP----192.168.1.0/24
\
/ \
/ \
/
{tun0}202.79.x.x public IP {tun1} 202.79.x.x---public Ip
\
/ \
/ \
/
/ \
ServerB tun0{202.79.x.x} ServerC 202.79.x.x tun0
Private Ip---192.168.2.0/24 Private Ip-192.168.3.0/24
Now in the above situation there is PTP connection running.I can ping the private IP's of ServerB and ServerC from ServerA and vice versa.This is what i wanted to do.it is working Great. Now can i use IPSec over this? or do i have to remove PTP first?Is the basic function or work of PTP and IpSec the same.I mean to ping the private IP's of different network.I have been looking the answer of the above questions for a long time but could not find a good and straight one...Please give me some advices......
and where can i get the latest IPSec package?.
|
|
|
09-20-2005, 02:33 PM
|
#2
|
Member
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101
Rep:
|
I have set up a PPTP connection using the Poptop package, which works like yours. One difference between PPTP and other VPN solutions like IPsec, is that PPTP is Microsoft Proprietary. Because of this it is included on most if not all MS operating systems.
I'm not sure why you would want to run IPsec and PPTP, however I believe you could disconnect the PTP(?) connection while you configure IPsec rather than removing it completely.
|
|
|
09-21-2005, 04:30 AM
|
#3
|
Member
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208
Original Poster
Rep:
|
No i mean that is there any harm if i dont' move for IPSec.???Well basically as i have understood is that both IPSec and PPTP are for commomn thing.Like accessing on another network's private IP even though there is natting on the gateway server right??
So suggest me.....
The thing i want to do is ,, Just the thing i am doing.So what is the point on moving to IPSec...?
|
|
|
09-21-2005, 11:56 AM
|
#4
|
Member
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101
Rep:
|
I haven't looked into IPsec very much. Both are just different ways to achieve the same result, a VPN. Perhaps there are vulnerabilities to one or the other that I do not know of. Personally I don't see any reason to use IPsec over PPTP, but I haven't researched it.
VPN's are not solely for accessing PC's on a private network. You could have a public network and use VPN to connect to a machine. This way you do not have to have all of your ports/services exposed to the net.
For example:
If you want to use file sharing on the server machine. Ordinarily this would mean you would have to expose that service (netbios) to the internet. Not a very smart thing to do! However if you use a VPN (pptp ) then the netbios traffic is contained in the pptp packets meaning that the only ports that are exposed to the internet are 1723 and GRE, which is much more secure.
|
|
|
All times are GMT -5. The time now is 05:38 PM.
|
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
|
|