upgraded ipv6 scenarios to 5.0.0

This commit is contained in:
Andreas Steffen
2012-05-29 23:40:01 +02:00
parent 53915f14ae
commit 08951eb7a8
121 changed files with 737 additions and 282 deletions
@@ -45,14 +45,14 @@ start() {
ip6tables -A INPUT -p icmpv6 --icmpv6-type neighbor-advertisement -j ACCEPT
ip6tables -A OUTPUT -p icmpv6 --icmpv6-type neighbor-advertisement -j ACCEPT
# allow crl fetch from winnetou
iptables -A INPUT -i eth0 -p tcp --sport 80 -s PH_IP_WINNETOU -j ACCEPT
iptables -A OUTPUT -o eth0 -p tcp --dport 80 -d PH_IP_WINNETOU -j ACCEPT
# allow ssh
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 22 -j ACCEPT
# log dropped packets
ip6tables -A INPUT -j LOG --log-prefix " IN: "
ip6tables -A OUTPUT -j LOG --log-prefix " OUT: "
eend $?
}
@@ -1,8 +1,7 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
plutodebug=control
charonstart=no
plutostart=no
conn %default
ikelifetime=60m
@@ -11,10 +10,10 @@ conn %default
keyingtries=1
keyexchange=ikev1
authby=secret
conn rw
left=PH_IP6_MOON
leftsubnet=fec1::/16
leftfirewall=yes
right=%any6
right=%any
auto=add
@@ -1,3 +1,5 @@
# /etc/ipsec.secrets - strongSwan IPsec secrets file
PH_IP6_MOON %any6 : PSK 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
PH_IP6_CAROL : PSK 0sFpZAZqEN6Ti9sqt4ZP5EWcqx
PH_IP6_DAVE : PSK 0sjVzONCF02ncsgiSlmIXeqhGN
@@ -0,0 +1,5 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = aes des sha1 sha2 md5 pem pkcs1 gmp random nonce hmac stroke kernel-netlink socket-default updown
}