Доброго утра, добрые люди!
Amma_GRE в качестве Source Interface выбрал, так как подумал, что в ipsec нам надо запихнуть gre...или надо выбирать wan?
GRE поверх IPSec - такое решение было принято на другом конце туннеля...нужно лишь для работы в 1С через remoteApp, но для этого надо будет сделать чтобы и домены наши могли совместно работать
Еще смущает отсутствие на DFL таких параметров, как Local и Remote ID типа FQDN...
Настройки FreeBSD (которые мне сообщили):
#создаем туннель
ifconfig gre20 create
ifconfig gre20 10.254.0.81 netmask 255.255.255.0
ifconfig gre20 tunnel 195.16.116.20* 178.173.24.7*
#настройки FreeBsd
Racoon.conf
path pre_shared_key "/usr/local/etc/racoon/psk.txt"; #location of pre-shared key file
log debug; #log verbosity setting: set to 'notify' when testing and debugging is complete
padding # options are not to be changed
{
maximum_length 20;
randomize off;
strict_check off;
exclusive_tail off;
}
timer #timing options. change as needed
{
counter 5;
interval 20 sec;
persend 1;
# natt_keepalive 15 sec;
phase1 30 sec;
phase2 15 sec;
}
listen # address [port] that racoon will listen on
{
isakmp 195.16.116.20* [500];
# isakmp_natt 172.16.5.4 [4500];
}
remote 178.173.24.7*
{
exchange_mode aggressive;
doi ipsec_doi;
situation identity_only;
my_identifier fqdn "routertopet";
peers_identifier fqdn "Pet-FW";
lifetime time 8 hour;
passive off;
proposal_check obey;
generate_policy off;
proposal {
encryption_algorithm des;
hash_algorithm md5;
authentication_method pre_shared_key;
lifetime time 30 sec;
dh_group modp1024;
}
}
sainfo address 178.173.24.7*/32 any address 195.16.116.20*/32 any #address $network/$netmask $type address $networ
{ #$network must be the two internal networks you are joini
pfs_group modp1024;
lifetime time 86400 sec;
encryption_algorithm des;
authentication_algorithm hmac_md5;
compression_algorithm deflate;
}
sainfo address 195.16.116.20*/32 any address 178.173.24.7*/32 any #address $network/$netmask $type address $networ
{ #$network must be the two internal networks you are joini
pfs_group modp1024;
lifetime time 86400 sec;
encryption_algorithm des;
authentication_algorithm hmac_md5;
compression_algorithm deflate;
}
/usr/local/etc/racoon/psk.txt
178.173.24.7* 0xd7d8d225222
/tmp/temp_ipsec.conf
##This is automatic generated config from ipfw_main.sh script. By VeN.########
flush;
spdflush;
spdadd gre/32 /32 -P out ipsec esp/tunnel/gre-/require;
spdadd /32 gre/32 -P in ipsec esp/tunnel/-gre/require;