Skip to contentSkip to conversation

Questions on VPNs

DISCUSSION Jeff Simmons 2 participants 2 messages Mar 14, 2005

lore
Share & tools
lore
#0 lore raw

Using the native IPSEC code in kernel 2.6, when a tunneled ESP packet is passed by the INPUT chain and then decoded on a VPN gateway, is it then processed by any other chain?

Signature · 5 lines
Jeff Simmons                                   [email protected]
     Simmons Consulting - Network Engineering, Administration, Security

"You guys, I don't hear any noise. Are you sure you're doing it right?"
	-- My Life With The Thrill Kill Kult
#1 lore raw
Quoted 3 lines · Jeff Simmons

Using the native IPSEC code in kernel 2.6, when a tunneled ESP packet is passed by the INPUT chain and then decoded on a VPN gateway, is it then processed by any other chain?

yes. either INPUT or FORWARD depending on the destination of the decrypted packet. with 2.6 IPsec, all packets pass twice: once as ESP, once in decrypted form.

the accepted way to identify decrypted IPsec packets with the native 2.6 stack is to MARK the ESP packets and match the decrypted packets base on that mark.

-j

--
"Let us all bask in television's warm glowing warming glow."
--The Simpsons