LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-11-2007, 02:47 AM   #1
mallikk_in
Member
 
Registered: Jun 2006
Posts: 34

Rep: Reputation: 15
about IPsec


Is the IPsec will support the NATing concept.some body saying it will support and somebody not.please can you help me.....
 
Old 05-11-2007, 02:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
as their own technologies, they don't have anything to do with one another. can you give a context to actually understand the probelsm you're having?
 
Old 05-11-2007, 03:17 AM   #3
mallikk_in
Member
 
Registered: Jun 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Let me explain a context where i faced this problem.

Some body in a private network( a branch office ) with private ip address is going to communicate with the peer system which is located in another private network ( a head office) with its private ip address itself. In this scenario, i need to offer security for the packets through ipsec.

So, In this context, whether my packets in one branch is natted by the NAT router or not. Because, i heard that IPsec doesn't support NATing concept. Then how does my packet with IPsec security goes to that peer system.
 
Old 05-11-2007, 03:31 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok, well ipsec as a protocol doesn't use port numbers, unlike tcp or udp as such it is not possible to easily nat an ipsec packet as it traverses a device like an adsl firewall, which naturally nats traffic from an internal subnet to the single public ip. to get around this, many ipsec implementations will allow the option of adding a dummy tcp or udp header, allowing for an arbitrary port number to be added. this then can be used within a nat table to manage the connections.

in your scenario though, you have an ipsec tunnel between two edge devices at the sites? from there, there's not going to actually be any natting taking place, as the peers themselves will be the public addresses. if there's a single vpn termination point behind the edge device, then you would conventionally just forward all ipsec traffic to that internal device.
 
Old 05-11-2007, 03:38 AM   #5
mallikk_in
Member
 
Registered: Jun 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks for helping me to uderstand ipsec concept
 
  


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
ipsec help ankscorek Linux - Networking 1 03-30-2006 03:42 AM
IPsec cranium2004 Linux - Security 5 05-01-2005 08:21 PM
ipsec?? new user Linux - Security 5 08-18-2003 11:37 PM
Ipsec MarleyGPN Linux - Networking 1 07-15-2003 08:18 AM
ipsec pk21 Linux - Software 2 01-30-2003 06:39 AM

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

All times are GMT -5. The time now is 09:23 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