LinuxQuestions.org
Review your favorite Linux distribution.
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 09-19-2005, 04:37 AM   #1
roopunix
Member
 
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208

Rep: Reputation: 30
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?.
 
Old 09-20-2005, 01:33 PM   #2
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
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.
 
Old 09-21-2005, 03:30 AM   #3
roopunix
Member
 
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208

Original Poster
Rep: Reputation: 30
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...?
 
Old 09-21-2005, 10:56 AM   #4
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
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.
 
  


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
Sony PTP Camera permission problems araldit Linux - Hardware 0 05-05-2005 01:10 PM
How do I safely disconnect USB camera operating in PTP mode? TakeAwayDave Linux - Hardware 4 07-22-2004 10:28 AM
Digital camera - PTP or USB (or both) kabads Linux - Hardware 2 03-01-2004 05:55 AM
Digikam / Problem with upload files on PTP devices morix Linux - Software 1 10-31-2003 01:13 PM
ptp bloking help!!!!!!!!!!!!!!!!!!! daznis Linux - Networking 3 04-01-2003 11:47 AM

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

All times are GMT -5. The time now is 01:49 PM.

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