Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "firewall": {
- "name": {
- "WAN_LOCAL": {
- "rule": {
- "50": {
- "action": "accept",
- "description": "Allow L2TP",
- "destination": {
- "port": "500,1701,4500"
- },
- "protocol": "udp"
- },
- "51": {
- "action": "accept",
- "description": "Allow ESP",
- "protocol": "esp"
- }
- }
- }
- }
- },
- "vpn": {
- "ipsec": {
- "ipsec-interfaces": {
- "interface": [
- "pppoe0"
- ]
- },
- "nat-networks": {
- "allowed-network": {
- "0.0.0.0/0": "''"
- }
- },
- "nat-traversal": "enable"
- },
- "l2tp": {
- "remote-access": {
- "authentication": {
- "local-users": {
- "username": {
- "testuser": {
- "password": "test1234"
- }
- }
- },
- "mode": "local"
- },
- "client-ip-pool": {
- "start": "192.168.1.100",
- "stop": "192.168.1.110"
- },
- "dns-servers": {
- "server-1": "8.8.8.8",
- "server-2": "8.8.4.4"
- },
- "ipsec-settings": {
- "authentication": {
- "mode": "pre-shared-secret",
- "pre-shared-secret": "test1234"
- },
- "ike-lifetime": "3600"
- },
- "mtu": "1492",
- "outside-address": "mijn-externe-ip"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment