Вроде все настроил, с сети 192.168.1.0/24 сеть 192.168.2.0/24 видно, а со стороны linux`а в сторону linksys`а пакеты не ходят.
В чем может быть проблема ?
iptables -A FORWARD -j ACCEPT
Debian Lenny 2.6.26-2-amd64, racoon 0.7.1
racoon.conf
Код:
remote 10.222.1.1 {
exchange_mode aggressive,main;
doi ipsec_doi;
situation identity_only;
my_identifier address 10.222.149.194;
nat_traversal off;
nonce_size 16;
lifetime time 24 hour;
initial_contact on;
proposal_check obey; # obey, strict or claim
proposal {
encryption_algorithm 3des;
hash_algorithm sha1;
authentication_method pre_shared_key;
dh_group 2;
}
generate_policy off;
}
sainfo anonymous {
pfs_group 2;
encryption_algorithm 3des;
authentication_algorithm hmac_md5;
compression_algorithm deflate;
}
ipsec-tools.conf
Код:
spdadd 0.0.0.0/0 192.168.1.0/24 any -P out ipsec esp/tunnel/10.222.2.1-10.222.1.1/require;
spdadd 192.168.1.0/24 0.0.0.0/0 any -P in ipsec esp/tunnel/10.222.1.1-10.222.2.1/require;