[Desire HD Android Development] elbermu:
Tried both, but not working...

The same in logcat and in vpn servers.

here is some log from 1 firewall (only pptp)

03/23/12 17:52 kernel: pptp0: daemon attached.

03/23/12 17:52 pptpd[185]: Connect: pptp0 [0] <--> XX.XX.XX.XX

03/23/12 17:52 tunneld[147]: process_rfds: received bad packet from XX.XX.XX.XX

03/23/12 17:52 pptpd[185]: Terminating on signal 2.

03/23/12 17:52 pptpd[185]: Connection terminated.

03/23/12 17:52 pptpd[185]: Persist flag not set, so we are exiting.

03/23/12 17:52 kernel: pptp0: pptp_sock_close

Other Firewall (PPTP, L2TP)

PPTP:

pppd 2.4.4 started by root, uid 0

interface ppp0 index 6 <POINTOPOINT,NOARP,MULTICAST> added.

Connect: ppp0 <--> /dev/pts/1

CTRL: EOF or bad error reading ctrl packet length.

CTRL: couldn't read packet header (exit)

CTRL: CTRL read failed

Modem hangup

Connection terminated: no multilink.

interface ppp0 index 6 deleted.

interface delete ppp0 index 6 flags 0x1090 metric 1 mtu 1500

interface delete ppp0 index 6 flags 0x1090 metric 1 mtu 1500

L2TP:

Mar 23 18:17:09 vyatta pluto[2426]: packet from XX.XX.XX.XX:500: received Vendor ID payload [RFC 3947]

Mar 23 18:17:09 vyatta pluto[2426]: packet from XX.XX.XX.XX:500: ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02]

Mar 23 18:17:09 vyatta pluto[2426]: packet from XX.XX.XX.XX:500: ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02_n]

Mar 23 18:17:09 vyatta pluto[2426]: packet from XX.XX.XX.XX:500: ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-00]

Mar 23 18:17:09 vyatta pluto[2426]: packet from XX.XX.XX.XX:500: ignoring Vendor ID payload [FRAGMENTATION 80000000]

Mar 23 18:17:09 vyatta pluto[2426]: packet from XX.XX.XX.XX:500: received Vendor ID payload [Dead Peer Detection]

Mar 23 18:17:09 vyatta pluto[2426]: "remote-access-mac-zzz"[3] XX.XX.XX.XX #2: responding to Main Mode from unknown peer XX.XX.XX.XX

Mar 23 18:17:10 vyatta pluto[2426]: "remote-access-mac-zzz"[3] XX.XX.XX.XX #2: NAT-Traversal: Result using RFC 3947: peer is NATed

Mar 23 18:17:10 vyatta pluto[2426]: "remote-access-mac-zzz"[3] XX.XX.XX.XX #2: Peer ID is ID_DER_ASN1_DN: -----------------------------------------------------

Mar 23 18:17:10 vyatta pluto[2426]: "remote-access-mac-zzz"[3] XX.XX.XX.XX #2: crl not found

Mar 23 18:17:10 vyatta pluto[2426]: "remote-access-mac-zzz"[3] XX.XX.XX.XX #2: certificate status unknown

Mar 23 18:17:10 vyatta pluto[2426]: "remote-access-mac-zzz"[4] XX.XX.XX.XX #2: deleting connection "remote-access-mac-zzz" instance with peer XX.XX.XX.XX

{isakmp=#0/ipsec=#0}

Mar 23 18:17:10 vyatta pluto[2426]: "remote-access-mac-zzz"[4] XX.XX.XX.XX #2: we have a cert and are sending it upon request

Mar 23 18:17:10 vyatta pluto[2426]: "remote-access-mac-zzz"[4] XX.XX.XX.XX:4500 #2: sent MR3, ISAKMP SA established

Mar 23 18:17:10 vyatta pluto[2426]: "remote-access-mac-zzz"[4] XX.XX.XX.XX:4500 #2: byte 2 of ISAKMP Hash Payload must be zero, but is not

Mar 23 18:17:10 vyatta pluto[2426]: "remote-access-mac-zzz"[4] XX.XX.XX.XX:4500 #2: malformed payload in packet

Mar 23 18:17:14 vyatta pluto[2426]: "remote-access-mac-zzz"[4] XX.XX.XX.XX:4500 #2: retransmitting in response to duplicate packet; already STATE_MAIN_R3

Mar 23 18:17:16 vyatta pluto[2426]: "remote-access-mac-zzz"[4] XX.XX.XX.XX:4500 #2: retransmitting in response to duplicate packet; already STATE_MAIN_R3

Mar 23 18:17:16 vyatta pluto[2426]: "remote-access-mac-zzz"[4] XX.XX.XX.XX:4500 #2: next payload type of ISAKMP Hash Payload has an unknown value: 159

Mar 23 18:17:16 vyatta pluto[2426]: "remote-access-mac-zzz"[4] XX.XX.XX.XX:4500 #2: malformed payload in packet

Mar 23 18:17:19 vyatta pluto[2426]: "remote-access-mac-zzz"[4] XX.XX.XX.XX:4500 #2: discarding duplicate packet -- exhausted retransmission; already STATE_

MAIN_R3

Mar 23 18:17:47 vyatta pluto[2426]: last message repeated 6 times

Mar 23 18:17:47 vyatta xl2tpd[2497]: Maximum retries exceeded for tunnel 24106. Closing.