Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

can anyone tell me the use of tun interface in openvpn? as far as i read, it is used to tunnel all the traffic from the PC over the ssl tunnel. But incase of VPN, i suppose all the traffic initiated from remote-pc should have the ip-address assigned from the private network by the ssl-vpn server. So does tun interface helps in identifyin the source-ip to be used for all traffic from remote pc? Or is there any doc explains how the openvpn client side works for better understanding?

Thanks, summa.

share|improve this question

1 Answer 1

tun or tap devices are the network adapters of the openvpn tunnel, like eth0 is for the LAN or tap adapter for a modem connection. They are assigned an IP by the vpn server.

principle behind openvpn tunnels

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.