]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/vpnmain.cgi
IPSec: add lefthostaccess=yes to enable access to the gw itself.
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / vpnmain.cgi
index 28ac30e8ec51234283aee472a8ae681856dd0b70..85bb713c32e07cbeaac545d7c4c54b60e06e4512 100644 (file)
@@ -316,6 +316,7 @@ sub writeipsecfiles {
        print CONF "\tleftnexthop=%defaultroute\n" if ($lconfighash{$key}[26] eq 'RED' && $lvpnsettings{'VPN_IP'} ne '%defaultroute');
        print CONF "\tleftsubnet=$lconfighash{$key}[8]\n";
        print CONF "\tleftfirewall=yes\n";
+       print CONF "\tlefthostaccess=yes\n";
 
        print CONF "\tright=$lconfighash{$key}[10]\n";
        if ($lconfighash{$key}[3] eq 'net') {