Reply
New Member
Posts: 6
Registered: ‎08-19-2014
Kudos: 1
Solutions: 1
Accepted Solution

Edge Router VPN Setup

[ Edited ]

Edited per UBNT-MikeD request for formatting.  Sorry

 

I'm on my first EdgeMax set up and having difficulty with the VPN. Used -JW's very helpful config advice but have clearly missed something.

 

Using a WAN/LAN only and a fixed WAN address. 

 

Below the config, if anybody kind enough to spot the errors. Thanks 

 

 

firewall {
    all-ping enable
    broadcast-ping disable
    ipv6-receive-redirects disable
    ipv6-src-route disable
    ip-src-route disable
    log-martians enable
    name WAN_IN {
        default-action accept
        description "Packets from internet to LAN & WLAN"
        enable-default-log
        rule 1 {
            action accept
            description "Allow established sessions"
            log disable
            protocol all
            state {
                established enable
                invalid disable
                new disable
                related enable
            }
        }
        rule 2 {
            action drop
            description "Drop invalid state"
            log disable
            protocol all
            state {
                established disable
                invalid enable
                new disable
                related disable
            }
        }
    }
    name WAN_LOCAL {
        default-action drop
        description "Packets from internet to the router"
        rule 1 {
            action accept
            description "Allow established session to the router"
            log disable
            protocol all
            state {
                established enable
                invalid disable
                new disable
                related enable
            }
        }
        rule 2 {
            action accept
            description "Allow PPTP Port 1723"
            destination {
                port 1723
            }
            log disable
            protocol tcp
        }
        rule 3 {
            action accept
            description "Allow PPTP GRE"
            log disable
            protocol gre
        }
        rule 4 {
            action drop
            description "Drop invalid state"
            log disable
            protocol all
            state {
                established disable
                invalid enable
                new disable
                related disable
            }
        }
    }
    receive-redirects disable
    send-redirects enable
    source-validation disable
    syn-cookies enable
}
interfaces {
    ethernet eth0 {
        address 192.168.100.2/24
        duplex auto
        firewall {
            in {
                name WAN_IN
            }
            local {
                name WAN_LOCAL
            }
        }
        speed auto
    }
    ethernet eth1 {
        address 192.168.0.254/24
        duplex auto
        speed auto
    }
    ethernet eth2 {
        duplex auto
        speed auto
    }
    loopback lo {
    }
}
port-forward {
    auto-firewall enable
    hairpin-nat enable
    lan-interface eth1
    rule 1 {
        description PPTP
        forward-to {
            address 192.168.0.5
            port 1723
        }
        original-port 1723
        protocol tcp_udp
    }
    wan-interface eth0
}
protocols {
    static {
        route 0.0.0.0/0 {
            next-hop 192.168.100.1 {
            }
        }
    }
}
service {
    dhcp-server {
        disabled false
        hostfile-update disable
        shared-network-name DHCP {
            authoritative disable
            subnet 192.168.0.0/24 {
                default-router 192.168.0.254
                dns-server xx.xxx.xxx.1
                dns-server xx.xxx.xxx.2
                lease 86400
                start 192.168.0.60 {
                    stop 192.168.0.250
                }
            }
        }
    }
    dns {
        forwarding {
            cache-size 150
            listen-on eth0
            listen-on eth1
        }
    }
    gui {
        https-port 443
    }
    nat {
        rule 5000 {
            description NAT
            log disable
            outbound-interface eth0
            protocol all
            source {
                address 192.168.0.0/24
            }
            type masquerade
        }
    }
    ssh {
        port 22
        protocol-version v2
    }
}
system {
    host-name ubnt
    login {
        user AAAA {
            authentication {
                encrypted-password $6$y.fBSCCumaKGHgA6$NxqMZgN3EoQHf4prlZv5IuPcTPSDYUODw0ZZHfGezxCgH7ZbBQ3GhVWeRR7YAd09tRb3.nxvUuRpTEN583dSC.
                plaintext-password ""
            }
            level admin
        }
        user BBBB {
            authentication {
                encrypted-password $6$CyUU24/L5weO$Cr8C4EJyiSIroqD6y/URKnZER11E0NHKN/Gnsft5D91Eb762pScPVlLVKIdR9412ZiJqXRFPqxtdLqA/QsZR8.
                plaintext-password ""
            }
            level admin
        }
        user CCCC {
            authentication {
                encrypted-password $6$HKZzUzfx3uO$ECO3MAUwEW12uybNfRCxTObvtl9A84rGKsCJqKLAIPFfzcB3YCGSF0AFOklweUVbuROT2wW28tIvlyYfdRb3O1
                plaintext-password ""
            }
            full-name ""
            level admin
        }
    }
    name-server 8.8.8.8
    ntp {
        server 0.ubnt.pool.ntp.org {
        }
        server 1.ubnt.pool.ntp.org {
        }
        server 2.ubnt.pool.ntp.org {
        }
        server 3.ubnt.pool.ntp.org {
        }
    }
    syslog {
        global {
            facility all {
                level notice
            }
            facility protocols {
                level debug
            }
        }
    }
    time-zone America/Los_Angeles
}
vpn {
    pptp {
        remote-access {
            authentication {
                local-users {
                    username USER1 {
                        password "PASSWORD1"
                    }
                    username USER2{
                        password "PASSWORD2"
                    }
                    username USER3 {
                        password "PASSWORD3"
                    }
                }
                mode local
            }
            client-ip-pool {
                start 192.168.0.55
                stop 192.168.0.59
            }
            dns-servers {
                server-1 8.8.8.8
                server-2 8.8.8.9
            }
            mtu 1492
        }
    }
}


/* Warning: Do not remove the following line. */
/* === vyatta-config-version: "config-management@1:conntrack@1:cron@1:dhcp-relay@1:dhcp-server@4:firewall@5:ipsec@3:nat@3:qos@1:quagga@2:system@4:ubnt-pptp@1:ubnt-util@1:vrrp@1:webgui@1:webproxy@1:zone-policy@1" === */
/* Release version: v1.5.0.4677648.140620.1301 */

 


Accepted Solutions
New Member
Posts: 6
Registered: ‎08-19-2014
Kudos: 1
Solutions: 1

Re: Edge Router VPN Setup

I realized that I was looking at the oldest log, not the newest.  I cant log in on my phone now and this is the log

 

 2 07:20:43	ubnt pppd[17096]: Connection terminated: no multilink.
Jun 2 07:20:43	ubnt zebra[493]: interface ppp0 index 91 deleted.
Jun 2 07:20:43	ubnt pptpd[17095]: GRE: read(fd=6,buffer=4215fc,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Jun 2 07:20:43	ubnt pptpd[17095]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Jun 2 07:20:43	ubnt pptpd[17095]: CTRL: Couldn't write packet to client.
Jun 2 07:20:43	ubnt pptpd[17095]: CTRL: Couldn't write packet to client.
Jun 2 07:20:42	ubnt pppd[17096]: MPPE required but peer negotiation failed
Jun 2 07:20:38	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=31383 DF PROTO=TCP SPT=37132 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:20:38	ubnt pppd[17096]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:20:38	ubnt pppd[17096]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:20:38	ubnt zebra[493]: interface ppp0 index 91 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:19:35	ubnt pppd[17067]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:19:35	ubnt pppd[17067]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:19:35	ubnt zebra[493]: interface ppp0 index 90 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:19:35	ubnt pptpd[17066]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:19:35	ubnt pptpd[17066]: CTRL: couldn't read packet header (exit)
Jun 2 07:19:35	ubnt pptpd[17066]: CTRL: CTRL read failed
Jun 2 07:19:35	ubnt pppd[17067]: Modem hangup
Jun 2 07:19:35	ubnt pppd[17067]: Connection terminated: no multilink.
Jun 2 07:19:35	ubnt zebra[493]: interface ppp0 index 90 deleted.
Jun 2 07:19:35	ubnt pptpd[17066]: CTRL: Couldn't write packet to client.
Jun 2 07:19:35	ubnt pptpd[17066]: CTRL: Couldn't write packet to client.
Jun 2 07:19:34	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=15611 DF PROTO=TCP SPT=10107 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:17:46	ubnt pppd[17023]: Connection terminated: no multilink.
Jun 2 07:17:46	ubnt zebra[493]: interface ppp0 index 89 deleted.
Jun 2 07:17:46	ubnt pptpd[17020]: GRE: read(fd=6,buffer=4215fc,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Jun 2 07:17:46	ubnt pptpd[17020]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Jun 2 07:17:46	ubnt pptpd[17020]: CTRL: Couldn't write packet to client.
Jun 2 07:17:46	ubnt pptpd[17020]: CTRL: Couldn't write packet to client.
Jun 2 07:17:45	ubnt pppd[17023]: MPPE required but peer negotiation failed
Jun 2 07:17:39	ubnt pppd[17023]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:17:39	ubnt zebra[493]: interface ppp0 index 89 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:17:39	ubnt pppd[17023]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:17:38	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=45492 DF PROTO=TCP SPT=65175 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:16:32	ubnt pppd[16982]: peer refused to authenticate: terminating link
Jun 2 07:16:32	ubnt pptpd[16981]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:16:32	ubnt pptpd[16981]: CTRL: couldn't read packet header (exit)
Jun 2 07:16:32	ubnt pptpd[16981]: CTRL: CTRL read failed
Jun 2 07:16:32	ubnt pppd[16982]: Modem hangup
Jun 2 07:16:32	ubnt pppd[16982]: Connection terminated: no multilink.
Jun 2 07:16:32	ubnt zebra[493]: interface ppp0 index 88 deleted.
Jun 2 07:16:32	ubnt pptpd[16981]: CTRL: Couldn't write packet to client.
Jun 2 07:16:32	ubnt pptpd[16981]: CTRL: Couldn't write packet to client.
Jun 2 07:16:28	ubnt pppd[16982]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:16:28	ubnt zebra[493]: interface ppp0 index 88 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:16:28	ubnt pppd[16982]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:16:27	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=28056 DF PROTO=TCP SPT=12532 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:16:14	ubnt pppd[16964]: MPPE 128-bit stateless compression enabled
Jun 2 07:16:14	ubnt pppd[16964]: MPPE disabled
Jun 2 07:16:14	ubnt pppd[16964]: Connection terminated: no multilink.
Jun 2 07:16:14	ubnt zebra[493]: interface ppp0 index 87 deleted.
Jun 2 07:16:14	ubnt pptpd[16963]: GRE: read(fd=6,buffer=4215fc,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Jun 2 07:16:14	ubnt pptpd[16963]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Jun 2 07:16:14	ubnt pptpd[16963]: CTRL: Couldn't write packet to client.
Jun 2 07:16:14	ubnt pptpd[16963]: CTRL: Couldn't write packet to client.
Jun 2 07:16:04	ubnt pppd[16964]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:16:04	ubnt zebra[493]: interface ppp0 index 87 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:16:04	ubnt pppd[16964]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:16:03	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=20606 DF PROTO=TCP SPT=51412 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:12:22	ubnt pppd[16884]: peer refused to authenticate: terminating link
Jun 2 07:12:22	ubnt pptpd[16883]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:12:22	ubnt pptpd[16883]: CTRL: couldn't read packet header (exit)
Jun 2 07:12:22	ubnt pptpd[16883]: CTRL: CTRL read failed
Jun 2 07:12:22	ubnt pppd[16884]: Modem hangup
Jun 2 07:12:22	ubnt pppd[16884]: Connection terminated: no multilink.
Jun 2 07:12:22	ubnt zebra[493]: interface ppp0 index 86 deleted.
Jun 2 07:12:22	ubnt pptpd[16883]: CTRL: Couldn't write packet to client.
Jun 2 07:12:22	ubnt pptpd[16883]: CTRL: Couldn't write packet to client.
Jun 2 07:12:18	ubnt pppd[16884]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:12:18	ubnt zebra[493]: interface ppp0 index 86 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:12:18	ubnt pppd[16884]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:12:17	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=55220 DF PROTO=TCP SPT=27631 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:06:41	ubnt pppd[16772]: peer refused to authenticate: terminating link
Jun 2 07:06:41	ubnt pptpd[16771]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:06:41	ubnt pptpd[16771]: CTRL: couldn't read packet header (exit)
Jun 2 07:06:41	ubnt pptpd[16771]: CTRL: CTRL read failed
Jun 2 07:06:41	ubnt pppd[16772]: Modem hangup
Jun 2 07:06:41	ubnt pppd[16772]: Connection terminated: no multilink.
Jun 2 07:06:41	ubnt zebra[493]: interface ppp0 index 85 deleted.
Jun 2 07:06:41	ubnt pptpd[16771]: CTRL: Couldn't write packet to client.
Jun 2 07:06:41	ubnt pptpd[16771]: CTRL: Couldn't write packet to client.
Jun 2 07:06:37	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=45455 DF PROTO=TCP SPT=9886 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:06:37	ubnt pppd[16772]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:06:37	ubnt zebra[493]: interface ppp0 index 85 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:06:37	ubnt pppd[16772]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:04:04	ubnt pppd[16717]: peer refused to authenticate: terminating link
Jun 2 07:04:04	ubnt pptpd[16716]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:04:04	ubnt pptpd[16716]: CTRL: couldn't read packet header (exit)
Jun 2 07:04:04	ubnt pptpd[16716]: CTRL: CTRL read failed
Jun 2 07:04:04	ubnt pppd[16717]: Modem hangup
Jun 2 07:04:04	ubnt pppd[16717]: Connection terminated: no multilink.
Jun 2 07:04:04	ubnt zebra[493]: interface ppp0 index 84 deleted.
Jun 2 07:04:04	ubnt pptpd[16716]: CTRL: Couldn't write packet to client.
Jun 2 07:04:04	ubnt pptpd[16716]: CTRL: Couldn't write packet to client.
Jun 2 07:04:01	ubnt pppd[16717]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:04:01	ubnt zebra[493]: interface ppp0 index 84 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:04:01	ubnt pppd[16717]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:04:00	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=20122 DF PROTO=TCP SPT=8715 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:03:02	ubnt pptpd[16687]: CTRL: Couldn't write packet to client.
Jun 2 07:03:02	ubnt pptpd[16687]: CTRL: Couldn't write packet to client.
Jun 2 07:03:01	ubnt pptpd[16687]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:03:01	ubnt pptpd[16687]: CTRL: couldn't read packet header (exit)
Jun 2 07:03:01	ubnt pptpd[16687]: CTRL: CTRL read failed
Jun 2 07:03:01	ubnt pppd[16688]: Modem hangup
Jun 2 07:03:01	ubnt pppd[16688]: Connection terminated: no multilink.
Jun 2 07:03:01	ubnt zebra[493]: interface ppp0 index 83 deleted.
Jun 2 07:02:58	ubnt pppd[16688]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:02:58	ubnt zebra[493]: interface ppp0 index 83 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:02:58	ubnt pppd[16688]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:02:57	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=15480 DF PROTO=TCP SPT=44982 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:02:36	ubnt pppd[16668]: peer refused to authenticate: terminating link
Jun 2 07:02:36	ubnt pptpd[16667]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:02:36	ubnt pptpd[16667]: CTRL: couldn't read packet header (exit)
Jun 2 07:02:36	ubnt pptpd[16667]: CTRL: CTRL read failed
Jun 2 07:02:36	ubnt pppd[16668]: Modem hangup
Jun 2 07:02:36	ubnt pppd[16668]: Connection terminated: no multilink.
Jun 2 07:02:36	ubnt zebra[493]: interface ppp0 index 82 deleted.
Jun 2 07:02:36	ubnt pptpd[16667]: CTRL: Couldn't write packet to client.
Jun 2 07:02:36	ubnt pptpd[16667]: CTRL: Couldn't write packet to client.
Jun 2 07:02:32	ubnt pppd[16668]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:02:32	ubnt zebra[493]: interface ppp0 index 82 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:02:32	ubnt pppd[16668]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:02:31	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=8097 DF PROTO=TCP SPT=29579 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 06:59:21	ubnt pptpd[16598]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 06:59:21	ubnt pptpd[16598]: CTRL: couldn't read packet header (exit)
Jun 2 06:59:21	ubnt pptpd[16598]: CTRL: CTRL read failed
Jun 2 06:59:21	ubnt pppd[16600]: Modem hangup
Jun 2 06:59:21	ubnt pppd[16600]: Connection terminated: no multilink.
Jun 2 06:59:21	ubnt zebra[493]: interface ppp0 index 81 deleted.
Jun 2 06:59:21	ubnt pptpd[16598]: CTRL: Couldn't write packet to client.
Jun 2 06:59:21	ubnt pptpd[16598]: CTRL: Couldn't write packet to client.
Jun 2 06:59:20	ubnt pppd[16600]: peer refused to authenticate: terminating link
Jun 2 06:59:17	ubnt pppd[16600]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 06:59:17	ubnt zebra[493]: interface ppp0 index 81 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 06:59:17	ubnt pppd[16600]: Connect: ppp0 <--> /dev/pts/0
Jun 2 06:59:13	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=4012 DF PROTO=TCP SPT=26116 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 06:58:38	ubnt pppd[16576]: peer refused to authenticate: terminating link
Jun 2 06:58:38	ubnt pptpd[16575]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 06:58:38	ubnt pptpd[16575]: CTRL: couldn't read packet header (exit)

 

View solution in original post


All Replies
Ubiquiti Employee
Posts: 8,357
Registered: ‎01-28-2013
Kudos: 12733
Solutions: 591
Contributions: 20

Re: Edge Router VPN Setup

Could you please read THIS KB article and edit your post accordingly? Would be much appreciated.

Thanks,
Mike

Emerging Member
Posts: 88
Registered: ‎08-07-2014
Kudos: 41
Solutions: 4

Re: Edge Router VPN Setup

I’m NOT the expert… I just made mine work with a bunch of hand holding… so BIG grain of salt with this.

 

I’m kind of seeing several things. (and please others, correct me if I’m wrong)

 

If you used the wizard to the initial setup, usually your LAN will be 0, and your WAN will be 1. Yours seems to be backwards.

 

I’m seeing on your eth0 interface, which is (I assume) your WAN port, an internal IP configured. That IP is in the 192.168.100.X range. Should that not be a real / internet IP if you are operating from a static IP address?

 

If your ERL is behind another NAT device (such as a cable modem with built in routing, this can be a problem. If this is the case, make sure that you have a static IP assigned to the ERL, and that in your NAT cable modem you have the DMZ set to the IP of the ERL. This way all traffic is routed directly to your ERL.  If you are trying to plug this in strictly as a VPN device on an internal 100.x network (so you can't use DMZ), then you will need additional port forwarding stuff setup on your main router that is controlling the main .100.x network.

 

I’m also seeing a separate/independent port-forward rule for TCP port 1723, that is not the 2 firewall rules you setup… so this is (I think) creating a conflict, and trying to send TCP 1723 to IP 192.168.0.5 which is conflicting with the firewall rule that is trying to route the PPTP traffic to ‘internal’.  This rule is called "PPTP", and is probably visible on the "port forwarding" tab.  This rule should be removed.

 

New Member
Posts: 6
Registered: ‎08-19-2014
Kudos: 1
Solutions: 1

Re: Edge Router VPN Setup

Thanks for the suggestions.  I live in the California countryside so only way to get internet is via ISP wireless connection.  No cable available so ERL eth0 is connected to the wireless router, hence 192.168.100.X.  I checked that the ports are open on the ISP fixed IP address that points to the WAN.

Open TCP Port: 21 ftp
Open TCP Port: 22 ssh
Open TCP Port: 80 http
Open TCP Port: 443 https
Open TCP Port: 554 rtsp
Open TCP Port: 843
Open TCP Port: 1723 pptp

 I can connect to an external VPN service without issue so think  network ports are open.

 

I suspect that the port forwarding rule you saw is incorrect.  I'll try removing the rule tonight and retry. 

 

Previous Employee
Posts: 10,504
Registered: ‎06-09-2011
Kudos: 3109
Solutions: 945
Contributions: 16

Re: Edge Router VPN Setup

[ Edited ]

If your ISP is giving you a private address then you can't get to your router from Internet unless your ISP is willing to port forward to your private address.  Personally I would accept an ISP that didn't give me a public address.

EdgeMAX Router Software Development
Emerging Member
Posts: 88
Registered: ‎08-07-2014
Kudos: 41
Solutions: 4

Re: Edge Router VPN Setup

You might have an issue making this work.

 

Your ISP is providing you a private IP address, instead of a real IP.  This means when you are on the internet, and trying to reach your home ERL, the request is actually stopping at the ISPs router.

 

Just having the ports open or allowing "pass through" I don't think will help... they will have to actually set up the forwarding on their router to pass that traffic straight to you (just like you have to do on your router).  (which will also keep them from setting this up for anyone else)

 

If they were giving you a real IP address, that would be different.  But because they are giving you a 'fake' internal IP, that complicates things, and will have to be coordinated with your ISP.

 

Honestly, you might be better off trying a different approach such as using TeamViewer to reach a computer on your internal network to do stuff... (The TeamViewer iPhone app and PC/MAC apps work great)  or using something like LogMeIn Hamachi (that is a VPN tool that works through a centralized server, vs. directly to your router)  https://secure.logmein.com/products/hamachi/

 

-JW

New Member
Posts: 6
Registered: ‎08-19-2014
Kudos: 1
Solutions: 1

Re: Edge Router VPN Setup

-JW thanks.  Checking with ISP.  Will post results.

New Member
Posts: 6
Registered: ‎08-19-2014
Kudos: 1
Solutions: 1

Re: Edge Router VPN Setup

Per your suggestion I removed the rule:

"I'm also seeing a separate/independent port-forward rule for TCP port 1723, that is not the 2 firewall rules you setup… so this is (I think) creating a conflict, and trying to send TCP 1723 to IP 192.168.0.5 which is conflicting with the firewall rule that is trying to route the PPTP traffic to ‘internal’.  This rule is called "PPTP", and is probably visible on the "port forwarding" tab.  This rule should be removed."

 

I was then able to connect my iphone and see the connection on the router.  However, with the VPN set up in my Mac, the connection was very unstable.  Kept connecting and immediately disconnecting.

 

Set the MTU to 1436 per UBNT-MikeD suggestion but no improvement,

Emerging Member
Posts: 88
Registered: ‎08-07-2014
Kudos: 41
Solutions: 4

Re: Edge Router VPN Setup

I'm actually very surprised that you got anything at all coming in through two NAT routers (the first of which you don't control).

Unless your ISP set something up for you on their router, I have no idea how that's working.
New Member
Posts: 6
Registered: ‎08-19-2014
Kudos: 1
Solutions: 1

Re: Edge Router VPN Setup

I checked with the ISP and they are forwarding to the wireless router.  I managed to log on for about 1/2 hour today so that's positive,  However the next few times I kept getting kicked out after a couple of seconds.  This is the only log I can see:

og messages
Time
	
Message
	
Jun 2 06:45:57	ubnt pptpd[16148]: CTRL: Couldn't write packet to client.
Jun 2 06:45:57	ubnt pptpd[16148]: CTRL: Couldn't write packet to client.
Jun 2 06:45:55	ubnt pptpd[16148]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 06:45:55	ubnt pptpd[16148]: CTRL: couldn't read packet header (exit)
Jun 2 06:45:55	ubnt pptpd[16148]: CTRL: CTRL read failed
Jun 2 06:45:55	ubnt pppd[16149]: Modem hangup
Jun 2 06:45:55	ubnt zebra[493]: interface pptp0 index 74 changed <POINTOPOINT,NOARP,MULTICAST>.
Jun 2 06:45:55	ubnt pppd[16149]: MPPE disabled
Jun 2 06:45:55	ubnt pppd[16149]: Connection terminated: no multilink.
Jun 2 06:45:55	ubnt zebra[493]: interface pptp0 index 74 deleted.
Jun 2 06:44:11	ubnt zebra[493]: interface pptp0 index 74 changed <UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>.
Jun 2 06:44:11	ubnt pppd[16149]: local IP address 10.255.254.0
Jun 2 06:44:11	ubnt pppd[16149]: remote IP address 192.168.0.55
Jun 2 06:44:10	ubnt pppd[16149]: MPPE 128-bit stateless compression enabled
Jun 2 06:44:10	ubnt pppd[16149]: Unsupported protocol 'IPv6 Control Protovol' (0x8057) received
Jun 2 06:44:10	ubnt zebra[493]: warning: PtP interface ppp0 with addr 10.255.254.0/32 needs a peer address
Jun 2 06:44:10	ubnt zebra[493]: interface index 74 was renamed from ppp0 to pptp0
Jun 2 06:44:06	ubnt pppd[16149]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 06:44:06	ubnt zebra[493]: interface ppp0 index 74 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 06:44:06	ubnt pppd[16149]: Connect: ppp0 <--> /dev/pts/0
Jun 2 06:44:05	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=14675 DF PROTO=TCP SPT=63944 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 06:41:14	ubnt pptpd[15965]: CTRL: Couldn't write packet to client.
Jun 2 06:41:14	ubnt pptpd[15965]: CTRL: Couldn't write packet to client.
Jun 2 06:41:11	ubnt pptpd[15965]: GRE: read(fd=7,buffer=419594,len=8260) from network failed: status = -1 error = Message too long
Jun 2 06:41:11	ubnt pptpd[15965]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)
Jun 2 06:41:11	ubnt pppd[15966]: Modem hangup
Jun 2 06:41:11	ubnt zebra[493]: interface pptp0 index 73 changed <POINTOPOINT,NOARP,MULTICAST>.
Jun 2 06:41:11	ubnt pppd[15966]: MPPE disabled
Jun 2 06:41:11	ubnt pppd[15966]: Connection terminated: no multilink.
Jun 2 06:41:11	ubnt zebra[493]: interface pptp0 index 73 deleted.
Jun 2 06:41:10	ubnt pppd[15966]: remote IP address 192.168.0.55
Jun 2 06:41:10	ubnt zebra[493]: interface pptp0 index 73 changed <UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>.

 It seems better with an iphone but thats not what I need Confused5

 

Any help appreciated.  Wondered if L2TP set up would be better as I use that with another system and it works well.

Thanks

 

New Member
Posts: 6
Registered: ‎08-19-2014
Kudos: 1
Solutions: 1

Re: Edge Router VPN Setup

I realized that I was looking at the oldest log, not the newest.  I cant log in on my phone now and this is the log

 

 2 07:20:43	ubnt pppd[17096]: Connection terminated: no multilink.
Jun 2 07:20:43	ubnt zebra[493]: interface ppp0 index 91 deleted.
Jun 2 07:20:43	ubnt pptpd[17095]: GRE: read(fd=6,buffer=4215fc,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Jun 2 07:20:43	ubnt pptpd[17095]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Jun 2 07:20:43	ubnt pptpd[17095]: CTRL: Couldn't write packet to client.
Jun 2 07:20:43	ubnt pptpd[17095]: CTRL: Couldn't write packet to client.
Jun 2 07:20:42	ubnt pppd[17096]: MPPE required but peer negotiation failed
Jun 2 07:20:38	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=31383 DF PROTO=TCP SPT=37132 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:20:38	ubnt pppd[17096]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:20:38	ubnt pppd[17096]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:20:38	ubnt zebra[493]: interface ppp0 index 91 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:19:35	ubnt pppd[17067]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:19:35	ubnt pppd[17067]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:19:35	ubnt zebra[493]: interface ppp0 index 90 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:19:35	ubnt pptpd[17066]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:19:35	ubnt pptpd[17066]: CTRL: couldn't read packet header (exit)
Jun 2 07:19:35	ubnt pptpd[17066]: CTRL: CTRL read failed
Jun 2 07:19:35	ubnt pppd[17067]: Modem hangup
Jun 2 07:19:35	ubnt pppd[17067]: Connection terminated: no multilink.
Jun 2 07:19:35	ubnt zebra[493]: interface ppp0 index 90 deleted.
Jun 2 07:19:35	ubnt pptpd[17066]: CTRL: Couldn't write packet to client.
Jun 2 07:19:35	ubnt pptpd[17066]: CTRL: Couldn't write packet to client.
Jun 2 07:19:34	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=15611 DF PROTO=TCP SPT=10107 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:17:46	ubnt pppd[17023]: Connection terminated: no multilink.
Jun 2 07:17:46	ubnt zebra[493]: interface ppp0 index 89 deleted.
Jun 2 07:17:46	ubnt pptpd[17020]: GRE: read(fd=6,buffer=4215fc,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Jun 2 07:17:46	ubnt pptpd[17020]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Jun 2 07:17:46	ubnt pptpd[17020]: CTRL: Couldn't write packet to client.
Jun 2 07:17:46	ubnt pptpd[17020]: CTRL: Couldn't write packet to client.
Jun 2 07:17:45	ubnt pppd[17023]: MPPE required but peer negotiation failed
Jun 2 07:17:39	ubnt pppd[17023]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:17:39	ubnt zebra[493]: interface ppp0 index 89 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:17:39	ubnt pppd[17023]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:17:38	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=45492 DF PROTO=TCP SPT=65175 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:16:32	ubnt pppd[16982]: peer refused to authenticate: terminating link
Jun 2 07:16:32	ubnt pptpd[16981]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:16:32	ubnt pptpd[16981]: CTRL: couldn't read packet header (exit)
Jun 2 07:16:32	ubnt pptpd[16981]: CTRL: CTRL read failed
Jun 2 07:16:32	ubnt pppd[16982]: Modem hangup
Jun 2 07:16:32	ubnt pppd[16982]: Connection terminated: no multilink.
Jun 2 07:16:32	ubnt zebra[493]: interface ppp0 index 88 deleted.
Jun 2 07:16:32	ubnt pptpd[16981]: CTRL: Couldn't write packet to client.
Jun 2 07:16:32	ubnt pptpd[16981]: CTRL: Couldn't write packet to client.
Jun 2 07:16:28	ubnt pppd[16982]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:16:28	ubnt zebra[493]: interface ppp0 index 88 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:16:28	ubnt pppd[16982]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:16:27	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=28056 DF PROTO=TCP SPT=12532 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:16:14	ubnt pppd[16964]: MPPE 128-bit stateless compression enabled
Jun 2 07:16:14	ubnt pppd[16964]: MPPE disabled
Jun 2 07:16:14	ubnt pppd[16964]: Connection terminated: no multilink.
Jun 2 07:16:14	ubnt zebra[493]: interface ppp0 index 87 deleted.
Jun 2 07:16:14	ubnt pptpd[16963]: GRE: read(fd=6,buffer=4215fc,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Jun 2 07:16:14	ubnt pptpd[16963]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Jun 2 07:16:14	ubnt pptpd[16963]: CTRL: Couldn't write packet to client.
Jun 2 07:16:14	ubnt pptpd[16963]: CTRL: Couldn't write packet to client.
Jun 2 07:16:04	ubnt pppd[16964]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:16:04	ubnt zebra[493]: interface ppp0 index 87 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:16:04	ubnt pppd[16964]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:16:03	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=20606 DF PROTO=TCP SPT=51412 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:12:22	ubnt pppd[16884]: peer refused to authenticate: terminating link
Jun 2 07:12:22	ubnt pptpd[16883]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:12:22	ubnt pptpd[16883]: CTRL: couldn't read packet header (exit)
Jun 2 07:12:22	ubnt pptpd[16883]: CTRL: CTRL read failed
Jun 2 07:12:22	ubnt pppd[16884]: Modem hangup
Jun 2 07:12:22	ubnt pppd[16884]: Connection terminated: no multilink.
Jun 2 07:12:22	ubnt zebra[493]: interface ppp0 index 86 deleted.
Jun 2 07:12:22	ubnt pptpd[16883]: CTRL: Couldn't write packet to client.
Jun 2 07:12:22	ubnt pptpd[16883]: CTRL: Couldn't write packet to client.
Jun 2 07:12:18	ubnt pppd[16884]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:12:18	ubnt zebra[493]: interface ppp0 index 86 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:12:18	ubnt pppd[16884]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:12:17	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=55220 DF PROTO=TCP SPT=27631 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:06:41	ubnt pppd[16772]: peer refused to authenticate: terminating link
Jun 2 07:06:41	ubnt pptpd[16771]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:06:41	ubnt pptpd[16771]: CTRL: couldn't read packet header (exit)
Jun 2 07:06:41	ubnt pptpd[16771]: CTRL: CTRL read failed
Jun 2 07:06:41	ubnt pppd[16772]: Modem hangup
Jun 2 07:06:41	ubnt pppd[16772]: Connection terminated: no multilink.
Jun 2 07:06:41	ubnt zebra[493]: interface ppp0 index 85 deleted.
Jun 2 07:06:41	ubnt pptpd[16771]: CTRL: Couldn't write packet to client.
Jun 2 07:06:41	ubnt pptpd[16771]: CTRL: Couldn't write packet to client.
Jun 2 07:06:37	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=45455 DF PROTO=TCP SPT=9886 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:06:37	ubnt pppd[16772]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:06:37	ubnt zebra[493]: interface ppp0 index 85 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:06:37	ubnt pppd[16772]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:04:04	ubnt pppd[16717]: peer refused to authenticate: terminating link
Jun 2 07:04:04	ubnt pptpd[16716]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:04:04	ubnt pptpd[16716]: CTRL: couldn't read packet header (exit)
Jun 2 07:04:04	ubnt pptpd[16716]: CTRL: CTRL read failed
Jun 2 07:04:04	ubnt pppd[16717]: Modem hangup
Jun 2 07:04:04	ubnt pppd[16717]: Connection terminated: no multilink.
Jun 2 07:04:04	ubnt zebra[493]: interface ppp0 index 84 deleted.
Jun 2 07:04:04	ubnt pptpd[16716]: CTRL: Couldn't write packet to client.
Jun 2 07:04:04	ubnt pptpd[16716]: CTRL: Couldn't write packet to client.
Jun 2 07:04:01	ubnt pppd[16717]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:04:01	ubnt zebra[493]: interface ppp0 index 84 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:04:01	ubnt pppd[16717]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:04:00	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=20122 DF PROTO=TCP SPT=8715 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:03:02	ubnt pptpd[16687]: CTRL: Couldn't write packet to client.
Jun 2 07:03:02	ubnt pptpd[16687]: CTRL: Couldn't write packet to client.
Jun 2 07:03:01	ubnt pptpd[16687]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:03:01	ubnt pptpd[16687]: CTRL: couldn't read packet header (exit)
Jun 2 07:03:01	ubnt pptpd[16687]: CTRL: CTRL read failed
Jun 2 07:03:01	ubnt pppd[16688]: Modem hangup
Jun 2 07:03:01	ubnt pppd[16688]: Connection terminated: no multilink.
Jun 2 07:03:01	ubnt zebra[493]: interface ppp0 index 83 deleted.
Jun 2 07:02:58	ubnt pppd[16688]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:02:58	ubnt zebra[493]: interface ppp0 index 83 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:02:58	ubnt pppd[16688]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:02:57	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=15480 DF PROTO=TCP SPT=44982 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 07:02:36	ubnt pppd[16668]: peer refused to authenticate: terminating link
Jun 2 07:02:36	ubnt pptpd[16667]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 07:02:36	ubnt pptpd[16667]: CTRL: couldn't read packet header (exit)
Jun 2 07:02:36	ubnt pptpd[16667]: CTRL: CTRL read failed
Jun 2 07:02:36	ubnt pppd[16668]: Modem hangup
Jun 2 07:02:36	ubnt pppd[16668]: Connection terminated: no multilink.
Jun 2 07:02:36	ubnt zebra[493]: interface ppp0 index 82 deleted.
Jun 2 07:02:36	ubnt pptpd[16667]: CTRL: Couldn't write packet to client.
Jun 2 07:02:36	ubnt pptpd[16667]: CTRL: Couldn't write packet to client.
Jun 2 07:02:32	ubnt pppd[16668]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 07:02:32	ubnt zebra[493]: interface ppp0 index 82 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 07:02:32	ubnt pppd[16668]: Connect: ppp0 <--> /dev/pts/0
Jun 2 07:02:31	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=8097 DF PROTO=TCP SPT=29579 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 06:59:21	ubnt pptpd[16598]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 06:59:21	ubnt pptpd[16598]: CTRL: couldn't read packet header (exit)
Jun 2 06:59:21	ubnt pptpd[16598]: CTRL: CTRL read failed
Jun 2 06:59:21	ubnt pppd[16600]: Modem hangup
Jun 2 06:59:21	ubnt pppd[16600]: Connection terminated: no multilink.
Jun 2 06:59:21	ubnt zebra[493]: interface ppp0 index 81 deleted.
Jun 2 06:59:21	ubnt pptpd[16598]: CTRL: Couldn't write packet to client.
Jun 2 06:59:21	ubnt pptpd[16598]: CTRL: Couldn't write packet to client.
Jun 2 06:59:20	ubnt pppd[16600]: peer refused to authenticate: terminating link
Jun 2 06:59:17	ubnt pppd[16600]: pppd 2.4.4 started by ubnt, uid 0
Jun 2 06:59:17	ubnt zebra[493]: interface ppp0 index 81 <POINTOPOINT,NOARP,MULTICAST> added.
Jun 2 06:59:17	ubnt pppd[16600]: Connect: ppp0 <--> /dev/pts/0
Jun 2 06:59:13	ubnt kernel: [WAN_LOCAL-2-A]IN=eth0 OUT= MAC=04:18:d6:31:47:f6:00:0c:42:12:d5:c0:08:00 src=166.171.251.31 DST=192.168.100.2 LEN=64 TOS=0x00 PREC=0x00 TTL=49 ID=4012 DF PROTO=TCP SPT=26116 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
Jun 2 06:58:38	ubnt pppd[16576]: peer refused to authenticate: terminating link
Jun 2 06:58:38	ubnt pptpd[16575]: CTRL: EOF or bad error reading ctrl packet length.
Jun 2 06:58:38	ubnt pptpd[16575]: CTRL: couldn't read packet header (exit)

 

Reply