I'm trying to have a play with ptunnel, I have it running (listening) on my raspberry pi in my DMZ and I can connect to it from my LAN and tunnel ssh over it, but I can't get it to work over my LAN.
I have tried connecting from work and also from my laptop using using my phone as a 3G modem, but am having no luck. I'm running both server and client with verbosity level 4.
I know that my machine in the DMZ is able to receive and respond to ICMP echo because when it is running I can ping it from work and when using my phone as a 3G modem and I know ptunnel is receiving the ping request because it outputs the following line to stdout:
[vbs]: Ignored incoming packet.
When I try to connect over the WAN, I get the following messages from ptunnel:
Client:
[inf]: Incoming connection.
[evt]: No running proxy thread - starting it.
[dbg]: Adding proxy desc to run loop. Type is user. Will create socket: No
[dbg]: Starting ping proxy..
[dbg]: Attempting to create privileged ICMP raw socket..
[inf]: Ping proxy is listening in privileged mode.
[vbs]: Sending proxy request.
[dbg]: Resending packet with seq-no 0.
(last message repeats over and over...)
Server:
[inf]: Incoming tunnel request from PUBLIC_IP_REMOVED.
[inf]: Starting new session to 127.0.0.1:22 with ID 49653
[dbg]: Adding proxy desc to run loop. Type is proxy. Will create socket: Yes
[dbg]: Received ack-series starting at seq 65535
[err]: Dropping duplicate proxy session request.
[dbg]: Received ack-series starting at seq 65535
[dbg]: Resending packet with seq-no 0.
(last 3 messages repeated over and over...)
Any ideas why? Is my router not putting my machine properly in the DMZ?