Strumenti Utente

Strumenti Sito


roberto.alfieri:user:reti:ipsec

IPsec

Abilitare il Forwarding:           echo "1" > /proc/sys/net/ipv4/ip_forward
Abilitare IPSEC:          service ipsec start


lpr2> less /etc/ipsec.d/linux-2_linux.conf 
lpr2> ipsec auto --up  linux-to-linux

lpr1>  ping 192.168.102.104

/etc/ipsec.d/linux-2_linux.conf

conn linux-to-linux

    left=172.28.34.102
    leftrsasigkey=0sAQOFjfaYl6lBsSsdisob6g7V1jkc0riCGHoXKTvmM4CQL/npteHS1b/bvR18
V+I3MNIfa5nHraIY/uMkCsaSc/hX1TT7WHN5f9x1S0WHUDLuDtB3/LqjsKmaBNT+1cJN8DScJ/NUn6oP
l2UuhY8/aSwTZyxOA8g4w3wwjLyWpKyNan9s4b72/PToqj3wNPbQQtfrXFv8JqYgeTk3vEz3sK05ba7J
+23p17AAkFoVzMb9HgCtr9Wj7DZG3jLpaRRvqvHAPY9e0Yliok7uwy7QIU4U6U28X+YuhpLLWPbFlA1d
2sBJ1D9S+zVix6p4aPtF+QqWq+BsGmTCX14ZGpizG30h5fKg1esBMQITGMy4159yXLWp
    leftnexthop=%defaultroute
    leftsubnet=192.168.101.0/24

    right=172.28.34.103
    rightrsasigkey=0sAQOPWw38GrDI6U/BWVcgcwV3frF5JxYZmqxTCdn7gw1IcBpzpR02uAfjVWU
/DN1p7YAIRhcvCfdK4mC49rEbWALoFe/bsmiss+g/JmCHdkfy+28hDhS3wvJhHHgPvh9Vw7yggMRqPbh
N9ZcN9GJSyVeLHr4MmosglnVGvc7kmIb4eje60KZS/Z+BMPYmZnydQhGaBsqVG9e3NOGOzcmgKKJbUTC
rTSas9YztVGIRIXHbQz/VvdvijglyThg8W4Qcg3Ks0g1o7WMJhp7tczVh0rV96KyaBQZnbKbfK2LA5/y
JclH8hHT6bRLbMtCnp8vi9Yjl/NkW65oAWaRKcrSEfmj8dxlwzlYonYwYOvebox5PR+k9
    rightnexthop=%defaultroute     
    rightsubnet=192.168.102.0/24
    auto=add
roberto.alfieri/user/reti/ipsec.txt · Ultima modifica: 30/08/2012 09:21 da roberto.alfieri