| #ipsec remote access vpn configuration |
| conn L2TP-PSK |
| authby=secret |
| rekey=no |
| keyingtries=3 |
| leftfirewall=yes |
| type=transport |
| # |
| # ---------------------------------------------------------- |
| # The VPN server. |
| # |
| # Allow incoming connections on the external network interface. |
| # If you want to use a different interface or if there is no |
| # defaultroute, you can use: left=your.ip.addr.ess |
| # |
| left=172.26.0.151 |
| # |
| leftprotoport=udp/l2tp |
| # If you insist on supporting non-updated Windows clients, |
| # you can use: leftprotoport=17/%any |
| # |
| # ---------------------------------------------------------- |
| # The remote user(s). |
| # |
| # Allow incoming connections only from this IP address. |
| right=%any |
| # If you want to allow multiple connections from any IP address, |
| # you can use: right=%any |
| # |
| rightprotoport=udp/%any |
| # |
| # ---------------------------------------------------------- |
| # Change 'ignore' to 'add' to enable this configuration. |
| # |
| rightsubnetwithin=0.0.0.0/0 |
| auto=route |